Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Cooling.ElectricChillersDirectETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiETS.1..bui.loa.y.1.|dis.mCon_flow.1.|pla.senMasFlo.m_flow|pla.senTCHWSup.T|buiETS.2..ets.senTBuiSup.T|buiETS.2..ets.senTBuiRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS") translateModel(Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiETS.1..bui.loa.y.1.|dis.mCon_flow.1.|pla.senMasFlo.m_flow|pla.senTCHWSup.T|buiETS.2..ets.senTBuiSup.T|buiETS.2..ets.senTBuiRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.00105/0.00105, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.131/1.131, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.212/2.212, allocations: 472.6 MB / 0.7459 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.046e-05, allocations: 2.281 kB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Examples.Cooling.ElectricChillersDirectETS): time 2.675/2.675, allocations: 1.581 GB / 2.651 GB, free: 11.74 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 1.131/3.806, allocations: 301.1 MB / 2.945 GB, free: 33.61 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0473/3.853, allocations: 1.316 MB / 2.947 GB, free: 33.61 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 0.03049/3.883, allocations: 13.56 MB / 2.96 GB, free: 33.41 MB / 1.732 GB Notification: Performance of NFTyping.typeBindings: time 0.07285/3.956, allocations: 34.64 MB / 2.994 GB, free: 32.17 MB / 1.732 GB Notification: Performance of NFTyping.typeClassSections: time 0.04248/3.999, allocations: 23.83 MB / 3.017 GB, free: 31.63 MB / 1.732 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 pla.mulChiSys.val2.Medium.nXi. Result: pla.mulChiSys.val2.Medium.nXi with leftover: {$i1}.