Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.379/2.379, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.00157/0.00157, allocations: 177.3 kB / 360.4 MB, free: 7.52 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.775/1.775, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001297/0.001296, allocations: 86.39 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.114e-05/1.123e-05, allocations: 0 / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.6283, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.373/6.001, allocations: 2.341 GB / 3.304 GB, free: 47.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/6.002, allocations: 94.77 kB / 3.304 GB, free: 47.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.219/10.22, allocations: 0.8728 GB / 4.177 GB, free: 140 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004024/10.22, allocations: 61.58 kB / 4.177 GB, free: 139.9 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.00782/10.23, allocations: 2.361 MB / 4.179 GB, free: 138.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/10.23, allocations: 7.438 kB / 4.179 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/10.23, allocations: 394.9 kB / 4.18 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/10.24, allocations: 2.077 MB / 4.182 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/10.24, allocations: 44.34 kB / 4.182 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/10.24, allocations: 84.97 kB / 4.182 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003987/10.24, allocations: 1.13 MB / 4.183 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00452/10.25, allocations: 1.39 MB / 4.184 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/10.25, allocations: 2.969 kB / 4.184 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/10.25, allocations: 3.75 kB / 4.184 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/10.25, allocations: 47.78 kB / 4.184 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/10.27, allocations: 6.712 MB / 4.191 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/10.27, allocations: 0.9014 MB / 4.192 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/10.27, allocations: 0.5891 MB / 4.192 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008341/10.27, allocations: 0.6863 MB / 4.193 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/10.27, allocations: 41.22 kB / 4.193 GB, free: 134.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 3.987e-06/10.27, allocations: 3.156 kB / 4.193 GB, free: 134.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.01025/10.28, allocations: 2.747 MB / 4.196 GB, free: 134.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/10.28, allocations: 204.8 kB / 4.196 GB, free: 134.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/10.29, allocations: 1.505 MB / 4.197 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003962/10.29, allocations: 29.64 kB / 4.197 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/10.29, allocations: 0.5763 MB / 4.198 GB, free: 133.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/10.29, allocations: 285.9 kB / 4.198 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/10.29, allocations: 0 / 4.198 GB, free: 133.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/10.29, allocations: 348.8 kB / 4.198 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/10.29, allocations: 0.5758 MB / 4.199 GB, free: 133.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/10.29, allocations: 0.8381 MB / 4.2 GB, free: 132.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.007985/10.3, allocations: 2.171 MB / 4.202 GB, free: 132.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/10.3, allocations: 6.344 kB / 4.202 GB, free: 132.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004406/10.3, allocations: 1.543 MB / 4.203 GB, free: 132.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/10.3, allocations: 1.456 MB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/10.3, allocations: 2.875 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/10.3, allocations: 10.31 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/10.31, allocations: 190.4 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/10.31, allocations: 8.344 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/10.31, allocations: 96.02 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/10.31, allocations: 46.89 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/10.31, allocations: 3.875 kB / 4.205 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0036/10.31, allocations: 1.344 MB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/10.31, allocations: 6.344 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/10.31, allocations: 9.312 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/10.31, allocations: 187.3 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/10.31, allocations: 7.594 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/10.32, allocations: 100.2 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/10.32, allocations: 44.39 kB / 4.207 GB, free: 130.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.0004732/10.32, allocations: 228.1 kB / 4.207 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006864/10.32, allocations: 175.6 kB / 4.207 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/10.32, allocations: 1.291 MB / 4.209 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/10.32, allocations: 8.188 kB / 4.209 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/10.32, allocations: 2.906 kB / 4.209 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002804/10.33, allocations: 1.378 MB / 4.21 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009417/10.33, allocations: 3.283 MB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/10.33, allocations: 7.219 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/10.34, allocations: 169.9 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-05/10.34, allocations: 7.062 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/10.34, allocations: 18.5 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/10.34, allocations: 9.719 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/10.34, allocations: 13.38 kB / 4.213 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005112/10.34, allocations: 2.532 MB / 4.216 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/10.34, allocations: 432 kB / 4.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005889/10.34, allocations: 21.3 kB / 4.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/10.35, allocations: 85.39 kB / 4.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/10.35, allocations: 91.23 kB / 4.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/10.35, allocations: 38.48 kB / 4.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002854/10.35, allocations: 1.149 MB / 4.218 GB, free: 128.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004986/10.36, allocations: 0.8951 MB / 4.218 GB, free: 128.4 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.004639/10.36, allocations: 2.389 MB / 4.221 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005151/10.36, allocations: 2.372 MB / 4.223 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/10.37, allocations: 3.5 kB / 4.223 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/10.37, allocations: 0.9086 MB / 4.224 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007529/10.37, allocations: 0.8143 MB / 4.225 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/10.39, allocations: 3.129 MB / 4.228 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/10.39, allocations: 1.692 MB / 4.229 GB, free: 125.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/10.39, allocations: 0 / 4.229 GB, free: 125.7 MB / 0.948 GB Notification: Performance of Templates: time 0.132/10.52, allocations: 48.9 MB / 4.277 GB, free: 123.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)