This wrapper function for the actual external function call randomReal_ is required by SimulationX to force repeated function calls of Modelica_DeviceDrivers.Blocks.OperatingSystem.RandomRealSource in case of n > 1.
function randomReal import Modelica; extends Modelica.Icons.Function; input Real minValue = 0; input Real maxValue = 1; output Real y; end randomReal;