Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8232/0.8232, allocations: 141.8 MB / 149.1 MB, free: 1.336 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 183 kB / 182 MB, free: 2.152 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.3 MB / 436 MB, free: 7.992 MB / 322.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 100.3 kB / 0.507 GB, free: 7.508 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 282.6 kB / 0.5885 GB, free: 98.51 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.204e-06, allocations: 0 / 0.6759 GB, free: 9.582 MB / 450.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5553, allocations: 82.75 MB / 0.7567 GB, free: 68.93 MB / 0.5028 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.742/5.297, allocations: 2.144 GB / 2.901 GB, free: 200.4 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.297, allocations: 93.08 kB / 2.901 GB, free: 200.4 MB / 0.6903 GB Notification: Performance of FrontEnd: time 4.232/9.529, allocations: 1.244 GB / 4.145 GB, free: 13.15 MB / 0.7215 GB Notification: Performance of Transformations before backend: time 0.0005955/9.53, allocations: 87.55 kB / 4.145 GB, free: 13.07 MB / 0.7215 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.01035/9.541, allocations: 3.475 MB / 4.149 GB, free: 9.484 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/9.541, allocations: 11.59 kB / 4.149 GB, free: 9.477 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/9.544, allocations: 0.5331 MB / 4.149 GB, free: 8.945 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00904/9.553, allocations: 3.319 MB / 4.152 GB, free: 5.645 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/9.553, allocations: 64 kB / 4.153 GB, free: 5.582 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/9.554, allocations: 131.9 kB / 4.153 GB, free: 5.453 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00318/9.557, allocations: 1.745 MB / 4.154 GB, free: 3.703 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/9.56, allocations: 2.124 MB / 4.156 GB, free: 1.531 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/9.561, allocations: 0 / 4.156 GB, free: 1.531 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/9.561, allocations: 8 kB / 4.156 GB, free: 1.523 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/9.561, allocations: 67.62 kB / 4.156 GB, free: 1.457 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/9.579, allocations: 10.25 MB / 4.166 GB, free: 7.047 MB / 0.7372 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/9.582, allocations: 1.324 MB / 4.168 GB, free: 5.723 MB / 0.7372 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/9.583, allocations: 0.9239 MB / 4.169 GB, free: 4.801 MB / 0.7372 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/9.584, allocations: 1.175 MB / 4.17 GB, free: 3.375 MB / 0.7372 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/9.584, allocations: 47.56 kB / 4.17 GB, free: 3.32 MB / 0.7372 GB Notification: Performance of pre-optimization done (n=113): time 4.007e-06/9.584, allocations: 0 / 4.17 GB, free: 3.32 MB / 0.7372 GB Notification: Performance of matching and sorting (n=115): time 0.4021/9.986, allocations: 4.252 MB / 4.174 GB, free: 117.7 MB / 0.7372 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/9.987, allocations: 289.3 kB / 4.174 GB, free: 117.4 MB / 0.7372 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/9.991, allocations: 2.584 MB / 4.177 GB, free: 117.2 MB / 0.7372 GB Notification: Performance of collectPreVariables (initialization): time 0.0003648/9.991, allocations: 33.17 kB / 4.177 GB, free: 117.1 MB / 0.7372 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/9.992, allocations: 0.8515 MB / 4.178 GB, free: 117 MB / 0.7372 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/9.992, allocations: 377.3 kB / 4.178 GB, free: 116.8 MB / 0.7372 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/9.992, allocations: 5.906 kB / 4.178 GB, free: 116.8 MB / 0.7372 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/9.992, allocations: 360.9 kB / 4.178 GB, free: 116.5 MB / 0.7372 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/9.993, allocations: 0.9949 MB / 4.179 GB, free: 116.5 MB / 0.7372 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/9.995, allocations: 1.393 MB / 4.181 GB, free: 116.1 MB / 0.7372 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.004678/9.999, allocations: 2.554 MB / 4.183 GB, free: 115.7 MB / 0.7372 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/9.999, allocations: 3.344 kB / 4.183 GB, free: 115.7 MB / 0.7372 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004011/10, allocations: 2.578 MB / 4.186 GB, free: 115.5 MB / 0.7372 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004433/10, allocations: 2.502 MB / 4.188 GB, free: 113 MB / 0.7372 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/10, allocations: 3.719 kB / 4.188 GB, free: 113 MB / 0.7372 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/10, allocations: 17.59 kB / 4.188 GB, free: 113 MB / 0.7372 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/10.01, allocations: 264.4 kB / 4.188 GB, free: 113 MB / 0.7372 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/10.01, allocations: 0.6279 MB / 4.189 GB, free: 112.4 MB / 0.7372 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/10.01, allocations: 154.7 kB / 4.189 GB, free: 112.4 MB / 0.7372 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/10.01, allocations: 77.72 kB / 4.189 GB, free: 112.4 MB / 0.7372 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/10.01, allocations: 3.344 kB / 4.189 GB, free: 112.4 MB / 0.7372 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003253/10.01, allocations: 2.267 MB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/10.01, allocations: 7.531 kB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/10.01, allocations: 13 kB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/10.01, allocations: 263.8 kB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/10.01, allocations: 20.31 kB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/10.01, allocations: 142.9 kB / 4.192 GB, free: 112.3 MB / 0.7372 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/10.02, allocations: 71.53 kB / 4.192 GB, free: 112.3 MB / 0.7372 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.0004552/10.02, allocations: 328.1 kB / 4.192 GB, free: 112 MB / 0.7372 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/10.02, allocations: 284 kB / 4.193 GB, free: 111.9 MB / 0.7372 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/10.02, allocations: 2.055 MB / 4.195 GB, free: 111.8 MB / 0.7372 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/10.02, allocations: 16.91 kB / 4.195 GB, free: 111.8 MB / 0.7372 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/10.02, allocations: 9.25 kB / 4.195 GB, free: 111.8 MB / 0.7372 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/10.02, allocations: 1.868 MB / 4.196 GB, free: 111.5 MB / 0.7372 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008313/10.03, allocations: 5.098 MB / 4.201 GB, free: 111 MB / 0.7372 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/10.03, allocations: 11.36 kB / 4.201 GB, free: 111 MB / 0.7372 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/10.03, allocations: 219.8 kB / 4.202 GB, free: 111 MB / 0.7372 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/10.03, allocations: 11.75 kB / 4.202 GB, free: 111 MB / 0.7372 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/10.03, allocations: 23.08 kB / 4.202 GB, free: 111 MB / 0.7372 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000312/10.03, allocations: 0.6229 MB / 4.202 GB, free: 110.4 MB / 0.7372 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/10.03, allocations: 6.719 kB / 4.202 GB, free: 110.4 MB / 0.7372 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005276/10.04, allocations: 4.021 MB / 4.206 GB, free: 109.2 MB / 0.7372 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/10.04, allocations: 0.6522 MB / 4.207 GB, free: 109 MB / 0.7372 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/10.04, allocations: 20.55 kB / 4.207 GB, free: 109 MB / 0.7372 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/10.04, allocations: 130.1 kB / 4.207 GB, free: 109 MB / 0.7372 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/10.04, allocations: 134.9 kB / 4.207 GB, free: 109 MB / 0.7372 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/10.04, allocations: 54.89 kB / 4.207 GB, free: 109 MB / 0.7372 GB Notification: Performance of sort global known variables: time 0.003357/10.05, allocations: 1.956 MB / 4.209 GB, free: 108.8 MB / 0.7372 GB Notification: Performance of remove unused functions: time 0.004785/10.05, allocations: 1.326 MB / 4.21 GB, free: 108.8 MB / 0.7372 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.004304/10.05, allocations: 2.977 MB / 4.213 GB, free: 108 MB / 0.7372 GB Notification: Performance of simCode: created initialization part: time 0.004923/10.06, allocations: 4.06 MB / 4.217 GB, free: 107.2 MB / 0.7372 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/10.06, allocations: 3.562 kB / 4.217 GB, free: 107.2 MB / 0.7372 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/10.06, allocations: 1.685 MB / 4.219 GB, free: 107 MB / 0.7372 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006708/10.07, allocations: 1.311 MB / 4.22 GB, free: 107 MB / 0.7372 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/10.08, allocations: 4.848 MB / 4.225 GB, free: 105.9 MB / 0.7372 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/10.08, allocations: 2.277 MB / 4.227 GB, free: 105.1 MB / 0.7372 GB Notification: Performance of SimCode: time 1.182e-06/10.08, allocations: 0 / 4.227 GB, free: 105.1 MB / 0.7372 GB Notification: Performance of Templates: time 0.1302/10.21, allocations: 73.95 MB / 4.299 GB, free: 101.4 MB / 0.7372 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)