Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.519/1.519, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.2 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009247/0.0009248, allocations: 80.55 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.31e-05, allocations: 4 kB / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.8121, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.291/6.103, allocations: 2.343 GB / 3.307 GB, free: 130.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/6.103, allocations: 100.6 kB / 3.307 GB, free: 130.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.011/11.11, allocations: 1.238 GB / 4.545 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004238/11.11, allocations: 88.44 kB / 4.545 GB, free: 108.7 MB / 0.9792 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.008776/11.12, allocations: 3.639 MB / 4.548 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/11.12, allocations: 8.375 kB / 4.548 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/11.13, allocations: 0.5419 MB / 4.549 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/11.13, allocations: 3.455 MB / 4.552 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/11.13, allocations: 68.31 kB / 4.552 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/11.13, allocations: 135.5 kB / 4.553 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003288/11.14, allocations: 1.83 MB / 4.554 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/11.14, allocations: 2.256 MB / 4.557 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/11.14, allocations: 1.031 kB / 4.557 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/11.14, allocations: 5.438 kB / 4.557 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/11.14, allocations: 77.39 kB / 4.557 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/11.16, allocations: 10.96 MB / 4.567 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/11.16, allocations: 1.445 MB / 4.569 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/11.16, allocations: 0.9718 MB / 4.57 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007843/11.16, allocations: 1.181 MB / 4.571 GB, free: 101 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/11.16, allocations: 59.53 kB / 4.571 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 3.186e-06/11.16, allocations: 0 / 4.571 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=132): time 0.009986/11.17, allocations: 4.644 MB / 4.575 GB, free: 99.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/11.17, allocations: 341.7 kB / 4.576 GB, free: 99.61 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/11.18, allocations: 2.654 MB / 4.578 GB, free: 99.38 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005204/11.18, allocations: 35.83 kB / 4.578 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/11.18, allocations: 0.887 MB / 4.579 GB, free: 98.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004922/11.18, allocations: 436.9 kB / 4.58 GB, free: 98.62 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/11.18, allocations: 2.219 kB / 4.58 GB, free: 98.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00012/11.18, allocations: 369.8 kB / 4.58 GB, free: 98.31 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/11.18, allocations: 1.032 MB / 4.581 GB, free: 98.31 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/11.18, allocations: 1.459 MB / 4.582 GB, free: 97.89 MB / 0.9792 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.006465/11.19, allocations: 3.789 MB / 4.586 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/11.19, allocations: 3.562 kB / 4.586 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004677/11.19, allocations: 2.786 MB / 4.589 GB, free: 97.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/11.19, allocations: 2.52 MB / 4.591 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/11.19, allocations: 13.27 kB / 4.591 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/11.19, allocations: 133.4 kB / 4.591 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/11.19, allocations: 266.1 kB / 4.592 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/11.19, allocations: 1.318 MB / 4.593 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/11.2, allocations: 175 kB / 4.593 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/11.2, allocations: 76.25 kB / 4.593 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/11.2, allocations: 3.531 kB / 4.593 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003529/11.2, allocations: 2.463 MB / 4.596 GB, free: 93.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/11.2, allocations: 3.5 kB / 4.596 GB, free: 93.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/11.2, allocations: 143.5 kB / 4.596 GB, free: 93.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/11.2, allocations: 262.8 kB / 4.596 GB, free: 93.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/11.2, allocations: 1.321 MB / 4.597 GB, free: 92.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/11.21, allocations: 169.4 kB / 4.597 GB, free: 92.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/11.21, allocations: 81.56 kB / 4.598 GB, free: 92.28 MB / 0.9792 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.0004543/11.21, allocations: 336.9 kB / 4.598 GB, free: 91.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/11.21, allocations: 292.9 kB / 4.598 GB, free: 91.82 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/11.21, allocations: 2.201 MB / 4.6 GB, free: 91.72 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/11.21, allocations: 12.31 kB / 4.6 GB, free: 91.72 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/11.21, allocations: 2.25 kB / 4.6 GB, free: 91.72 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002422/11.21, allocations: 1.981 MB / 4.602 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00887/11.22, allocations: 5.35 MB / 4.607 GB, free: 90.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/11.22, allocations: 3.25 kB / 4.607 GB, free: 90.92 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/11.22, allocations: 253.5 kB / 4.608 GB, free: 90.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/11.22, allocations: 11.06 kB / 4.608 GB, free: 90.92 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/11.22, allocations: 28.78 kB / 4.608 GB, free: 90.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/11.22, allocations: 13.17 kB / 4.608 GB, free: 90.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/11.22, allocations: 12.02 kB / 4.608 GB, free: 90.91 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005219/11.23, allocations: 4.223 MB / 4.612 GB, free: 89.76 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/11.23, allocations: 0.6809 MB / 4.613 GB, free: 89.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/11.23, allocations: 22.23 kB / 4.613 GB, free: 89.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/11.23, allocations: 147.4 kB / 4.613 GB, free: 89.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/11.23, allocations: 143.2 kB / 4.613 GB, free: 89.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/11.23, allocations: 59.45 kB / 4.613 GB, free: 89.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003023/11.24, allocations: 2.009 MB / 4.615 GB, free: 89.35 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003979/11.24, allocations: 1.357 MB / 4.616 GB, free: 89.29 MB / 0.9792 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.003666/11.24, allocations: 2.947 MB / 4.619 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004728/11.25, allocations: 4.261 MB / 4.623 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/11.25, allocations: 3.969 kB / 4.623 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/11.25, allocations: 1.716 MB / 4.625 GB, free: 87.37 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005852/11.26, allocations: 1.362 MB / 4.626 GB, free: 87.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/11.27, allocations: 5.252 MB / 4.631 GB, free: 86.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/11.27, allocations: 2.358 MB / 4.634 GB, free: 85.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.232e-06/11.27, allocations: 0 / 4.634 GB, free: 85.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.1192/11.39, allocations: 77.25 MB / 4.709 GB, free: 81.31 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)