Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [: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.436/1.436, allocations: 285.5 MB / 292.8 MB, free: 10.36 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.001182/0.001182, allocations: 181.3 kB / 361.1 MB, free: 7.059 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.243/1.243, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009735/0.0009736, allocations: 92.5 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.436e-05, allocations: 4 kB / 0.8511 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5109, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.6619, allocations: 143.6 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.6622, allocations: 96.08 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03384/0.696, allocations: 12.05 MB / 1.116 GB, free: 244 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.016e-05/0.6961, allocations: 12 kB / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00128/0.6974, allocations: 0.6576 MB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6975, allocations: 12.02 kB / 1.116 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.6977, allocations: 59.25 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.6986, allocations: 427.1 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6986, allocations: 4 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.6987, allocations: 8 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000202/0.6989, allocations: 80.45 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.6991, allocations: 116.9 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6992, allocations: 0 / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.6992, allocations: 1.25 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6992, allocations: 4 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.7003, allocations: 0.6178 MB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.7006, allocations: 120.2 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.7007, allocations: 48.86 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.7007, allocations: 0 / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.7009, allocations: 91.42 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.7009, allocations: 3.938 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003346/0.7012, allocations: 157.2 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.7013, allocations: 51.41 kB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.7021, allocations: 0.5453 MB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.7021, allocations: 33.7 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.7023, allocations: 156.3 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.7023, allocations: 31.62 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.7023, allocations: 0 / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.7026, allocations: 370.7 kB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.7027, allocations: 79.98 kB / 1.119 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.703, allocations: 116.3 kB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.7033, allocations: 97.59 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7034, allocations: 3.938 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006102/0.704, allocations: 285.3 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.704, allocations: 4 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.704, allocations: 0 / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.704, allocations: 4 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.7043, allocations: 39.91 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7043, allocations: 0 / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.7045, allocations: 35.86 kB / 1.12 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.7046, allocations: 9.75 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001044/0.7047, allocations: 120.9 kB / 1.12 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.7048, allocations: 55.25 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.7051, allocations: 166.3 kB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7051, allocations: 3.938 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7051, allocations: 0 / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7051, allocations: 3.984 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.7055, allocations: 345.9 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7055, allocations: 0 / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.7056, allocations: 11.98 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7056, allocations: 0 / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.7056, allocations: 4 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7056, allocations: 7.938 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7056, allocations: 0.5625 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003975/0.706, allocations: 237.8 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.7062, allocations: 128.4 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.7063, allocations: 4 kB / 1.121 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.7064, allocations: 20.05 kB / 1.121 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.7065, allocations: 23.95 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.7066, allocations: 8.734 kB / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004414/0.707, allocations: 402.9 kB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003349/0.7074, allocations: 71.97 kB / 1.121 GB, free: 10.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007343/0.7081, allocations: 367.8 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.7084, allocations: 147.9 kB / 1.122 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7084, allocations: 0 / 1.122 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.7085, allocations: 56.05 kB / 1.122 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.7089, allocations: 62.89 kB / 1.122 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.7101, allocations: 0.5921 MB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.7107, allocations: 0.8914 MB / 1.124 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.7107, allocations: 10 kB / 1.124 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.008424/0.7191, allocations: 3.527 MB / 1.127 GB, free: 4.637 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)