Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.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_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 114.3 kB / 17.15 MB, free: 5.918 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.001392/0.001392, allocations: 197.2 kB / 18.08 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.306/1.306, allocations: 222.9 MB / 241.8 MB, free: 15.07 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.05349/0.05349, allocations: 12.05 MB / 304 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.758e-05, allocations: 2.281 kB / 420.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.00289/0.002916, allocations: 2.71 MB / 423.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.003853, allocations: 0.716 MB / 424.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.003946, allocations: 4 kB / 424.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.004167, allocations: 71.33 kB / 424.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.004313, allocations: 47.59 kB / 424.2 MB, free: 13.68 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/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:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/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/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.004761, allocations: 203.5 kB / 424.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.005069, allocations: 347.1 kB / 424.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.005315, allocations: 192.8 kB / 425 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005436, allocations: 147.5 kB / 425.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.005585, allocations: 167.2 kB / 425.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.005634, allocations: 32 kB / 425.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.005805, allocations: 151.9 kB / 425.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002155/0.006027, allocations: 0.5173 MB / 426 MB, free: 11.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001025/0.006136, allocations: 350.8 kB / 426.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.006187, allocations: 51.81 kB / 426.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.503e-05/0.006237, allocations: 27.81 kB / 426.4 MB, free: 11.51 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (getReal.y, getReal.dummy) := Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal(getReal.pkgIn.pkg, 3, getReal.pkgIn.dummy, getReal.byteOrder)