Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 105.8 kB / 17.14 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 193.4 kB / 18.08 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05341/0.05341, allocations: 12.05 MB / 304 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.556e-05, allocations: 9.312 kB / 420.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002814/0.002848, allocations: 2.231 MB / 422.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.003125, allocations: 147.4 kB / 423.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.003212, allocations: 7.938 kB / 423.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.003371, allocations: 11.88 kB / 423.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.003477, allocations: 19.91 kB / 423.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.003703, allocations: 47.83 kB / 423.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.003876, allocations: 79.77 kB / 423.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004002, allocations: 31.95 kB / 423.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.004054, allocations: 23.86 kB / 423.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.004119, allocations: 31.86 kB / 423.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.004148, allocations: 4 kB / 423.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.004225, allocations: 27.98 kB / 423.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.027e-05/0.004301, allocations: 106.8 kB / 423.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.781e-05/0.004333, allocations: 74.88 kB / 423.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.00437, allocations: 15.94 kB / 423.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.328e-05/0.004398, allocations: 7.922 kB / 423.5 MB, free: 14.39 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for for i in 1:1 loop randomRealSource.y[i] = Modelica_DeviceDrivers.OperatingSystem.randomReal(randomRealSource.minValue[i], randomRealSource.maxValue[i]); end for