Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.355/2.355, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 185 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 97.44 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.036e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2195, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6846/0.9042, allocations: 137 MB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.9046, allocations: 90.48 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04917/0.9538, allocations: 10.63 MB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.384e-05/0.9539, allocations: 11.94 kB / 1.032 GB, free: 8.305 MB / 0.6511 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.001082/0.955, allocations: 0.5938 MB / 1.033 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.9551, allocations: 8.031 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.9552, allocations: 47.38 kB / 1.033 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.9562, allocations: 361.6 kB / 1.033 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.9563, allocations: 4 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.9563, allocations: 4 kB / 1.033 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002594/0.9566, allocations: 49.8 kB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.9569, allocations: 87.95 kB / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.9569, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.9569, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.9569, allocations: 3.938 kB / 1.033 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.9581, allocations: 481.5 kB / 1.034 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.9584, allocations: 78.59 kB / 1.034 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.9585, allocations: 35.11 kB / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.9585, allocations: 3.984 kB / 1.034 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.9587, allocations: 85.86 kB / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.9588, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004218/0.9592, allocations: 118.6 kB / 1.034 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9592, allocations: 59.39 kB / 1.034 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.9601, allocations: 455.7 kB / 1.035 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.9602, allocations: 25.7 kB / 1.035 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.9603, allocations: 143.9 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.9604, allocations: 30.52 kB / 1.035 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.9604, allocations: 4 kB / 1.035 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9606, allocations: 355.3 kB / 1.035 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.9608, allocations: 60.61 kB / 1.035 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.961, allocations: 78.75 kB / 1.035 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.9613, allocations: 71.16 kB / 1.035 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9613, allocations: 0 / 1.035 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005822/0.9619, allocations: 223.4 kB / 1.036 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9619, allocations: 6.188 kB / 1.036 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.9619, allocations: 4 kB / 1.036 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.962, allocations: 0 / 1.036 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.9623, allocations: 35.83 kB / 1.036 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9623, allocations: 4.094 kB / 1.036 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.9626, allocations: 15.92 kB / 1.036 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.9626, allocations: 15.59 kB / 1.036 GB, free: 5.086 MB / 0.6511 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.0001281/0.9628, allocations: 112.9 kB / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.9629, allocations: 43.44 kB / 1.036 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.9633, allocations: 133.4 kB / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9634, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9634, allocations: 4 kB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9634, allocations: 0 / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.9639, allocations: 291.2 kB / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9639, allocations: 0 / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.9641, allocations: 23.81 kB / 1.036 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.9641, allocations: 0 / 1.036 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.9641, allocations: 0 / 1.036 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9641, allocations: 3.938 kB / 1.036 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9641, allocations: 3.984 kB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004719/0.9646, allocations: 189.3 kB / 1.037 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9648, allocations: 119.5 kB / 1.037 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.9649, allocations: 7.109 kB / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.9651, allocations: 12.06 kB / 1.037 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.9652, allocations: 11.97 kB / 1.037 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9652, allocations: 4 kB / 1.037 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006307/0.9658, allocations: 336.7 kB / 1.037 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004858/0.9664, allocations: 55.42 kB / 1.037 GB, free: 3.859 MB / 0.6511 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.001027/0.9674, allocations: 341.5 kB / 1.037 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.9678, allocations: 111.1 kB / 1.037 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9678, allocations: 0 / 1.037 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.968, allocations: 32.25 kB / 1.037 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.9686, allocations: 64.02 kB / 1.038 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.9702, allocations: 478.7 kB / 1.038 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.9709, allocations: 0.8547 MB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/0.9709, allocations: 0 / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of Templates: time 0.01208/0.983, allocations: 2.691 MB / 1.041 GB, free: 15.49 MB / 0.6667 GB