Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 253.1 MB / 260.4 MB, free: 0.5078 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001635, allocations: 188.5 kB / 319.6 MB, free: 7.637 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.5704 GB, free: 25.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.001779, allocations: 97.89 kB / 0.6746 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.141e-05, allocations: 4 kB / 0.7843 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5011, allocations: 106.2 MB / 0.888 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/6.278, allocations: 2.46 GB / 3.348 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004871/6.279, allocations: 98.81 kB / 3.348 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.49/12.77, allocations: 1.202 GB / 4.55 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007086/12.77, allocations: 84.02 kB / 4.55 GB, free: 105.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01205/12.78, allocations: 3.492 MB / 4.554 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/12.78, allocations: 8.719 kB / 4.554 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005856/12.79, allocations: 0.5235 MB / 4.554 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/12.8, allocations: 3.343 MB / 4.558 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/12.8, allocations: 63.16 kB / 4.558 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009163/12.81, allocations: 140.5 kB / 4.558 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006472/12.81, allocations: 1.748 MB / 4.56 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007455/12.82, allocations: 2.119 MB / 4.562 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/12.82, allocations: 3.156 kB / 4.562 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/12.82, allocations: 3.25 kB / 4.562 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-05/12.82, allocations: 76.95 kB / 4.562 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/12.85, allocations: 10.23 MB / 4.572 GB, free: 97.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/12.85, allocations: 1.323 MB / 4.573 GB, free: 96.86 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/12.85, allocations: 0.9086 MB / 4.574 GB, free: 96.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/12.85, allocations: 1.179 MB / 4.575 GB, free: 95.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/12.85, allocations: 54.72 kB / 4.575 GB, free: 95.12 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=113): time 5.741e-06/12.85, allocations: 3.281 kB / 4.575 GB, free: 95.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.01686/12.87, allocations: 4.255 MB / 4.579 GB, free: 93.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/12.87, allocations: 287.1 kB / 4.58 GB, free: 92.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008062/12.88, allocations: 2.584 MB / 4.582 GB, free: 91.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000642/12.88, allocations: 32.58 kB / 4.582 GB, free: 91.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/12.88, allocations: 0.8518 MB / 4.583 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009251/12.88, allocations: 374.9 kB / 4.583 GB, free: 90.82 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/12.88, allocations: 6.219 kB / 4.583 GB, free: 90.82 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000164/12.88, allocations: 365.5 kB / 4.584 GB, free: 90.49 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/12.88, allocations: 0.9839 MB / 4.585 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/12.89, allocations: 1.394 MB / 4.586 GB, free: 89.23 MB / 0.9011 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.009241/12.9, allocations: 2.545 MB / 4.588 GB, free: 88.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/12.9, allocations: 3.875 kB / 4.588 GB, free: 88.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.007908/12.9, allocations: 2.576 MB / 4.591 GB, free: 87.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006355/12.91, allocations: 2.497 MB / 4.593 GB, free: 84.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/12.91, allocations: 6.969 kB / 4.593 GB, free: 84.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.823e-05/12.91, allocations: 12.53 kB / 4.593 GB, free: 84.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/12.91, allocations: 269.6 kB / 4.594 GB, free: 84.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006012/12.91, allocations: 0.6315 MB / 4.594 GB, free: 83.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/12.91, allocations: 146.6 kB / 4.594 GB, free: 83.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005939/12.91, allocations: 70.89 kB / 4.594 GB, free: 83.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/12.91, allocations: 3.094 kB / 4.594 GB, free: 83.83 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006456/12.92, allocations: 2.27 MB / 4.597 GB, free: 82.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/12.92, allocations: 8.469 kB / 4.597 GB, free: 82.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/12.92, allocations: 13.75 kB / 4.597 GB, free: 82.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/12.92, allocations: 264.6 kB / 4.597 GB, free: 82.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/12.92, allocations: 9.75 kB / 4.597 GB, free: 82.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/12.93, allocations: 142.8 kB / 4.597 GB, free: 82.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/12.93, allocations: 74.58 kB / 4.597 GB, free: 82.93 MB / 0.9011 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.0007472/12.93, allocations: 336.6 kB / 4.598 GB, free: 82.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/12.93, allocations: 278.9 kB / 4.598 GB, free: 82.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/12.94, allocations: 2.057 MB / 4.6 GB, free: 81.67 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/12.94, allocations: 11.75 kB / 4.6 GB, free: 81.67 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/12.94, allocations: 0 / 4.6 GB, free: 81.67 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00431/12.94, allocations: 1.869 MB / 4.602 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/12.96, allocations: 5.089 MB / 4.607 GB, free: 78.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/12.96, allocations: 5.625 kB / 4.607 GB, free: 78.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/12.96, allocations: 219.4 kB / 4.607 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.499e-05/12.96, allocations: 11.31 kB / 4.607 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003137/12.96, allocations: 28.08 kB / 4.607 GB, free: 78.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000455/12.96, allocations: 0.6207 MB / 4.607 GB, free: 77.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/12.96, allocations: 6.719 kB / 4.607 GB, free: 77.82 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01087/12.97, allocations: 4.023 MB / 4.611 GB, free: 75.48 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/12.98, allocations: 0.6514 MB / 4.612 GB, free: 75.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/12.98, allocations: 25.69 kB / 4.612 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/12.98, allocations: 128.3 kB / 4.612 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007431/12.98, allocations: 142.2 kB / 4.612 GB, free: 74.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/12.98, allocations: 56.06 kB / 4.612 GB, free: 74.96 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.007084/12.99, allocations: 1.963 MB / 4.614 GB, free: 73.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01013/13, allocations: 1.322 MB / 4.616 GB, free: 72.66 MB / 0.9011 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.006497/13.01, allocations: 2.959 MB / 4.618 GB, free: 70.28 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009443/13.02, allocations: 4.052 MB / 4.622 GB, free: 66.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/13.02, allocations: 2.75 kB / 4.622 GB, free: 66.31 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004148/13.02, allocations: 1.687 MB / 4.624 GB, free: 64.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01217/13.03, allocations: 1.32 MB / 4.625 GB, free: 63.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/13.05, allocations: 4.87 MB / 4.63 GB, free: 59.37 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004841/13.05, allocations: 2.27 MB / 4.632 GB, free: 57.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.493e-06/13.05, allocations: 0 / 4.632 GB, free: 57.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.1963/13.25, allocations: 73.84 MB / 4.704 GB, free: 1.121 MB / 0.9167 GB