Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.248/2.248, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 181.3 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 97.39 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.873e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6, allocations: 115.2 MB / 0.9628 GB, free: 75.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.977, allocations: 2.343 GB / 3.306 GB, free: 44.06 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/5.978, allocations: 92.8 kB / 3.306 GB, free: 44.02 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.052/12.03, allocations: 1.238 GB / 4.544 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008033/12.03, allocations: 88.09 kB / 4.544 GB, free: 101.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01348/12.04, allocations: 3.637 MB / 4.547 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/12.04, allocations: 14.47 kB / 4.547 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/12.05, allocations: 0.5438 MB / 4.548 GB, free: 99.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/12.06, allocations: 3.447 MB / 4.551 GB, free: 99.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/12.06, allocations: 67 kB / 4.551 GB, free: 99.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007631/12.06, allocations: 135.3 kB / 4.551 GB, free: 99.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006422/12.07, allocations: 1.832 MB / 4.553 GB, free: 99.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007483/12.08, allocations: 2.251 MB / 4.555 GB, free: 99.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/12.08, allocations: 6.219 kB / 4.555 GB, free: 99.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/12.08, allocations: 9.656 kB / 4.555 GB, free: 99.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.772e-05/12.08, allocations: 76.08 kB / 4.556 GB, free: 99.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/12.11, allocations: 10.95 MB / 4.566 GB, free: 95.12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/12.11, allocations: 1.446 MB / 4.568 GB, free: 95.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/12.12, allocations: 0.9675 MB / 4.569 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/12.12, allocations: 1.18 MB / 4.57 GB, free: 93.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/12.12, allocations: 49.31 kB / 4.57 GB, free: 93.72 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.9e-06/12.12, allocations: 6.031 kB / 4.57 GB, free: 93.72 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132): time 0.01687/12.13, allocations: 4.658 MB / 4.574 GB, free: 92.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/12.13, allocations: 343 kB / 4.575 GB, free: 92.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/12.14, allocations: 2.656 MB / 4.577 GB, free: 92.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005647/12.14, allocations: 32.89 kB / 4.577 GB, free: 92.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/12.14, allocations: 0.8877 MB / 4.578 GB, free: 91.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009121/12.14, allocations: 432 kB / 4.579 GB, free: 91.42 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/12.14, allocations: 5.688 kB / 4.579 GB, free: 91.42 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001391/12.14, allocations: 368.7 kB / 4.579 GB, free: 91.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/12.15, allocations: 1.029 MB / 4.58 GB, free: 91.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/12.15, allocations: 1.453 MB / 4.581 GB, free: 90.69 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/12.16, allocations: 3.786 MB / 4.585 GB, free: 90.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/12.16, allocations: 2.969 kB / 4.585 GB, free: 90.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008402/12.17, allocations: 2.792 MB / 4.588 GB, free: 89.94 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005587/12.17, allocations: 2.521 MB / 4.59 GB, free: 87.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/12.17, allocations: 9.938 kB / 4.59 GB, free: 87.26 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/12.17, allocations: 140.8 kB / 4.59 GB, free: 87.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/12.17, allocations: 262.3 kB / 4.591 GB, free: 87.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/12.18, allocations: 1.317 MB / 4.592 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/12.18, allocations: 177.4 kB / 4.592 GB, free: 86.19 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005407/12.18, allocations: 79.64 kB / 4.592 GB, free: 86.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/12.18, allocations: 6.375 kB / 4.592 GB, free: 86.19 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006642/12.19, allocations: 2.459 MB / 4.595 GB, free: 86.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/12.19, allocations: 6.688 kB / 4.595 GB, free: 86.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/12.19, allocations: 149.8 kB / 4.595 GB, free: 86.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/12.19, allocations: 257.1 kB / 4.595 GB, free: 86.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/12.19, allocations: 1.321 MB / 4.596 GB, free: 85.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/12.2, allocations: 162.1 kB / 4.596 GB, free: 85.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005414/12.2, allocations: 85.86 kB / 4.596 GB, free: 85.07 MB / 0.9636 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007408/12.2, allocations: 334.5 kB / 4.597 GB, free: 84.76 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/12.2, allocations: 296.8 kB / 4.597 GB, free: 84.61 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00665/12.21, allocations: 2.197 MB / 4.599 GB, free: 84.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/12.21, allocations: 12.53 kB / 4.599 GB, free: 84.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/12.21, allocations: 1.406 kB / 4.599 GB, free: 84.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005053/12.21, allocations: 1.98 MB / 4.601 GB, free: 84.22 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/12.23, allocations: 5.355 MB / 4.606 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/12.23, allocations: 6.281 kB / 4.606 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/12.23, allocations: 248.5 kB / 4.607 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.392e-05/12.23, allocations: 14.5 kB / 4.607 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/12.23, allocations: 30.69 kB / 4.607 GB, free: 83.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/12.23, allocations: 10.31 kB / 4.607 GB, free: 83.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/12.23, allocations: 11.95 kB / 4.607 GB, free: 83.69 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008927/12.24, allocations: 4.219 MB / 4.611 GB, free: 82.54 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002988/12.24, allocations: 0.6826 MB / 4.612 GB, free: 82.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/12.24, allocations: 21.27 kB / 4.612 GB, free: 82.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003848/12.25, allocations: 145.7 kB / 4.612 GB, free: 82.28 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/12.25, allocations: 143.2 kB / 4.612 GB, free: 82.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/12.25, allocations: 61.02 kB / 4.612 GB, free: 82.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005665/12.25, allocations: 2.008 MB / 4.614 GB, free: 82.13 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007524/12.26, allocations: 1.356 MB / 4.615 GB, free: 82.06 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005755/12.27, allocations: 2.962 MB / 4.618 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009234/12.28, allocations: 4.263 MB / 4.622 GB, free: 80.31 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/12.28, allocations: 3.25 kB / 4.622 GB, free: 80.31 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003886/12.28, allocations: 1.718 MB / 4.624 GB, free: 80.12 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/12.29, allocations: 1.357 MB / 4.625 GB, free: 80.08 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/12.31, allocations: 5.258 MB / 4.63 GB, free: 78.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004974/12.32, allocations: 2.355 MB / 4.633 GB, free: 78.14 MB / 0.9636 GB Notification: Performance of SimCode: time 1.853e-06/12.32, allocations: 0 / 4.633 GB, free: 78.14 MB / 0.9636 GB Notification: Performance of Templates: time 0.2136/12.53, allocations: 77.25 MB / 4.708 GB, free: 64.02 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)