Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize.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.Blocks.Examples.TestRealtimeSynchronize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009326, allocations: 114.5 kB / 17.15 MB, free: 5.906 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.0009404/0.0009405, allocations: 189.3 kB / 18.07 MB, free: 4.988 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.219/1.219, 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.05405/0.05405, allocations: 12.05 MB / 304 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.569e-05, allocations: 2.281 kB / 420.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize): time 0.002729/0.002754, allocations: 2.742 MB / 423.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006721/0.003437, allocations: 0.6583 MB / 424.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.00353, allocations: 7.938 kB / 424.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.003729, allocations: 51.58 kB / 424.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.003823, allocations: 27.78 kB / 424.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.004086, allocations: 119.7 kB / 424.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.004269, allocations: 219.9 kB / 424.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.004427, allocations: 93.86 kB / 424.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.004494, allocations: 75.64 kB / 424.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.004577, allocations: 79.61 kB / 424.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.004613, allocations: 16 kB / 424.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.004711, allocations: 35.94 kB / 424.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001185/0.004836, allocations: 268.7 kB / 425.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.53e-05/0.004887, allocations: 169.4 kB / 425.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.004921, allocations: 27.88 kB / 425.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.542e-05/0.004951, allocations: 11.88 kB / 425.3 MB, free: 12.64 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (realtimeSynchronize.rtSync_Sampled.wallClockTime, realtimeSynchronize.rtSync_Sampled.remainingTime, realtimeSynchronize.rtSync_Sampled.computingTime, realtimeSynchronize.rtSync_Sampled.lastSimTime) := Modelica_DeviceDrivers.OperatingSystem.rtSyncSynchronize(realtimeSynchronize.rtSync_Sampled.rtSync, realtimeSynchronize.rtSync_Sampled.simTime, realtimeSynchronize.rtSync_Sampled.scaling)