Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001168, allocations: 114.7 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.001135/0.001135, 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.254/1.254, 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.05299/0.05299, allocations: 12.05 MB / 304 MB, free: 3.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.236e-05, allocations: 5.375 kB / 420.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.002844/0.002874, allocations: 2.647 MB / 423.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.003804, allocations: 0.6851 MB / 424 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.003904, allocations: 7.938 kB / 424 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.004128, allocations: 63.3 kB / 424.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.004288, allocations: 51.53 kB / 424.1 MB, free: 13.69 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.004748, allocations: 231.5 kB / 424.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.005102, allocations: 395 kB / 424.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.005405, allocations: 240.2 kB / 425 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.005544, allocations: 187.4 kB / 425.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.005727, allocations: 203.1 kB / 425.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.005784, allocations: 40 kB / 425.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.005942, allocations: 127.9 kB / 425.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002474/0.006196, allocations: 0.5831 MB / 426.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000124/0.006326, allocations: 402.2 kB / 426.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.006382, allocations: 63.73 kB / 426.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.596e-05/0.006433, allocations: 31.69 kB / 426.6 MB, free: 11.21 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)