Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 110.8 kB / 17.09 MB, free: 5.988 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.001149/0.001149, allocations: 192.7 kB / 18.03 MB, free: 5.066 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.208/1.208, allocations: 222.9 MB / 241.7 MB, free: 15.16 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.05153/0.05153, allocations: 12.06 MB / 303.9 MB, free: 3.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.193e-05, allocations: 2.281 kB / 367.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.003801/0.003838, allocations: 2.77 MB / 370.6 MB, free: 336 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1194/0.1233, allocations: 0.8608 MB / 371.5 MB, free: 51.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1235, allocations: 11.25 kB / 371.5 MB, free: 51.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1237, allocations: 74.44 kB / 371.6 MB, free: 51.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1239, allocations: 45.3 kB / 371.6 MB, free: 51.24 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:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.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/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.0005638/0.1245, allocations: 275.5 kB / 371.9 MB, free: 51.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1248, allocations: 424.6 kB / 372.3 MB, free: 51.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.1251, allocations: 234.6 kB / 372.5 MB, free: 51.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1253, allocations: 181.6 kB / 372.7 MB, free: 51.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1255, allocations: 210.9 kB / 372.9 MB, free: 51.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.1255, allocations: 39.66 kB / 373 MB, free: 51.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1257, allocations: 181.7 kB / 373.1 MB, free: 51.12 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002811/0.126, allocations: 0.6247 MB / 373.8 MB, free: 50.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001444/0.1262, allocations: 418.2 kB / 374.2 MB, free: 50.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1262, allocations: 71.34 kB / 374.3 MB, free: 50.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.47e-05/0.1263, allocations: 32.19 kB / 374.3 MB, free: 50.47 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if tcpipClient.isConnected then tcpipClient.pkgOut.dummy = Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer(tcpipClient.socket, tcpipClient.pkgOut.pkg, tcpipClient.inputBufferSize, Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer(tcpipClient.socket, tcpipClient.pkgIn.pkg, tcpipClient.outputBufferSize, tcpipClient.pkgIn.dummy)); elseif true then tcpipClient.pkgOut.dummy = tcpipClient.pkgIn.dummy; end if