Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 114.5 kB / 17.14 MB, free: 5.938 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.001229/0.001229, allocations: 193.9 kB / 18.07 MB, free: 5.016 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.273/1.273, 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.05439/0.05439, allocations: 12.05 MB / 304 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.625e-05, allocations: 5.375 kB / 420.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.003002/0.003026, allocations: 2.928 MB / 423.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004452, allocations: 1.203 MB / 424.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004581, allocations: 7.938 kB / 424.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.00482, allocations: 83.2 kB / 424.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.005039, allocations: 59.45 kB / 425 MB, free: 12.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.005612, allocations: 295.2 kB / 425.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.005965, allocations: 478.7 kB / 425.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.006236, allocations: 252.3 kB / 426 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.006384, allocations: 203.3 kB / 426.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.006558, allocations: 238.9 kB / 426.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.006611, allocations: 44 kB / 426.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.006819, allocations: 195.8 kB / 426.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002444/0.00707, allocations: 0.6949 MB / 427.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000128/0.007204, allocations: 477 kB / 427.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.007265, allocations: 67.75 kB / 427.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.871e-05/0.007329, allocations: 39.67 kB / 427.9 MB, free: 9.988 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (uDPReceive.pkgOut.dummy, uDPReceive.nRecvBytes, uDPReceive.nRecvbufOverwrites) := Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP(uDPReceive.socket, uDPReceive.pkgOut.pkg, time)