Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|TVol.T|TSwi.y|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|TVol.T|TSwi.y|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 109 kB / 16.42 MB, free: 6.512 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.001058/0.001058, allocations: 185.5 kB / 17.35 MB, free: 5.723 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.156/2.156, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.655e-05, allocations: 6.219 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.6088/0.6088, allocations: 273.6 MB / 1.322 GB, free: 4.938 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04269/0.6516, allocations: 36.25 MB / 1.357 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.6563, allocations: 159.1 kB / 1.357 GB, free: 444 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006386/0.6627, allocations: 2.832 MB / 1.36 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.6754, allocations: 5.924 MB / 1.366 GB, free: 7.652 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008726/0.6841, allocations: 4.489 MB / 1.37 GB, free: 3.199 MB / 1.076 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 tow.cooTowSys.cooTow.per.Medium.p_default. Result: tow.cooTowSys.cooTow.per.Medium.p_default with leftover: {$i1}.