Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008877/0.0008878, allocations: 171 kB / 16.12 MB, free: 5.656 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.37/1.37, 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.000762/0.0007622, allocations: 89 kB / 269.9 MB, free: 8.672 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.6875/0.6875, allocations: 90.5 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/1.95e-05, allocations: 2.5 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.2238/0.2239, allocations: 40.94 MB / 0.5135 GB, free: 50.66 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005476/0.2294, allocations: 5.318 MB / 0.5187 GB, free: 48.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.23, allocations: 17.62 kB / 0.5187 GB, free: 48.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.2311, allocations: 470.9 kB / 0.5191 GB, free: 48.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.2336, allocations: 1.203 MB / 0.5203 GB, free: 48.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.2354, allocations: 0.7771 MB / 0.5211 GB, free: 47.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.2374, allocations: 2.597 MB / 0.5236 GB, free: 47.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.07824/0.3156, allocations: 153.2 MB / 0.6732 GB, free: 8.852 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.3187, allocations: 0.953 MB / 0.6741 GB, free: 7.895 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.3195, allocations: 0.7233 MB / 0.6748 GB, free: 7.168 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3196, allocations: 52 kB / 0.6749 GB, free: 7.117 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3224, allocations: 0.8151 MB / 0.6757 GB, free: 6.301 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.3235, allocations: 0.9323 MB / 0.6766 GB, free: 5.363 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.544e-06/0.3235, allocations: 3 kB / 0.6766 GB, free: 5.363 MB / 490.7 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir2.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir2.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.p Notification: Performance of Bindings: time 0.00292/0.3265, allocations: 2.797 MB / 0.6793 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simplify: time 0.0002031/0.3267, allocations: 199.7 kB / 0.6795 GB, free: 2.328 MB / 490.7 MB Error: Internal error NBVariable.getVarPointer failed for reservoir.medium.state.p, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.