Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.568/1.568, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001388/0.001388, allocations: 161.4 kB / 361.1 MB, free: 7.09 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.502/1.502, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.001157/0.001157, allocations: 88.66 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.595e-06/7.635e-06, allocations: 0 / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7754, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.276/6.052, allocations: 2.343 GB / 3.307 GB, free: 149.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/6.052, allocations: 99.94 kB / 3.307 GB, free: 149.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.471/10.52, allocations: 1.234 GB / 4.541 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009151/10.52, allocations: 87.84 kB / 4.541 GB, free: 8.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.01498/10.54, allocations: 3.481 MB / 4.544 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/10.54, allocations: 8.531 kB / 4.544 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/10.54, allocations: 0.5225 MB / 4.545 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/10.56, allocations: 3.339 MB / 4.548 GB, free: 1.383 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/10.56, allocations: 67.91 kB / 4.548 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/10.56, allocations: 125.2 kB / 4.548 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5483/11.11, allocations: 1.745 MB / 4.55 GB, free: 192.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/11.11, allocations: 2.118 MB / 4.552 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/11.11, allocations: 5.844 kB / 4.552 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/11.11, allocations: 8.281 kB / 4.552 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/11.11, allocations: 70.97 kB / 4.552 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/11.13, allocations: 10.24 MB / 4.562 GB, free: 189 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/11.13, allocations: 1.329 MB / 4.564 GB, free: 189 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/11.13, allocations: 0.9167 MB / 4.564 GB, free: 189 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008629/11.13, allocations: 1.178 MB / 4.566 GB, free: 187.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/11.13, allocations: 52.31 kB / 4.566 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 3.968e-06/11.13, allocations: 0 / 4.566 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.009696/11.14, allocations: 4.254 MB / 4.57 GB, free: 186.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/11.14, allocations: 295 kB / 4.57 GB, free: 186.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/11.15, allocations: 2.573 MB / 4.573 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003736/11.15, allocations: 32.7 kB / 4.573 GB, free: 186.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006737/11.15, allocations: 0.8497 MB / 4.573 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/11.15, allocations: 380.7 kB / 4.574 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/11.15, allocations: 3.875 kB / 4.574 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001037/11.15, allocations: 364.7 kB / 4.574 GB, free: 185.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/11.15, allocations: 0.9917 MB / 4.575 GB, free: 185.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/11.15, allocations: 1.397 MB / 4.577 GB, free: 185 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.00498/11.16, allocations: 2.555 MB / 4.579 GB, free: 184.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/11.16, allocations: 3.156 kB / 4.579 GB, free: 184.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004575/11.16, allocations: 2.581 MB / 4.582 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004843/11.16, allocations: 2.49 MB / 4.584 GB, free: 181.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/11.16, allocations: 8.375 kB / 4.584 GB, free: 181.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/11.16, allocations: 12.44 kB / 4.584 GB, free: 181.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/11.16, allocations: 271.4 kB / 4.584 GB, free: 181.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/11.16, allocations: 0.6327 MB / 4.585 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/11.17, allocations: 147.1 kB / 4.585 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/11.17, allocations: 71.8 kB / 4.585 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/11.17, allocations: 3.781 kB / 4.585 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003733/11.17, allocations: 2.274 MB / 4.587 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/11.17, allocations: 7.75 kB / 4.587 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/11.17, allocations: 11.44 kB / 4.587 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.17, allocations: 264.5 kB / 4.588 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/11.17, allocations: 15.19 kB / 4.588 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/11.17, allocations: 146.7 kB / 4.588 GB, free: 181.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/11.17, allocations: 80.11 kB / 4.588 GB, free: 181.2 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.0006708/11.18, allocations: 319 kB / 4.588 GB, free: 181 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/11.18, allocations: 283.2 kB / 4.588 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/11.18, allocations: 2.065 MB / 4.59 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/11.18, allocations: 13.92 kB / 4.59 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/11.18, allocations: 5.938 kB / 4.59 GB, free: 180.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002607/11.18, allocations: 1.865 MB / 4.592 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/11.2, allocations: 5.095 MB / 4.597 GB, free: 179.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/11.2, allocations: 6.906 kB / 4.597 GB, free: 179.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/11.2, allocations: 223 kB / 4.597 GB, free: 179.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/11.2, allocations: 10.66 kB / 4.597 GB, free: 179.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/11.2, allocations: 25.38 kB / 4.597 GB, free: 179.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003006/11.2, allocations: 0.6165 MB / 4.598 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/11.2, allocations: 10.27 kB / 4.598 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005487/11.2, allocations: 4.025 MB / 4.602 GB, free: 178.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/11.2, allocations: 0.6555 MB / 4.603 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/11.21, allocations: 21.66 kB / 4.603 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/11.21, allocations: 133.5 kB / 4.603 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/11.21, allocations: 131.6 kB / 4.603 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/11.21, allocations: 62.14 kB / 4.603 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.004883/11.21, allocations: 1.952 MB / 4.605 GB, free: 177.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007442/11.22, allocations: 1.325 MB / 4.606 GB, free: 177.8 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.005705/11.23, allocations: 2.965 MB / 4.609 GB, free: 176.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00697/11.23, allocations: 4.059 MB / 4.613 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/11.23, allocations: 0 / 4.613 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/11.24, allocations: 1.692 MB / 4.615 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007952/11.24, allocations: 1.306 MB / 4.616 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/11.26, allocations: 4.856 MB / 4.621 GB, free: 174.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004079/11.26, allocations: 2.264 MB / 4.623 GB, free: 174.1 MB / 0.9792 GB Notification: Performance of SimCode: time 8.32e-07/11.26, allocations: 0 / 4.623 GB, free: 174.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.1223/11.38, allocations: 73.88 MB / 4.695 GB, free: 170.8 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)