Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001058/0.001059, allocations: 109.1 kB / 16.42 MB, free: 6.484 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.001032/0.001032, allocations: 187.2 kB / 17.35 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.096/1.096, 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 10.1.1-maint.10.0.x/package.mo): time 1.991/1.991, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.606e-05, allocations: 2.281 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.4433/0.4433, allocations: 113.9 MB / 1.13 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.4766, allocations: 29.54 MB / 1.159 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003726/0.4804, allocations: 134.8 kB / 1.159 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.4834, allocations: 1.342 MB / 1.161 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.4909, allocations: 3.549 MB / 1.164 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005397/0.4964, allocations: 2.583 MB / 1.167 GB, free: 5.25 MB / 0.8731 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 res.Medium.nXi. Result: res.Medium.nXi with leftover: {$i1}.