Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.435/2.435, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001648/0.001647, allocations: 183.8 kB / 360.4 MB, free: 7.492 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.85/1.85, allocations: 205.1 MB / 0.6188 GB, free: 12.48 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.001264/0.001264, allocations: 90.61 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.174e-05, allocations: 0 / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6133/0.6134, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.395/6.008, allocations: 2.343 GB / 3.306 GB, free: 139.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/6.009, allocations: 100.7 kB / 3.306 GB, free: 139.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.989/12, allocations: 1.234 GB / 4.54 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0007074/12, allocations: 85.58 kB / 4.54 GB, free: 6.945 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.01245/12.01, allocations: 3.476 MB / 4.543 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/12.01, allocations: 8.031 kB / 4.543 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/12.01, allocations: 0.5264 MB / 4.544 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4754/12.49, allocations: 3.331 MB / 4.547 GB, free: 193.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/12.49, allocations: 69.47 kB / 4.547 GB, free: 193.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000708/12.49, allocations: 125.3 kB / 4.547 GB, free: 193.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006073/12.5, allocations: 1.75 MB / 4.549 GB, free: 193.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007011/12.5, allocations: 2.12 MB / 4.551 GB, free: 193.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.51e-05/12.5, allocations: 2.484 kB / 4.551 GB, free: 193.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/12.5, allocations: 8.5 kB / 4.551 GB, free: 193.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.124e-05/12.5, allocations: 71.8 kB / 4.551 GB, free: 193.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/12.53, allocations: 10.25 MB / 4.561 GB, free: 189.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/12.53, allocations: 1.329 MB / 4.563 GB, free: 189.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/12.53, allocations: 0.9152 MB / 4.563 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/12.54, allocations: 1.176 MB / 4.565 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/12.54, allocations: 51.56 kB / 4.565 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 3.837e-06/12.54, allocations: 0 / 4.565 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.01468/12.55, allocations: 4.252 MB / 4.569 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/12.55, allocations: 286.8 kB / 4.569 GB, free: 187.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/12.56, allocations: 2.584 MB / 4.572 GB, free: 187 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005428/12.56, allocations: 38.89 kB / 4.572 GB, free: 187 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/12.56, allocations: 0.8471 MB / 4.572 GB, free: 186.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007691/12.56, allocations: 377.7 kB / 4.573 GB, free: 186.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/12.56, allocations: 0 / 4.573 GB, free: 186.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001333/12.56, allocations: 360 kB / 4.573 GB, free: 186.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/12.56, allocations: 0.9944 MB / 4.574 GB, free: 186.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/12.57, allocations: 1.4 MB / 4.575 GB, free: 185.8 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.008734/12.57, allocations: 2.554 MB / 4.578 GB, free: 185.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/12.58, allocations: 3.812 kB / 4.578 GB, free: 185.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00728/12.58, allocations: 2.58 MB / 4.58 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005569/12.58, allocations: 2.499 MB / 4.583 GB, free: 182.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/12.58, allocations: 3.969 kB / 4.583 GB, free: 182.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-05/12.58, allocations: 13.78 kB / 4.583 GB, free: 182.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/12.59, allocations: 272.2 kB / 4.583 GB, free: 182.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005385/12.59, allocations: 0.6221 MB / 4.584 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/12.59, allocations: 147 kB / 4.584 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/12.59, allocations: 71.38 kB / 4.584 GB, free: 182 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/12.59, allocations: 3.531 kB / 4.584 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005776/12.6, allocations: 2.273 MB / 4.586 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/12.6, allocations: 7.625 kB / 4.586 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/12.6, allocations: 14.31 kB / 4.586 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/12.6, allocations: 262.1 kB / 4.587 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/12.6, allocations: 18.75 kB / 4.587 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/12.6, allocations: 140.6 kB / 4.587 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/12.6, allocations: 76.05 kB / 4.587 GB, free: 182 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.0006739/12.6, allocations: 341.2 kB / 4.587 GB, free: 181.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008691/12.6, allocations: 283.6 kB / 4.587 GB, free: 181.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/12.61, allocations: 2.06 MB / 4.589 GB, free: 181.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/12.61, allocations: 16 kB / 4.589 GB, free: 181.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/12.61, allocations: 0 / 4.589 GB, free: 181.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004163/12.61, allocations: 1.871 MB / 4.591 GB, free: 181.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/12.63, allocations: 5.093 MB / 4.596 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/12.63, allocations: 9.281 kB / 4.596 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/12.63, allocations: 227.1 kB / 4.596 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/12.63, allocations: 9.344 kB / 4.596 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/12.63, allocations: 23.88 kB / 4.596 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003965/12.63, allocations: 0.6185 MB / 4.597 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/12.63, allocations: 8.781 kB / 4.597 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008874/12.64, allocations: 4.022 MB / 4.601 GB, free: 178.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/12.64, allocations: 0.6522 MB / 4.602 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/12.65, allocations: 19.03 kB / 4.602 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/12.65, allocations: 138.1 kB / 4.602 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/12.65, allocations: 137.9 kB / 4.602 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/12.65, allocations: 56.72 kB / 4.602 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.005783/12.66, allocations: 1.953 MB / 4.604 GB, free: 178.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007995/12.66, allocations: 1.325 MB / 4.605 GB, free: 178.5 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.006047/12.67, allocations: 2.953 MB / 4.608 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009239/12.68, allocations: 4.063 MB / 4.612 GB, free: 176.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/12.68, allocations: 0 / 4.612 GB, free: 176.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/12.68, allocations: 1.684 MB / 4.614 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/12.7, allocations: 1.314 MB / 4.615 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/12.71, allocations: 4.857 MB / 4.62 GB, free: 175.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005078/12.72, allocations: 2.274 MB / 4.622 GB, free: 174.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.242e-06/12.72, allocations: 0 / 4.622 GB, free: 174.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.1883/12.91, allocations: 73.86 MB / 4.694 GB, free: 171.6 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)