[: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 loadModel(Buildings): time 3.2/3.2, allocations: 403.9 MB / 410.9 MB, free: 2.141 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.206e-06, allocations: 0 / 0.494 GB, free: 4.531 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4148, allocations: 92.78 MB / 0.5846 GB, free: 1.848 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.554/4.969, allocations: 2.465 GB / 3.05 GB, free: 64.04 MB / 0.7741 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/4.969, allocations: 90.39 kB / 3.05 GB, free: 63.99 MB / 0.7741 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 37.8/42.77, allocations: 8.904 GB / 11.95 GB, free: 54.63 MB / 0.9147 GB Notification: Performance of Transformations before backend: time 0.004978/42.77, allocations: 390.1 kB / 11.95 GB, free: 54.58 MB / 0.9147 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3086 * Number of variables: 3086 Notification: Performance of Generate backend data structure: time 0.06647/42.84, allocations: 15.26 MB / 11.97 GB, free: 49.62 MB / 0.9147 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/42.84, allocations: 15.06 kB / 11.97 GB, free: 49.62 MB / 0.9147 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03629/42.87, allocations: 3.58 MB / 11.97 GB, free: 48.69 MB / 0.9147 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09481/42.97, allocations: 31.99 MB / 12 GB, free: 46.4 MB / 0.9147 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008878/42.97, allocations: 386.9 kB / 12 GB, free: 46.4 MB / 0.9147 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006808/42.98, allocations: 0.723 MB / 12.01 GB, free: 46.39 MB / 0.9147 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05312/43.03, allocations: 19.3 MB / 12.02 GB, free: 46.34 MB / 0.9147 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06586/43.1, allocations: 20.58 MB / 12.04 GB, free: 45.21 MB / 0.9147 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008527/43.1, allocations: 38.41 kB / 12.04 GB, free: 45.2 MB / 0.9147 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006028/43.1, allocations: 13.5 kB / 12.04 GB, free: 45.2 MB / 0.9147 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006499/43.1, allocations: 0.5663 MB / 12.04 GB, free: 45.18 MB / 0.9147 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1908/43.3, allocations: 94.9 MB / 12.14 GB, free: 27.5 MB / 0.9303 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/43.31, allocations: 9.398 MB / 12.15 GB, free: 27.36 MB / 0.9303 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01756/43.33, allocations: 8.603 MB / 12.15 GB, free: 27.24 MB / 0.9303 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/43.33, allocations: 0.7491 MB / 12.16 GB, free: 26.58 MB / 0.9303 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01815/43.35, allocations: 7.877 MB / 12.16 GB, free: 26.16 MB / 0.9303 GB Notification: Performance of pre-optimization done (n=735): time 1.991e-05/43.35, allocations: 0 / 12.16 GB, free: 26.16 MB / 0.9303 GB Notification: Performance of matching and sorting (n=759): time 0.2262/43.58, allocations: 57.52 MB / 12.22 GB, free: 3.34 MB / 0.9459 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004852/43.58, allocations: 0.8173 MB / 12.22 GB, free: 2.348 MB / 0.9459 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08481/43.66, allocations: 16.71 MB / 12.24 GB, free: 13.22 MB / 0.9616 GB Notification: Performance of collectPreVariables (initialization): time 0.002418/43.67, allocations: 38.98 kB / 12.24 GB, free: 13.18 MB / 0.9616 GB Notification: Performance of collectInitialEqns (initialization): time 0.01202/43.68, allocations: 4.687 MB / 12.24 GB, free: 9.145 MB / 0.9616 GB Notification: Performance of collectInitialBindings (initialization): time 0.02152/43.7, allocations: 2.646 MB / 12.24 GB, free: 6.688 MB / 0.9616 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/43.7, allocations: 0 / 12.24 GB, free: 6.688 MB / 0.9616 GB Notification: Performance of setup shared object (initialization): time 0.001175/43.7, allocations: 0.6652 MB / 12.24 GB, free: 6.109 MB / 0.9616 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/43.72, allocations: 6.323 MB / 12.25 GB, free: 0.7031 MB / 0.9616 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9059/44.62, allocations: 9.319 MB / 12.26 GB, free: 157.7 MB / 0.9616 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/44.64, allocations: 8.364 MB / 12.27 GB, free: 157.6 MB / 0.9616 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-05/44.64, allocations: 10.62 kB / 12.27 GB, free: 157.6 MB / 0.9616 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04352/44.68, allocations: 16.04 MB / 12.28 GB, free: 157.3 MB / 0.9616 GB Notification: Performance of prepare postOptimizeDAE: time 0.00406/44.69, allocations: 21.13 MB / 12.3 GB, free: 135.5 MB / 0.9616 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/44.69, allocations: 34.44 kB / 12.3 GB, free: 135.5 MB / 0.9616 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009585/44.69, allocations: 371.7 kB / 12.3 GB, free: 135.5 MB / 0.9616 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01521/44.7, allocations: 2.003 MB / 12.31 GB, free: 135.5 MB / 0.9616 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008645/44.71, allocations: 4.905 MB / 12.31 GB, free: 133.7 MB / 0.9616 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02084/44.73, allocations: 1.37 MB / 12.31 GB, free: 133.7 MB / 0.9616 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002882/44.74, allocations: 317.6 kB / 12.31 GB, free: 133.7 MB / 0.9616 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/44.74, allocations: 3.812 kB / 12.31 GB, free: 133.7 MB / 0.9616 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0396/44.78, allocations: 14.8 MB / 12.33 GB, free: 133.4 MB / 0.9616 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/44.78, allocations: 33.56 kB / 12.33 GB, free: 133.4 MB / 0.9616 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008264/44.78, allocations: 362.5 kB / 12.33 GB, free: 133.4 MB / 0.9616 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/44.79, allocations: 1.895 MB / 12.33 GB, free: 133.4 MB / 0.9616 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/44.8, allocations: 4.246 MB / 12.33 GB, free: 132.1 MB / 0.9616 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0204/44.82, allocations: 1.323 MB / 12.34 GB, free: 132.1 MB / 0.9616 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002899/44.82, allocations: 313.3 kB / 12.34 GB, free: 132.1 MB / 0.9616 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 157 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (955): * Single equations (assignments): 952 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00511/44.83, allocations: 325.5 kB / 12.34 GB, free: 132 MB / 0.9616 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005625/44.83, allocations: 1.149 MB / 12.34 GB, free: 132 MB / 0.9616 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04467/44.88, allocations: 16.04 MB / 12.35 GB, free: 131.4 MB / 0.9616 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/44.88, allocations: 83.62 kB / 12.35 GB, free: 131.4 MB / 0.9616 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.822e-05/44.88, allocations: 8.469 kB / 12.35 GB, free: 131.4 MB / 0.9616 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03249/44.91, allocations: 13.3 MB / 12.37 GB, free: 130.7 MB / 0.9616 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0996/45.01, allocations: 37.7 MB / 12.4 GB, free: 128.2 MB / 0.9616 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.976e-05/45.01, allocations: 21.89 kB / 12.4 GB, free: 128.2 MB / 0.9616 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01457/45.03, allocations: 1.967 MB / 12.4 GB, free: 128.2 MB / 0.9616 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/45.03, allocations: 0.9187 MB / 12.41 GB, free: 128.1 MB / 0.9616 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001968/45.03, allocations: 161.4 kB / 12.41 GB, free: 128.1 MB / 0.9616 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/45.05, allocations: 13.08 MB / 12.42 GB, free: 119.4 MB / 0.9616 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/45.05, allocations: 22 kB / 12.42 GB, free: 119.4 MB / 0.9616 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0486/45.09, allocations: 27.78 MB / 12.45 GB, free: 114.8 MB / 0.9616 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01355/45.11, allocations: 3.806 MB / 12.45 GB, free: 114.2 MB / 0.9616 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005936/45.11, allocations: 122.4 kB / 12.45 GB, free: 114.2 MB / 0.9616 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01861/45.13, allocations: 1.256 MB / 12.45 GB, free: 114.1 MB / 0.9616 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002492/45.13, allocations: 436.2 kB / 12.45 GB, free: 114.1 MB / 0.9616 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002232/45.14, allocations: 273.4 kB / 12.45 GB, free: 114.1 MB / 0.9616 GB Notification: Performance of sort global known variables: time 0.02618/45.16, allocations: 11.06 MB / 12.46 GB, free: 113.8 MB / 0.9616 GB Notification: Performance of remove unused functions: time 0.04785/45.21, allocations: 7.645 MB / 12.47 GB, free: 113.8 MB / 0.9616 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 51 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.m,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (725): * Single equations (assignments): 708 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 12 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01086/45.22, allocations: 5.169 MB / 12.47 GB, free: 111.8 MB / 0.9616 GB Notification: Performance of simCode: created initialization part: time 0.04737/45.27, allocations: 22.52 MB / 12.5 GB, free: 111.3 MB / 0.9616 GB Notification: Performance of simCode: created event and clocks part: time 2.618e-05/45.27, allocations: 17.8 kB / 12.5 GB, free: 111.3 MB / 0.9616 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/45.29, allocations: 7.442 MB / 12.5 GB, free: 111.2 MB / 0.9616 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05146/45.34, allocations: 8.098 MB / 12.51 GB, free: 111 MB / 0.9616 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1386/45.48, allocations: 41.8 MB / 12.55 GB, free: 90.14 MB / 0.9616 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04095/45.52, allocations: 14.1 MB / 12.57 GB, free: 81.81 MB / 0.9616 GB Notification: Performance of SimCode: time 1.285e-06/45.52, allocations: 0 / 12.57 GB, free: 81.81 MB / 0.9616 GB Notification: Performance of Templates: time 1.29/46.81, allocations: 397.4 MB / 12.95 GB, free: 87.12 MB / 0.9616 GB