Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Experimental.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|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.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|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.932/1.932, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 101.1 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.594e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.707/3.969, allocations: 2.256 GB / 3.461 GB, free: 48.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/3.969, allocations: 111.3 kB / 3.461 GB, free: 48.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.816/8.785, allocations: 1.621 GB / 5.082 GB, free: 119.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0009146/8.786, allocations: 132.7 kB / 5.083 GB, free: 119.5 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 876 * Number of variables: 876 Notification: Performance of Generate backend data structure: time 0.01648/8.803, allocations: 5.067 MB / 5.088 GB, free: 117.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/8.803, allocations: 7.812 kB / 5.088 GB, free: 117.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/8.81, allocations: 1.168 MB / 5.089 GB, free: 116.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01816/8.828, allocations: 6.743 MB / 5.095 GB, free: 116 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/8.828, allocations: 112.2 kB / 5.095 GB, free: 116 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/8.829, allocations: 210.7 kB / 5.096 GB, free: 116 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008861/8.838, allocations: 4.475 MB / 5.1 GB, free: 116 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/8.846, allocations: 4.092 MB / 5.104 GB, free: 115.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/8.846, allocations: 7.031 kB / 5.104 GB, free: 115.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003994/8.847, allocations: 11.08 kB / 5.104 GB, free: 115.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/8.847, allocations: 140.2 kB / 5.104 GB, free: 115.6 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/8.879, allocations: 19.74 MB / 5.123 GB, free: 109.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005643/8.885, allocations: 3.791 MB / 5.127 GB, free: 109 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/8.888, allocations: 1.772 MB / 5.129 GB, free: 108.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/8.906, allocations: 9.52 MB / 5.138 GB, free: 102.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003334/8.909, allocations: 1.955 MB / 5.14 GB, free: 101.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=268): time 6.042e-06/8.909, allocations: 0 / 5.14 GB, free: 101.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=268): time 0.08701/8.996, allocations: 16.38 MB / 5.156 GB, free: 99.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/8.996, allocations: 317.9 kB / 5.156 GB, free: 98.85 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007594/9.004, allocations: 4.145 MB / 5.16 GB, free: 97.27 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/9.005, allocations: 37.42 kB / 5.16 GB, free: 97.23 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/9.007, allocations: 1.33 MB / 5.162 GB, free: 96.35 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/9.009, allocations: 0.8709 MB / 5.163 GB, free: 95.66 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/9.009, allocations: 0 / 5.163 GB, free: 95.66 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002444/9.009, allocations: 430.6 kB / 5.163 GB, free: 95.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/9.012, allocations: 1.644 MB / 5.165 GB, free: 94.63 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/9.016, allocations: 2.733 MB / 5.167 GB, free: 92.95 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1652/9.181, allocations: 32.81 MB / 5.199 GB, free: 73.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.482e-05/9.181, allocations: 4 kB / 5.199 GB, free: 73.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.1699/9.351, allocations: 36.15 MB / 5.235 GB, free: 37.41 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009597/9.352, allocations: 6.319 MB / 5.241 GB, free: 30.59 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/9.352, allocations: 15.31 kB / 5.241 GB, free: 30.57 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/9.354, allocations: 0.9 MB / 5.242 GB, free: 29.69 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/9.358, allocations: 0.7138 MB / 5.242 GB, free: 28.97 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.157/9.515, allocations: 36.31 MB / 5.278 GB, free: 8.379 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006191/9.521, allocations: 477 kB / 5.278 GB, free: 7.91 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009374/9.522, allocations: 159.9 kB / 5.278 GB, free: 7.754 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/9.522, allocations: 4 kB / 5.278 GB, free: 7.75 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6324/10.15, allocations: 35.53 MB / 5.313 GB, free: 275.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/10.15, allocations: 12.66 kB / 5.313 GB, free: 275.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/10.16, allocations: 0.9049 MB / 5.314 GB, free: 275.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/10.16, allocations: 0.686 MB / 5.315 GB, free: 275.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1586/10.32, allocations: 37.33 MB / 5.351 GB, free: 271.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006137/10.32, allocations: 432.5 kB / 5.352 GB, free: 271.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/10.33, allocations: 155.1 kB / 5.352 GB, free: 271.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.tow.hys.y,tow.hys.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (363): * Single equations (assignments): 356 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 6,1 6,1 1,1 1,3 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001008/10.33, allocations: 181.5 kB / 5.352 GB, free: 271.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/10.33, allocations: 440.3 kB / 5.352 GB, free: 271.1 MB / 1.214 GB Error: Too many equations, over-determined system. The model has 321 equation(s) and 319 variable(s). Warning: Equation 300 (size: 2) $cse10 = Buildings.Fluid.Sources.Boundary_pT$exp.Medium.setState_pTX(exp.p_in_internal, exp.T, {exp.X_in_internal[1]}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse14 Already solved: weaBus.cloTim Equations used to solve those variables: Equation 47 (size: 1): weaBus.cloTim = time Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07705/10.41, allocations: 15.22 MB / 5.367 GB, free: 270.6 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.