Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.hexReg.1..ele.1|1..vol1.T|hex.hexReg.1..ele.1|1..vol2.T|hex.hexReg.1..ele.1|2..vol1.T|hex.hexReg.1..ele.1|2..vol2.T|hex.hexReg.1..ele.1|1..Gc_1|hex.hexReg.1..ele.1|1..Gc_2|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.hexReg.1..ele.1|1..vol1.T|hex.hexReg.1..ele.1|1..vol2.T|hex.hexReg.1..ele.1|2..vol1.T|hex.hexReg.1..ele.1|2..vol2.T|hex.hexReg.1..ele.1|1..Gc_1|hex.hexReg.1..ele.1|1..Gc_2|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 116.4 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.001064/0.001064, allocations: 185.6 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.166/1.166, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.914/1.914, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.299e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl): time 0.6574/0.6574, allocations: 330.2 MB / 1.274 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.6861, allocations: 23.3 MB / 1.297 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.6911, allocations: 131.2 kB / 1.297 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.6954, allocations: 1.98 MB / 1.299 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.708, allocations: 5.228 MB / 1.304 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007774/0.7158, allocations: 3.357 MB / 1.307 GB, free: 3.52 MB / 0.9669 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, $i2} could not be fully merged onto hex.hexReg.ele.preDro2.Medium.nXi. Result: hex.hexReg.ele.preDro2.Medium.nXi with leftover: {$i1, $i2}.