Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001015/0.001015, allocations: 111.8 kB / 16.43 MB, free: 6.496 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.001061/0.001061, allocations: 183.8 kB / 17.35 MB, free: 5.754 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.12/1.12, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.151/2.151, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.787e-05, allocations: 2.281 kB / 1.055 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution2PipeExample): time 1.62/1.62, allocations: 0.9706 GB / 2.025 GB, free: 9.961 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.7897/2.41, allocations: 157.8 MB / 2.179 GB, free: 36.57 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01994/2.43, allocations: 0.6103 MB / 2.18 GB, free: 36.57 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.02086/2.451, allocations: 9.264 MB / 2.189 GB, free: 36.51 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.04779/2.498, allocations: 23.44 MB / 2.212 GB, free: 35.6 MB / 1.467 GB Notification: Performance of NFTyping.typeClassSections: time 0.0267/2.525, allocations: 15.36 MB / 2.227 GB, free: 35.2 MB / 1.467 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}.