Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 113.3 kB / 17.14 MB, free: 5.934 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.001195/0.001195, allocations: 193.4 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.274/1.274, allocations: 222.9 MB / 241.8 MB, free: 15.05 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.05714/0.05714, allocations: 12.03 MB / 304 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.237e-05, allocations: 5.375 kB / 420.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.002894/0.002925, allocations: 2.628 MB / 423.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004109, allocations: 0.919 MB / 424.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004221, allocations: 7.938 kB / 424.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.004462, allocations: 55.42 kB / 424.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.004727, allocations: 75.44 kB / 424.4 MB, free: 13.54 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: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/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:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/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: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:52:7-61:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:119:7-128:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.005257, allocations: 255.3 kB / 424.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.005579, allocations: 391.1 kB / 425 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.005858, allocations: 235.4 kB / 425.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.006013, allocations: 179.4 kB / 425.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.006198, allocations: 211.1 kB / 425.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.006248, allocations: 40 kB / 425.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.006496, allocations: 195.8 kB / 425.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002447/0.006748, allocations: 0.5715 MB / 426.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001239/0.006878, allocations: 386.4 kB / 426.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.006938, allocations: 63.75 kB / 426.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.702e-05/0.007, allocations: 39.61 kB / 426.9 MB, free: 10.99 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (unpackInt.y, unpackInt.dummy) := Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack(unpackInt.pkgIn.pkg, unpackInt.bitOffset, unpackInt.width, unpackInt.pkgIn.dummy)