Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.581/1.581, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001208/0.001208, allocations: 181.2 kB / 361.1 MB, free: 7.109 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.564/1.564, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009853/0.0009852, allocations: 82.05 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.065e-05, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7705, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.907, allocations: 2.341 GB / 3.305 GB, free: 164.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/5.907, allocations: 97.16 kB / 3.305 GB, free: 164.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.943/8.851, allocations: 0.8728 GB / 4.178 GB, free: 10.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003652/8.851, allocations: 59.55 kB / 4.178 GB, free: 10.83 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.006652/8.858, allocations: 2.357 MB / 4.18 GB, free: 8.387 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/8.858, allocations: 12.53 kB / 4.18 GB, free: 8.375 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/8.86, allocations: 392.7 kB / 4.181 GB, free: 7.988 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/8.866, allocations: 2.073 MB / 4.183 GB, free: 5.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/8.866, allocations: 43.91 kB / 4.183 GB, free: 5.867 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/8.867, allocations: 88 kB / 4.183 GB, free: 5.781 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002482/8.869, allocations: 1.134 MB / 4.184 GB, free: 4.645 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/8.871, allocations: 1.383 MB / 4.185 GB, free: 3.207 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/8.871, allocations: 11.94 kB / 4.185 GB, free: 3.195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/8.872, allocations: 7.938 kB / 4.185 GB, free: 3.188 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/8.872, allocations: 46.53 kB / 4.185 GB, free: 3.141 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5201/9.392, allocations: 6.683 MB / 4.192 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/9.393, allocations: 0.9081 MB / 4.193 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/9.394, allocations: 0.5815 MB / 4.193 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/9.395, allocations: 0.6844 MB / 4.194 GB, free: 211.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/9.395, allocations: 54.09 kB / 4.194 GB, free: 211.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 5.671e-06/9.395, allocations: 0 / 4.194 GB, free: 211.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.006718/9.402, allocations: 2.757 MB / 4.197 GB, free: 211.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/9.402, allocations: 197.3 kB / 4.197 GB, free: 211 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/9.404, allocations: 1.504 MB / 4.198 GB, free: 210.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/9.404, allocations: 29.27 kB / 4.198 GB, free: 210.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/9.405, allocations: 0.5815 MB / 4.199 GB, free: 210.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/9.405, allocations: 287.1 kB / 4.199 GB, free: 210.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/9.405, allocations: 3.562 kB / 4.199 GB, free: 210.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/9.405, allocations: 341.8 kB / 4.2 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/9.406, allocations: 0.5727 MB / 4.2 GB, free: 210.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/9.407, allocations: 0.8356 MB / 4.201 GB, free: 209.9 MB / 0.948 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.004097/9.411, allocations: 2.18 MB / 4.203 GB, free: 209.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/9.411, allocations: 0 / 4.203 GB, free: 209.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002606/9.414, allocations: 1.546 MB / 4.205 GB, free: 209.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003188/9.414, allocations: 1.457 MB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/9.414, allocations: 3.969 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/9.414, allocations: 10.69 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/9.415, allocations: 188.7 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/9.415, allocations: 8.469 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/9.416, allocations: 99.09 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/9.417, allocations: 42.16 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/9.417, allocations: 3.938 kB / 4.206 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/9.419, allocations: 1.347 MB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/9.419, allocations: 5.781 kB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/9.419, allocations: 10.16 kB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/9.419, allocations: 183.6 kB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/9.419, allocations: 13.84 kB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/9.421, allocations: 91.78 kB / 4.208 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/9.421, allocations: 45.5 kB / 4.208 GB, free: 207.9 MB / 0.948 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003451/9.421, allocations: 221.9 kB / 4.208 GB, free: 207.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/9.422, allocations: 174.6 kB / 4.208 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/9.424, allocations: 1.29 MB / 4.21 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/9.424, allocations: 7.438 kB / 4.21 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/9.424, allocations: 3.703 kB / 4.21 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/9.426, allocations: 1.388 MB / 4.211 GB, free: 207.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/9.432, allocations: 3.281 MB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/9.433, allocations: 3.562 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/9.433, allocations: 165.4 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/9.433, allocations: 11.53 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/9.433, allocations: 20.25 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/9.433, allocations: 10.56 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/9.433, allocations: 5.188 kB / 4.214 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003094/9.437, allocations: 2.538 MB / 4.217 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/9.438, allocations: 434.9 kB / 4.217 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/9.438, allocations: 14.12 kB / 4.217 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/9.439, allocations: 93.02 kB / 4.217 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/9.439, allocations: 89.23 kB / 4.217 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/9.439, allocations: 35.62 kB / 4.217 GB, free: 205.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00176/9.441, allocations: 1.153 MB / 4.219 GB, free: 205.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003159/9.444, allocations: 0.8964 MB / 4.219 GB, free: 205.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.003364/9.448, allocations: 2.398 MB / 4.222 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003108/9.451, allocations: 2.368 MB / 4.224 GB, free: 204.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/9.451, allocations: 3.75 kB / 4.224 GB, free: 204.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/9.452, allocations: 0.9166 MB / 4.225 GB, free: 204.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/9.456, allocations: 0.813 MB / 4.226 GB, free: 204.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/9.464, allocations: 3.12 MB / 4.229 GB, free: 203.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/9.465, allocations: 1.692 MB / 4.231 GB, free: 203 MB / 0.948 GB Notification: Performance of SimCode: time 1.854e-06/9.465, allocations: 0 / 4.231 GB, free: 203 MB / 0.948 GB Notification: Performance of Templates: time 0.08377/9.549, allocations: 48.9 MB / 4.278 GB, free: 202 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)