Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Examples.Distribution2PipeExample.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Examples.Distribution2PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Examples.Distribution2PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 111 kB / 16.42 MB, free: 6.527 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.001068/0.001068, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.145/1.145, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.205/2.205, allocations: 469.8 MB / 0.7431 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.427e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution2PipeExample): time 1.605/1.605, allocations: 0.9706 GB / 2.036 GB, free: 7.105 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 0.8072/2.412, allocations: 157.9 MB / 2.191 GB, free: 43.17 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02139/2.433, allocations: 0.6109 MB / 2.191 GB, free: 43.17 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.02101/2.454, allocations: 9.576 MB / 2.201 GB, free: 43.09 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.04977/2.504, allocations: 24.6 MB / 2.225 GB, free: 42.18 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02838/2.533, allocations: 15.42 MB / 2.24 GB, free: 41.79 MB / 1.482 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:594:7-597:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto terAutoSize.resLoa.Medium.nXi. Result: terAutoSize.resLoa.Medium.nXi with leftover: {$i1}.