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 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.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.000891/0.000891, allocations: 112.3 kB / 16.42 MB, free: 6.52 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.0008207/0.0008207, allocations: 187.2 kB / 17.36 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.109/1.109, 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 12.0.0-master/package.mo): time 2.209/2.209, allocations: 472.6 MB / 0.7459 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.135e-05, allocations: 2.281 kB / 1.07 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.6113/0.6113, allocations: 273.6 MB / 1.337 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04318/0.6545, allocations: 36.27 MB / 1.373 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/0.659, allocations: 163.1 kB / 1.373 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00632/0.6653, allocations: 2.881 MB / 1.376 GB, free: 8.527 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.6783, allocations: 6.159 MB / 1.382 GB, free: 2.355 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009324/0.6876, allocations: 4.489 MB / 1.386 GB, free: 13.91 MB / 1.107 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}.