Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001216/0.001216, allocations: 175.8 kB / 366.3 MB, free: 1.984 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.273/1.273, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.000894/0.0008941, allocations: 86.19 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.887e-06, allocations: 4 kB / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4747, allocations: 116.3 MB / 0.9726 GB, free: 76.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.6211, allocations: 144.6 MB / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.6214, allocations: 83.95 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03106/0.6525, allocations: 12.06 MB / 1.126 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.837e-05/0.6525, allocations: 8 kB / 1.126 GB, free: 9.727 MB / 0.7292 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.0007751/0.6533, allocations: 0.6617 MB / 1.126 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6534, allocations: 14.28 kB / 1.126 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.6535, allocations: 55.25 kB / 1.126 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.6542, allocations: 439.1 kB / 1.127 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6542, allocations: 4 kB / 1.127 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.6542, allocations: 8 kB / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001748/0.6544, allocations: 76.45 kB / 1.127 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.6546, allocations: 108.2 kB / 1.127 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.6546, allocations: 3.938 kB / 1.127 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.6547, allocations: 4 kB / 1.127 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6547, allocations: 4 kB / 1.127 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.6555, allocations: 0.6061 MB / 1.128 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.6558, allocations: 130.7 kB / 1.128 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.6559, allocations: 44.8 kB / 1.128 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.6559, allocations: 0 / 1.128 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.656, allocations: 95.38 kB / 1.128 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.656, allocations: 0 / 1.128 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002653/0.6563, allocations: 153.2 kB / 1.128 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.6563, allocations: 55.41 kB / 1.128 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.6569, allocations: 0.5453 MB / 1.129 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.657, allocations: 29.69 kB / 1.129 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.6571, allocations: 156.3 kB / 1.129 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.6571, allocations: 31.61 kB / 1.129 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.6571, allocations: 1.219 kB / 1.129 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6573, allocations: 374.7 kB / 1.129 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.6574, allocations: 84.86 kB / 1.129 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.6576, allocations: 123.3 kB / 1.129 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.6578, allocations: 88.55 kB / 1.129 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6578, allocations: 0 / 1.129 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004613/0.6583, allocations: 287.7 kB / 1.13 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6583, allocations: 8 kB / 1.13 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6583, allocations: 0 / 1.13 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6583, allocations: 0 / 1.13 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.6585, allocations: 35.92 kB / 1.13 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6585, allocations: 4 kB / 1.13 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6587, allocations: 35.84 kB / 1.13 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6588, allocations: 13.22 kB / 1.13 GB, free: 5.289 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.0001057/0.6589, allocations: 112.9 kB / 1.13 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.659, allocations: 55.25 kB / 1.13 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.6592, allocations: 162.3 kB / 1.13 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.6593, allocations: 8 kB / 1.13 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6593, allocations: 5.5 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6593, allocations: 0 / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.6596, allocations: 345.9 kB / 1.13 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6596, allocations: 0 / 1.13 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.6597, allocations: 11.94 kB / 1.13 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6597, allocations: 4 kB / 1.13 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6597, allocations: 3.984 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6597, allocations: 1.016 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6597, allocations: 1.031 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000329/0.6601, allocations: 247.2 kB / 1.131 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6602, allocations: 128.4 kB / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.6603, allocations: 1.438 kB / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.6604, allocations: 15.98 kB / 1.131 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.6605, allocations: 32.02 kB / 1.131 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.6605, allocations: 8 kB / 1.131 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003852/0.6609, allocations: 394.9 kB / 1.131 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002967/0.6612, allocations: 79.89 kB / 1.131 GB, free: 3.629 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.0007264/0.662, allocations: 360.4 kB / 1.132 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.6622, allocations: 139.9 kB / 1.132 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6622, allocations: 0 / 1.132 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.6623, allocations: 51.94 kB / 1.132 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.6627, allocations: 74.03 kB / 1.132 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.6637, allocations: 0.5845 MB / 1.132 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.6642, allocations: 0.8935 MB / 1.133 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of SimCode: time 3.026e-06/0.6643, allocations: 0 / 1.133 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of Templates: time 0.007887/0.6721, allocations: 3.546 MB / 1.137 GB, free: 14.14 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)