Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.DHC.Networks.Examples.Distribution1PipeExample,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_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution1PipeExample,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_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.1 kB / 16.42 MB, free: 6.441 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.001009/0.001009, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.112/1.112, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.187/2.187, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.422e-05, allocations: 2.281 kB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution1PipeExample): time 1.615/1.615, allocations: 0.9514 GB / 2.021 GB, free: 3.004 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.8371/2.452, allocations: 154.1 MB / 2.172 GB, free: 32.89 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02069/2.473, allocations: 0.64 MB / 2.173 GB, free: 32.89 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.02026/2.493, allocations: 9.495 MB / 2.182 GB, free: 32.87 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.0519/2.545, allocations: 24.45 MB / 2.206 GB, free: 32.01 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02956/2.574, allocations: 15.5 MB / 2.221 GB, free: 31.62 MB / 1.482 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:584:7-587: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}.