Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,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_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,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_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111 kB / 16.42 MB, free: 6.527 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.001096/0.001096, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.164/1.164, allocations: 222.9 MB / 241 MB, free: 15.16 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 2.107/2.107, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.862e-05, allocations: 2.281 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl): time 0.8266/0.8266, allocations: 401.3 MB / 1.411 GB, free: 6.488 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03234/0.859, allocations: 24.37 MB / 1.435 GB, free: 14.06 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004975/0.864, allocations: 143.2 kB / 1.435 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00543/0.8695, allocations: 2.046 MB / 1.437 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.8829, allocations: 5.503 MB / 1.442 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.008307/0.8912, allocations: 3.587 MB / 1.446 GB, free: 2.777 MB / 1.139 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}.