Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [: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.461/1.461, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001061/0.001061, allocations: 169.3 kB / 361.1 MB, free: 7.086 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.139/1.139, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008701/0.00087, allocations: 96.89 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.863e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4826, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.6386, allocations: 142.9 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.6389, allocations: 84.52 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03025/0.6692, allocations: 11.02 MB / 1.114 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.6692, allocations: 8 kB / 1.114 GB, free: 1.938 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007936/0.67, allocations: 0.5831 MB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6701, allocations: 8.031 kB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.6702, allocations: 55.33 kB / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.6709, allocations: 375.1 kB / 1.115 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6709, allocations: 4 kB / 1.115 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.671, allocations: 4 kB / 1.115 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001483/0.6711, allocations: 51.92 kB / 1.115 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.6713, allocations: 81.67 kB / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6713, allocations: 0 / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6714, allocations: 0 / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6714, allocations: 0 / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.6722, allocations: 494.8 kB / 1.116 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.6724, allocations: 82.72 kB / 1.116 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.6724, allocations: 28.86 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.6725, allocations: 8.125 kB / 1.116 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.6726, allocations: 87.23 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.6726, allocations: 0 / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002758/0.6729, allocations: 125.1 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.6729, allocations: 56.53 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.6735, allocations: 462.1 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.6735, allocations: 33.69 kB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.6736, allocations: 137.2 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.6737, allocations: 31.78 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.6737, allocations: 8 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6738, allocations: 358.8 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.6739, allocations: 56.36 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.6741, allocations: 85.75 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.6743, allocations: 79.72 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6743, allocations: 0 / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004648/0.6748, allocations: 236.9 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6748, allocations: 5.125 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6748, allocations: 2.188 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6749, allocations: 4 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6751, allocations: 39.97 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6751, allocations: 0 / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.6752, allocations: 15.88 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.6753, allocations: 16.02 kB / 1.118 GB, free: 14.18 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: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.506e-05/0.6754, allocations: 114.9 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.6754, allocations: 43.44 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.6757, allocations: 145.3 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6757, allocations: 0 / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6757, allocations: 1.875 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6757, allocations: 3.984 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.676, allocations: 290 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.676, allocations: 7.984 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.6761, allocations: 8 kB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6761, allocations: 4 kB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6761, allocations: 0 / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6761, allocations: 0 / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6762, allocations: 0 / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002943/0.6765, allocations: 200.4 kB / 1.118 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.6766, allocations: 124.5 kB / 1.118 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.6766, allocations: 64 / 1.118 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6767, allocations: 12 kB / 1.118 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.6768, allocations: 14.47 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.6768, allocations: 4 kB / 1.119 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003689/0.6772, allocations: 350.8 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002952/0.6775, allocations: 59.94 kB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007253/0.6782, allocations: 357.8 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.6785, allocations: 111.9 kB / 1.119 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6785, allocations: 0 / 1.119 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.6785, allocations: 44 kB / 1.119 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.6789, allocations: 62 kB / 1.119 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.6799, allocations: 486.6 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.6803, allocations: 0.8532 MB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.6803, allocations: 0 / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.007243/0.6876, allocations: 2.914 MB / 1.124 GB, free: 8.09 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)