Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.389/2.389, 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.001546/0.001546, allocations: 189.2 kB / 360.4 MB, free: 7.484 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.727/1.727, allocations: 205.2 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.001263/0.001263, allocations: 99.09 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.153e-05, allocations: 4 kB / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6299, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.8673, allocations: 142.8 MB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.8677, allocations: 82.03 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0809/0.9486, allocations: 11.03 MB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.255e-05/0.9488, allocations: 4 kB / 1.113 GB, free: 2.797 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.001803/0.9506, allocations: 0.5831 MB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.9507, allocations: 12.03 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.951, allocations: 47.34 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.9527, allocations: 379 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.9528, allocations: 8 kB / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.9529, allocations: 7.984 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003463/0.9533, allocations: 44 kB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.9537, allocations: 81.66 kB / 1.114 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.9537, allocations: 0 / 1.114 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.9537, allocations: 0 / 1.114 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.9538, allocations: 4 kB / 1.114 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.9557, allocations: 488.9 kB / 1.115 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.9561, allocations: 82.58 kB / 1.115 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.9563, allocations: 40.92 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.9564, allocations: 0 / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.9567, allocations: 81.64 kB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 7.464e-06/0.9567, allocations: 3.984 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0006688/0.9574, allocations: 129 kB / 1.115 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.9575, allocations: 51.41 kB / 1.115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.9589, allocations: 466.1 kB / 1.115 GB, free: 156 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.959, allocations: 29.7 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.9593, allocations: 144.1 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.9594, allocations: 27.78 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.9595, allocations: 0 / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002773/0.9598, allocations: 358.8 kB / 1.116 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.9601, allocations: 61.58 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.9604, allocations: 83.12 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.9611, allocations: 82.2 kB / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.9611, allocations: 0 / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001154/0.9623, allocations: 236 kB / 1.116 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.9623, allocations: 4 kB / 1.116 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.9624, allocations: 4 kB / 1.116 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.9624, allocations: 0 / 1.116 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.9629, allocations: 35.92 kB / 1.116 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.9629, allocations: 0 / 1.116 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.9634, allocations: 28.7 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.9635, allocations: 8 kB / 1.117 GB, free: 15.04 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 0.0001939/0.9637, allocations: 119.7 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.9639, allocations: 45.5 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.9646, allocations: 139.2 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9647, allocations: 4 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.9647, allocations: 1.688 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.9647, allocations: 0 / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.9654, allocations: 297.9 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9654, allocations: 4 kB / 1.117 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.9657, allocations: 15.98 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.9657, allocations: 3.938 kB / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.9658, allocations: 0 / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.9658, allocations: 0 / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.9658, allocations: 4 kB / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007757/0.9666, allocations: 206.5 kB / 1.117 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.9669, allocations: 112.5 kB / 1.117 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.967, allocations: 7.984 kB / 1.117 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.9674, allocations: 8.875 kB / 1.117 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.9675, allocations: 11.97 kB / 1.117 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.9676, allocations: 4 kB / 1.117 GB, free: 14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00102/0.9686, allocations: 350.9 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008527/0.9695, allocations: 63.92 kB / 1.118 GB, free: 13.6 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.001672/0.9712, allocations: 350 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006167/0.9719, allocations: 108 kB / 1.118 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.9719, allocations: 0 / 1.118 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.9721, allocations: 46.73 kB / 1.118 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.9732, allocations: 55.53 kB / 1.118 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.9756, allocations: 486.6 kB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.9767, allocations: 0.8641 MB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.074e-06/0.9767, allocations: 0 / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.01893/0.9957, allocations: 2.906 MB / 1.123 GB, free: 8.973 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)