Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001099/0.001099, allocations: 168.1 kB / 366.3 MB, free: 1.953 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.114/1.114, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009074/0.0009078, allocations: 89.98 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.168e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5711, allocations: 116.3 MB / 0.9726 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.7464, allocations: 143.9 MB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.7468, allocations: 87.89 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02889/0.7757, allocations: 11.02 MB / 1.124 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.7757, allocations: 4 kB / 1.124 GB, free: 9.344 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007096/0.7764, allocations: 0.5831 MB / 1.125 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7765, allocations: 13.05 kB / 1.125 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.7766, allocations: 51.34 kB / 1.125 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.7772, allocations: 379 kB / 1.125 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7772, allocations: 4 kB / 1.125 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.7773, allocations: 8 kB / 1.125 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/0.7774, allocations: 47.98 kB / 1.125 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.7776, allocations: 81.61 kB / 1.125 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7776, allocations: 0 / 1.125 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7776, allocations: 3.984 kB / 1.125 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7776, allocations: 4 kB / 1.125 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.7783, allocations: 493 kB / 1.126 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.7785, allocations: 83.59 kB / 1.126 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.7785, allocations: 32.86 kB / 1.126 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.7786, allocations: 0 / 1.126 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.7787, allocations: 79.3 kB / 1.126 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.7787, allocations: 0 / 1.126 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002512/0.7789, allocations: 135.2 kB / 1.126 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.779, allocations: 51.41 kB / 1.126 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.7795, allocations: 466.1 kB / 1.126 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7795, allocations: 29.7 kB / 1.126 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.7796, allocations: 135.9 kB / 1.127 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.7796, allocations: 27.78 kB / 1.127 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.7797, allocations: 4 kB / 1.127 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7798, allocations: 358.8 kB / 1.127 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-05/0.7799, allocations: 64.36 kB / 1.127 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.78, allocations: 83.12 kB / 1.127 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.7802, allocations: 77.08 kB / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7802, allocations: 0 / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003825/0.7806, allocations: 235.8 kB / 1.127 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.7806, allocations: 4 kB / 1.127 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7807, allocations: 4.062 kB / 1.127 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7807, allocations: 4 kB / 1.127 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.7809, allocations: 39.91 kB / 1.127 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7809, allocations: 0 / 1.127 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.781, allocations: 12.59 kB / 1.127 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.7811, allocations: 19.92 kB / 1.127 GB, free: 5.582 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.411e-05/0.7812, allocations: 116.8 kB / 1.128 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.7812, allocations: 43.44 kB / 1.128 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.7815, allocations: 134.2 kB / 1.128 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7815, allocations: 0 / 1.128 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7815, allocations: 4 kB / 1.128 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.7815, allocations: 3.984 kB / 1.128 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.7818, allocations: 300.5 kB / 1.128 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7818, allocations: 0 / 1.128 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.7819, allocations: 11.94 kB / 1.128 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7819, allocations: 4 kB / 1.128 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7819, allocations: 8 kB / 1.128 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7819, allocations: 0 / 1.128 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7819, allocations: 0 / 1.128 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002715/0.7822, allocations: 200.4 kB / 1.128 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.7823, allocations: 120.5 kB / 1.128 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.7823, allocations: 4 kB / 1.128 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7825, allocations: 12.06 kB / 1.128 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.7825, allocations: 11.97 kB / 1.128 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.7825, allocations: 4 kB / 1.128 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003382/0.7829, allocations: 350.8 kB / 1.129 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002749/0.7832, allocations: 55.94 kB / 1.129 GB, free: 4.141 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.0008103/0.784, allocations: 362.8 kB / 1.129 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.7842, allocations: 111.9 kB / 1.129 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7842, allocations: 0 / 1.129 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.7843, allocations: 36 kB / 1.129 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.7846, allocations: 56.38 kB / 1.129 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.7855, allocations: 494.5 kB / 1.13 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.786, allocations: 0.8564 MB / 1.131 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.786, allocations: 0 / 1.131 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of Templates: time 0.00706/0.7931, allocations: 2.91 MB / 1.133 GB, free: 15.41 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)