Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleGasTurbine") translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008676/0.0008679, allocations: 172.5 kB / 16.12 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205 MB / 221.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007426, allocations: 87.05 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6968/0.6968, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/1.943e-05, allocations: 2.5 kB / 484.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleGasTurbine): time 0.3692/0.3692, allocations: 192.6 MB / 0.6615 GB, free: 4.559 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.2939/0.6632, allocations: 28.58 MB / 0.6894 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.6646, allocations: 29.19 kB / 0.6895 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.6656, allocations: 375.5 kB / 0.6898 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.6675, allocations: 0.7402 MB / 0.6905 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.672, allocations: 1.837 MB / 0.6923 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.6734, allocations: 1.745 MB / 0.694 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 15.23/15.9, allocations: 9.548 GB / 10.24 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/15.9, allocations: 0.6458 MB / 10.24 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/15.9, allocations: 0.5342 MB / 10.24 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.195e-05/15.9, allocations: 48.91 kB / 10.24 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/15.9, allocations: 1.454 MB / 10.25 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006683/15.9, allocations: 0.8631 MB / 10.25 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.378e-06/15.9, allocations: 0 / 10.25 GB, free: 144.9 MB / 0.6511 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for volume.medium.state.T Notification: Performance of Bindings: time 0.001973/15.91, allocations: 2.852 MB / 10.25 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of simplify: time 0.000107/15.91, allocations: 160.4 kB / 10.25 GB, free: 144.1 MB / 0.6511 GB Error: Internal error NBVariable.getVarPointer failed for volume.medium.state.T, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.