Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Validation.Routing.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.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMul.ports_a.1..m_flow|mulMul.ports_b.1..m_flow|mulMul.m_flow_nominal|mulMulCom.ports_a.1..m_flow|mulMulCom.ports_b.1..m_flow|mulMulCom.m_flow_nominal|mulSin.ports_a.1..m_flow|mulSin.port_b.m_flow|mulSin.m_flow_nominal|sinMul.port_a.m_flow|sinMul.ports_b.1..m_flow|sinMul.m_flow_nominal|pas.port_a.m_flow",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMul.ports_a.1..m_flow|mulMul.ports_b.1..m_flow|mulMul.m_flow_nominal|mulMulCom.ports_a.1..m_flow|mulMulCom.ports_b.1..m_flow|mulMulCom.m_flow_nominal|mulSin.ports_a.1..m_flow|mulSin.port_b.m_flow|mulSin.m_flow_nominal|sinMul.port_a.m_flow|sinMul.ports_b.1..m_flow|sinMul.m_flow_nominal|pas.port_a.m_flow",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.Routing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 116.4 kB / 16.43 MB, free: 6.477 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.001118/0.001118, allocations: 185.5 kB / 17.36 MB, free: 5.703 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.167/1.167, allocations: 222.9 MB / 241 MB, free: 15.09 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.245/2.245, allocations: 469.8 MB / 0.7431 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.639e-05, allocations: 4.109 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.4931/0.4931, allocations: 113.9 MB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03477/0.5279, allocations: 29.56 MB / 1.206 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004458/0.5324, allocations: 134.2 kB / 1.206 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.5356, allocations: 1.362 MB / 1.207 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008643/0.5442, allocations: 3.552 MB / 1.211 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005943/0.5502, allocations: 2.575 MB / 1.213 GB, free: 12.52 MB / 0.9356 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 res.Medium.nXi. Result: res.Medium.nXi with leftover: {$i1}.