Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 105.9 kB / 17.13 MB, free: 6.055 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.001365/0.001365, allocations: 193.4 kB / 18.07 MB, free: 5.129 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.397/1.397, allocations: 222.9 MB / 241.8 MB, free: 15.09 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.05849/0.05849, allocations: 12.04 MB / 304 MB, free: 3.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.374e-05, allocations: 5.375 kB / 420.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003355/0.003386, allocations: 3.036 MB / 423.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.004714, allocations: 0.9729 MB / 424.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.004844, allocations: 11.88 kB / 424.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.005042, allocations: 95.06 kB / 424.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.005221, allocations: 63.41 kB / 424.9 MB, free: 13.08 MB / 302.1 MB [/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: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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.005798, allocations: 327.2 kB / 425.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.006159, allocations: 0.5572 MB / 425.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.006445, allocations: 310.2 kB / 426.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.006595, allocations: 247.1 kB / 426.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.006777, allocations: 290.8 kB / 426.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.006841, allocations: 56 kB / 426.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.007062, allocations: 199.9 kB / 426.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003327/0.007402, allocations: 0.8532 MB / 427.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001842/0.007592, allocations: 0.5505 MB / 428.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.007659, allocations: 87.69 kB / 428.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.963e-05/0.007745, allocations: 55.48 kB / 428.4 MB, free: 9.555 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)