Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001055/0.001055, allocations: 179.5 kB / 366.3 MB, free: 1.953 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.665/1.665, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009209/0.0009209, allocations: 94.48 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.055e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.7298, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.443/5.173, allocations: 2.344 GB / 3.317 GB, free: 109.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/5.174, allocations: 99.94 kB / 3.317 GB, free: 109.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.688/9.862, allocations: 1.238 GB / 4.555 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006314/9.862, allocations: 87.53 kB / 4.555 GB, free: 108.1 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.01033/9.873, allocations: 3.644 MB / 4.558 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/9.873, allocations: 10.88 kB / 4.558 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/9.876, allocations: 0.5387 MB / 4.559 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009735/9.886, allocations: 3.448 MB / 4.562 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/9.886, allocations: 71.72 kB / 4.562 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/9.887, allocations: 134.6 kB / 4.562 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005543/9.893, allocations: 1.842 MB / 4.564 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/9.899, allocations: 2.252 MB / 4.566 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.401e-05/9.899, allocations: 0 / 4.566 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/9.9, allocations: 14.78 kB / 4.566 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/9.9, allocations: 74.11 kB / 4.566 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/9.918, allocations: 10.94 MB / 4.577 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/9.92, allocations: 1.444 MB / 4.579 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/9.921, allocations: 0.9735 MB / 4.579 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/9.922, allocations: 1.179 MB / 4.581 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/9.922, allocations: 52.91 kB / 4.581 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 4.649e-06/9.922, allocations: 3.141 kB / 4.581 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=132): time 0.01032/9.932, allocations: 4.647 MB / 4.585 GB, free: 99.31 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/9.933, allocations: 341 kB / 4.586 GB, free: 98.94 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/9.937, allocations: 2.661 MB / 4.588 GB, free: 98.71 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/9.937, allocations: 32.48 kB / 4.588 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/9.938, allocations: 0.8944 MB / 4.589 GB, free: 98.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/9.938, allocations: 440.1 kB / 4.589 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/9.938, allocations: 3.062 kB / 4.589 GB, free: 97.95 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/9.938, allocations: 365.6 kB / 4.59 GB, free: 97.64 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/9.939, allocations: 1.03 MB / 4.591 GB, free: 97.64 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/9.941, allocations: 1.459 MB / 4.592 GB, free: 97.22 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.006386/9.947, allocations: 3.773 MB / 4.596 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.947, allocations: 2.938 kB / 4.596 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00463/9.952, allocations: 2.786 MB / 4.599 GB, free: 96.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004583/9.952, allocations: 2.527 MB / 4.601 GB, free: 93.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/9.952, allocations: 13.27 kB / 4.601 GB, free: 93.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/9.953, allocations: 139.6 kB / 4.601 GB, free: 93.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/9.954, allocations: 261.1 kB / 4.602 GB, free: 93.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00093/9.955, allocations: 1.317 MB / 4.603 GB, free: 92.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/9.958, allocations: 175.1 kB / 4.603 GB, free: 92.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/9.958, allocations: 75.05 kB / 4.603 GB, free: 92.74 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/9.958, allocations: 7.375 kB / 4.603 GB, free: 92.74 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003753/9.962, allocations: 2.459 MB / 4.605 GB, free: 92.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/9.962, allocations: 7.156 kB / 4.605 GB, free: 92.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/9.962, allocations: 148.7 kB / 4.606 GB, free: 92.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/9.963, allocations: 257.8 kB / 4.606 GB, free: 92.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008118/9.964, allocations: 1.322 MB / 4.607 GB, free: 91.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/9.967, allocations: 167.4 kB / 4.607 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/9.967, allocations: 79.2 kB / 4.607 GB, free: 91.62 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.0005619/9.967, allocations: 334.5 kB / 4.608 GB, free: 91.31 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/9.968, allocations: 307.2 kB / 4.608 GB, free: 91.16 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/9.973, allocations: 2.191 MB / 4.61 GB, free: 91.06 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/9.973, allocations: 11.03 kB / 4.61 GB, free: 91.06 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/9.973, allocations: 0 / 4.61 GB, free: 91.06 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002566/9.975, allocations: 1.98 MB / 4.612 GB, free: 90.78 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/9.986, allocations: 5.355 MB / 4.617 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/9.986, allocations: 3.719 kB / 4.617 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/9.987, allocations: 254.7 kB / 4.618 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/9.987, allocations: 14.19 kB / 4.618 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/9.987, allocations: 26.3 kB / 4.618 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/9.987, allocations: 10.31 kB / 4.618 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/9.987, allocations: 12.34 kB / 4.618 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005892/9.993, allocations: 4.219 MB / 4.622 GB, free: 89.09 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/9.995, allocations: 0.6825 MB / 4.622 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/9.996, allocations: 22.3 kB / 4.622 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/9.999, allocations: 143.8 kB / 4.623 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/9.999, allocations: 149.3 kB / 4.623 GB, free: 88.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/9.999, allocations: 57.77 kB / 4.623 GB, free: 88.83 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00474/10, allocations: 2.008 MB / 4.625 GB, free: 88.69 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007533/10.01, allocations: 1.361 MB / 4.626 GB, free: 88.62 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.005481/10.02, allocations: 2.952 MB / 4.629 GB, free: 87.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006672/10.02, allocations: 4.256 MB / 4.633 GB, free: 86.88 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/10.02, allocations: 2.875 kB / 4.633 GB, free: 86.88 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/10.03, allocations: 1.724 MB / 4.635 GB, free: 86.69 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007681/10.03, allocations: 1.354 MB / 4.636 GB, free: 86.66 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/10.05, allocations: 5.253 MB / 4.641 GB, free: 85.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/10.05, allocations: 2.353 MB / 4.644 GB, free: 84.72 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/10.05, allocations: 0 / 4.644 GB, free: 84.72 MB / 0.9792 GB Notification: Performance of Templates: time 0.118/10.17, allocations: 77.26 MB / 4.719 GB, free: 80.66 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)