Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001109/0.001109, allocations: 181.3 kB / 366.3 MB, free: 1.945 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.605/1.605, allocations: 205.1 MB / 0.6256 GB, free: 5.871 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.0009525/0.0009526, allocations: 79.06 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.755e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7416/0.7416, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/5.135, allocations: 2.342 GB / 3.315 GB, free: 111.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.135, allocations: 97.33 kB / 3.315 GB, free: 111.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.177/8.313, allocations: 0.8728 GB / 4.188 GB, free: 152.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002134/8.313, allocations: 62.3 kB / 4.188 GB, free: 152.4 MB / 0.9636 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.005602/8.319, allocations: 2.36 MB / 4.19 GB, free: 151.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/8.319, allocations: 11.19 kB / 4.19 GB, free: 151.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/8.321, allocations: 398.8 kB / 4.19 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/8.326, allocations: 2.063 MB / 4.192 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/8.326, allocations: 47.56 kB / 4.192 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/8.326, allocations: 89.69 kB / 4.193 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002294/8.328, allocations: 1.13 MB / 4.194 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/8.331, allocations: 1.389 MB / 4.195 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/8.331, allocations: 1.5 kB / 4.195 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/8.331, allocations: 3.5 kB / 4.195 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/8.331, allocations: 50.16 kB / 4.195 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/8.341, allocations: 6.71 MB / 4.202 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/8.342, allocations: 0.907 MB / 4.203 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/8.343, allocations: 0.5899 MB / 4.203 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/8.344, allocations: 0.6893 MB / 4.204 GB, free: 147.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/8.344, allocations: 49.98 kB / 4.204 GB, free: 147.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=83): time 3.486e-06/8.344, allocations: 0 / 4.204 GB, free: 147.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.006408/8.35, allocations: 2.75 MB / 4.207 GB, free: 147 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/8.35, allocations: 202.2 kB / 4.207 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/8.353, allocations: 1.506 MB / 4.208 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/8.354, allocations: 28.27 kB / 4.208 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/8.354, allocations: 0.576 MB / 4.209 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/8.355, allocations: 278.7 kB / 4.209 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/8.355, allocations: 2.406 kB / 4.209 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001316/8.355, allocations: 346.8 kB / 4.209 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008984/8.356, allocations: 0.576 MB / 4.21 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/8.357, allocations: 0.8356 MB / 4.211 GB, free: 145.7 MB / 0.9636 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.004698/8.362, allocations: 2.174 MB / 4.213 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/8.362, allocations: 3.438 kB / 4.213 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003237/8.365, allocations: 1.546 MB / 4.214 GB, free: 145.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004662/8.365, allocations: 1.46 MB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/8.365, allocations: 3.781 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/8.365, allocations: 9.75 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/8.366, allocations: 189.6 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/8.366, allocations: 9.344 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/8.368, allocations: 101.5 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/8.368, allocations: 43.62 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/8.368, allocations: 4.625 kB / 4.216 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002131/8.37, allocations: 1.341 MB / 4.217 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/8.37, allocations: 3.875 kB / 4.217 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/8.37, allocations: 12.09 kB / 4.217 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/8.371, allocations: 183.9 kB / 4.218 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/8.371, allocations: 10.41 kB / 4.218 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/8.373, allocations: 98.36 kB / 4.218 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/8.373, allocations: 49.12 kB / 4.218 GB, free: 143.7 MB / 0.9636 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.0003387/8.373, allocations: 219.6 kB / 4.218 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/8.374, allocations: 179.3 kB / 4.218 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/8.376, allocations: 1.287 MB / 4.219 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/8.376, allocations: 10.41 kB / 4.219 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/8.376, allocations: 0 / 4.219 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/8.378, allocations: 1.378 MB / 4.221 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/8.384, allocations: 3.276 MB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/8.384, allocations: 9.953 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/8.385, allocations: 167.5 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/8.385, allocations: 10.16 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/8.385, allocations: 20.19 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/8.385, allocations: 15.88 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/8.385, allocations: 6.656 kB / 4.224 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003094/8.388, allocations: 2.536 MB / 4.227 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/8.389, allocations: 438.8 kB / 4.227 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/8.389, allocations: 11.09 kB / 4.227 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/8.39, allocations: 88.64 kB / 4.227 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/8.391, allocations: 90.27 kB / 4.227 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/8.391, allocations: 36.19 kB / 4.227 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001744/8.392, allocations: 1.155 MB / 4.228 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003336/8.396, allocations: 0.8982 MB / 4.229 GB, free: 141.3 MB / 0.9636 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.003435/8.399, allocations: 2.396 MB / 4.232 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003177/8.402, allocations: 2.375 MB / 4.234 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/8.402, allocations: 0 / 4.234 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/8.404, allocations: 0.9082 MB / 4.235 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/8.408, allocations: 0.812 MB / 4.236 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/8.417, allocations: 3.111 MB / 4.239 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002649/8.42, allocations: 1.698 MB / 4.24 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.803e-06/8.42, allocations: 0.6562 kB / 4.24 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.08554/8.505, allocations: 48.9 MB / 4.288 GB, free: 137.1 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)