Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.171/2.171, 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.001634/0.001634, allocations: 185.2 kB / 360.4 MB, free: 7.504 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.879/1.879, 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.001248/0.001248, allocations: 90.38 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/1.016e-05, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6269, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.8584, allocations: 143.4 MB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.8588, allocations: 88.55 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05572/0.9145, allocations: 12.06 MB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.9147, allocations: 8 kB / 1.115 GB, free: 1.172 MB / 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.001621/0.9163, allocations: 0.6591 MB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.9164, allocations: 12.03 kB / 1.115 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.9166, allocations: 55.25 kB / 1.115 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.9182, allocations: 431.1 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.9183, allocations: 8 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.9184, allocations: 9.5 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004291/0.9188, allocations: 76.44 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.9193, allocations: 110.2 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9194, allocations: 0 / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.9194, allocations: 4 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.9194, allocations: 3.984 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.9216, allocations: 0.6217 MB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.9222, allocations: 122.6 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.9224, allocations: 44.98 kB / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.9225, allocations: 0 / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.9228, allocations: 91.33 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 3.196e-06/0.9228, allocations: 0 / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000633/0.9235, allocations: 153.2 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.9236, allocations: 63.41 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009479/0.9331, allocations: 0.5453 MB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.9332, allocations: 25.7 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.9334, allocations: 160.3 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.9335, allocations: 27.61 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.9336, allocations: 0 / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002734/0.9338, allocations: 370.7 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.9342, allocations: 87.97 kB / 1.118 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.9346, allocations: 118.7 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.9352, allocations: 99.53 kB / 1.118 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9353, allocations: 0 / 1.118 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.005434/0.9407, allocations: 272.8 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.9408, allocations: 8 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.9408, allocations: 0 / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.9408, allocations: 0 / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.9413, allocations: 51.72 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.9414, allocations: 4 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.9419, allocations: 29.2 kB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.942, allocations: 11.98 kB / 1.119 GB, free: 12.75 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.0001777/0.9422, allocations: 120.7 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.9424, allocations: 55.25 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.9431, allocations: 162.3 kB / 1.119 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9432, allocations: 7.984 kB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9432, allocations: 0 / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.9432, allocations: 3.938 kB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.944, allocations: 341.9 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.944, allocations: 4 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.9442, allocations: 15.92 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.9442, allocations: 4 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003885/0.9481, allocations: 2.125 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.9481, allocations: 0 / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9482, allocations: 0 / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008568/0.949, allocations: 246.1 kB / 1.12 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.9493, allocations: 124.5 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.9494, allocations: 3.984 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.9498, allocations: 20.05 kB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.95, allocations: 23.97 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.95, allocations: 7.984 kB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00108/0.9511, allocations: 398.9 kB / 1.12 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000809/0.952, allocations: 71.97 kB / 1.12 GB, free: 11.09 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.001398/0.9534, allocations: 373.5 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006172/0.954, allocations: 143.9 kB / 1.121 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.954, allocations: 0 / 1.121 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.9543, allocations: 55.92 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.9552, allocations: 61.7 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.9659, allocations: 0.5846 MB / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.967, allocations: 0.9013 MB / 1.122 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of SimCode: time 1.323e-06/0.9671, allocations: 0 / 1.122 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of Templates: time 0.02688/0.9939, allocations: 3.527 MB / 1.126 GB, free: 5.629 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)