Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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.659/1.659, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001154/0.001154, allocations: 189.3 kB / 366.3 MB, free: 1.973 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.781/1.781, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.001246/0.001246, allocations: 104.3 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.739e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7142, allocations: 116.3 MB / 0.9726 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.677, allocations: 2.344 GB / 3.317 GB, free: 109.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/5.677, allocations: 97.05 kB / 3.317 GB, free: 109.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.666/10.34, allocations: 1.234 GB / 4.551 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006385/10.34, allocations: 86.7 kB / 4.551 GB, free: 108.8 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01058/10.35, allocations: 3.49 MB / 4.554 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/10.35, allocations: 9.781 kB / 4.554 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/10.36, allocations: 0.5233 MB / 4.555 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/10.37, allocations: 3.339 MB / 4.558 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/10.37, allocations: 63.89 kB / 4.558 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004761/10.37, allocations: 123.8 kB / 4.558 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003424/10.37, allocations: 1.748 MB / 4.56 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/10.37, allocations: 2.122 MB / 4.562 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/10.37, allocations: 0 / 4.562 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/10.37, allocations: 3.562 kB / 4.562 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/10.37, allocations: 76.45 kB / 4.562 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01736/10.39, allocations: 10.24 MB / 4.572 GB, free: 103 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/10.39, allocations: 1.324 MB / 4.573 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/10.39, allocations: 0.9187 MB / 4.574 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000825/10.4, allocations: 1.18 MB / 4.575 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/10.4, allocations: 48.34 kB / 4.576 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 4.358e-06/10.4, allocations: 2.094 kB / 4.576 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.009533/10.4, allocations: 4.256 MB / 4.58 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/10.4, allocations: 285 kB / 4.58 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/10.41, allocations: 2.583 MB / 4.582 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/10.41, allocations: 29.58 kB / 4.582 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006706/10.41, allocations: 0.8492 MB / 4.583 GB, free: 99.69 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/10.41, allocations: 377.2 kB / 4.584 GB, free: 99.45 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/10.41, allocations: 2.938 kB / 4.584 GB, free: 99.45 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001052/10.41, allocations: 365.4 kB / 4.584 GB, free: 99.14 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/10.41, allocations: 0.9876 MB / 4.585 GB, free: 99.14 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/10.41, allocations: 1.402 MB / 4.586 GB, free: 98.74 MB / 0.9792 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/10.42, allocations: 2.553 MB / 4.589 GB, free: 98.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/10.42, allocations: 3.969 kB / 4.589 GB, free: 98.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004463/10.42, allocations: 2.581 MB / 4.591 GB, free: 98.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004986/10.42, allocations: 2.491 MB / 4.594 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/10.42, allocations: 6.844 kB / 4.594 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/10.42, allocations: 14.25 kB / 4.594 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/10.43, allocations: 274 kB / 4.594 GB, free: 95.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/10.43, allocations: 0.6274 MB / 4.595 GB, free: 94.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/10.43, allocations: 145.4 kB / 4.595 GB, free: 94.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/10.43, allocations: 73.97 kB / 4.595 GB, free: 94.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/10.43, allocations: 9.938 kB / 4.595 GB, free: 94.97 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003362/10.43, allocations: 2.27 MB / 4.597 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/10.43, allocations: 10.47 kB / 4.597 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/10.43, allocations: 12.66 kB / 4.597 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.43, allocations: 261.7 kB / 4.597 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/10.43, allocations: 11.78 kB / 4.597 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/10.44, allocations: 144.6 kB / 4.598 GB, free: 94.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/10.44, allocations: 72.55 kB / 4.598 GB, free: 94.94 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005294/10.44, allocations: 332.4 kB / 4.598 GB, free: 94.64 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006261/10.44, allocations: 282.1 kB / 4.598 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/10.44, allocations: 2.059 MB / 4.6 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/10.44, allocations: 8.812 kB / 4.6 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/10.44, allocations: 2.531 kB / 4.6 GB, free: 94.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002302/10.44, allocations: 1.872 MB / 4.602 GB, free: 94.13 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009083/10.45, allocations: 5.105 MB / 4.607 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/10.45, allocations: 3.844 kB / 4.607 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/10.45, allocations: 217.9 kB / 4.607 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/10.45, allocations: 13.47 kB / 4.607 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/10.45, allocations: 24.69 kB / 4.607 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002643/10.45, allocations: 0.6213 MB / 4.608 GB, free: 93.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/10.45, allocations: 11.88 kB / 4.608 GB, free: 93.01 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005043/10.46, allocations: 4.019 MB / 4.612 GB, free: 91.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/10.46, allocations: 0.6559 MB / 4.612 GB, free: 91.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/10.46, allocations: 21.73 kB / 4.612 GB, free: 91.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/10.46, allocations: 139.4 kB / 4.613 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/10.46, allocations: 135.2 kB / 4.613 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/10.46, allocations: 54.98 kB / 4.613 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003105/10.47, allocations: 1.954 MB / 4.615 GB, free: 91.44 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004351/10.47, allocations: 1.326 MB / 4.616 GB, free: 91.38 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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 (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00425/10.48, allocations: 2.949 MB / 4.619 GB, free: 90.44 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00499/10.48, allocations: 4.062 MB / 4.623 GB, free: 89.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/10.48, allocations: 3.656 kB / 4.623 GB, free: 89.66 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/10.48, allocations: 1.684 MB / 4.625 GB, free: 89.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00699/10.49, allocations: 1.32 MB / 4.626 GB, free: 89.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/10.5, allocations: 4.857 MB / 4.631 GB, free: 88.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/10.5, allocations: 2.27 MB / 4.633 GB, free: 87.55 MB / 0.9792 GB Notification: Performance of SimCode: time 1.092e-06/10.5, allocations: 3.719 kB / 4.633 GB, free: 87.55 MB / 0.9792 GB Notification: Performance of Templates: time 0.12/10.62, allocations: 73.88 MB / 4.705 GB, free: 83.75 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)