Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 4.137/4.137, allocations: 404 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2811/4.419, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/4.959, allocations: 92.69 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.317/11.28, allocations: 2.465 GB / 3.049 GB, free: 106.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/11.28, allocations: 92.08 kB / 3.05 GB, free: 106.2 MB / 0.7761 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: 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 48.64/59.92, allocations: 8.919 GB / 11.97 GB, free: 115.4 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/59.92, allocations: 7.875 kB / 11.97 GB, free: 115.4 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04718/59.96, allocations: 3.581 MB / 11.97 GB, free: 114.4 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1561/60.12, allocations: 32 MB / 12 GB, free: 112.1 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009153/60.12, allocations: 387.8 kB / 12 GB, free: 112.1 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007206/60.13, allocations: 0.7179 MB / 12 GB, free: 112.1 MB / 0.9168 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07804/60.21, allocations: 19.31 MB / 12.02 GB, free: 112.1 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09933/60.31, allocations: 20.58 MB / 12.04 GB, free: 111 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001172/60.31, allocations: 40.19 kB / 12.04 GB, free: 110.9 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007348/60.31, allocations: 13.75 kB / 12.04 GB, free: 110.9 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008815/60.32, allocations: 0.565 MB / 12.04 GB, free: 110.9 MB / 0.9168 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2539/60.57, allocations: 94.9 MB / 12.14 GB, free: 77.3 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02636/60.6, allocations: 9.401 MB / 12.15 GB, free: 77.15 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02468/60.62, allocations: 8.594 MB / 12.15 GB, free: 77.06 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/60.62, allocations: 0.7511 MB / 12.15 GB, free: 76.39 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02398/60.65, allocations: 7.88 MB / 12.16 GB, free: 75.98 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=735): time 1.897e-05/60.65, allocations: 6.156 kB / 12.16 GB, free: 75.98 MB / 0.9168 GB Notification: Performance of matching and sorting (n=759): time 0.2699/60.92, allocations: 57.51 MB / 12.22 GB, free: 51.09 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002818/60.92, allocations: 0.8234 MB / 12.22 GB, free: 50.17 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04472/60.96, allocations: 13.9 MB / 12.23 GB, free: 49.64 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.003151/60.97, allocations: 40.52 kB / 12.23 GB, free: 49.61 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.01271/60.98, allocations: 4.688 MB / 12.24 GB, free: 47.4 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.0231/61, allocations: 2.642 MB / 12.24 GB, free: 45.7 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/61, allocations: 0 / 12.24 GB, free: 45.7 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.00119/61, allocations: 0.6714 MB / 12.24 GB, free: 45.39 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01853/61.02, allocations: 6.318 MB / 12.25 GB, free: 45.37 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02228/61.05, allocations: 8.332 MB / 12.26 GB, free: 43.26 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02859/61.07, allocations: 8.369 MB / 12.26 GB, free: 43.15 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/61.07, allocations: 11.03 kB / 12.26 GB, free: 43.15 MB / 0.9168 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.05842/61.13, allocations: 16.03 MB / 12.28 GB, free: 34.75 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.004391/61.14, allocations: 21.15 MB / 12.3 GB, free: 12.52 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/61.14, allocations: 36 kB / 12.3 GB, free: 12.48 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/61.14, allocations: 359 kB / 12.3 GB, free: 12.17 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02328/61.16, allocations: 2.011 MB / 12.3 GB, free: 10.62 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/61.17, allocations: 4.897 MB / 12.31 GB, free: 6.125 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03145/61.21, allocations: 1.361 MB / 12.31 GB, free: 5.25 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003233/61.21, allocations: 320.2 kB / 12.31 GB, free: 4.961 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/61.21, allocations: 6.5 kB / 12.31 GB, free: 4.957 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6034/61.81, allocations: 14.92 MB / 12.32 GB, free: 101.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/61.81, allocations: 33.19 kB / 12.32 GB, free: 101.5 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/61.81, allocations: 361.5 kB / 12.32 GB, free: 101.5 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02174/61.84, allocations: 1.9 MB / 12.33 GB, free: 101.5 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/61.85, allocations: 4.245 MB / 12.33 GB, free: 100.3 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02971/61.88, allocations: 1.322 MB / 12.33 GB, free: 100.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003115/61.88, allocations: 314.4 kB / 12.33 GB, free: 100.3 MB / 0.9168 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.006893/61.89, allocations: 319.6 kB / 12.33 GB, free: 100.1 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007475/61.89, allocations: 1.152 MB / 12.33 GB, free: 100.1 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06014/61.95, allocations: 16.04 MB / 12.35 GB, free: 99.57 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001483/61.95, allocations: 87.12 kB / 12.35 GB, free: 99.57 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/61.95, allocations: 14.5 kB / 12.35 GB, free: 99.57 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04223/62, allocations: 13.29 MB / 12.36 GB, free: 98.85 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1322/62.13, allocations: 37.7 MB / 12.4 GB, free: 96.35 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001201/62.13, allocations: 14.94 kB / 12.4 GB, free: 96.35 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03462/62.16, allocations: 1.976 MB / 12.4 GB, free: 96.35 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/62.17, allocations: 0.9161 MB / 12.4 GB, free: 96.24 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003351/62.17, allocations: 158.8 kB / 12.4 GB, free: 96.24 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03036/62.2, allocations: 13.07 MB / 12.41 GB, free: 87.56 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/62.2, allocations: 13.59 kB / 12.41 GB, free: 87.56 MB / 0.9168 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09838/62.3, allocations: 27.78 MB / 12.44 GB, free: 82.96 MB / 0.9168 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09956/62.4, allocations: 38.51 MB / 12.48 GB, free: 77.94 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0195/62.42, allocations: 3.809 MB / 12.48 GB, free: 77.46 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007854/62.43, allocations: 118.5 kB / 12.48 GB, free: 77.46 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02939/62.46, allocations: 1.252 MB / 12.48 GB, free: 77.43 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003314/62.46, allocations: 433 kB / 12.48 GB, free: 77.41 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002749/62.46, allocations: 277.4 kB / 12.48 GB, free: 77.41 MB / 0.9168 GB Notification: Performance of sort global known variables: time 0.03405/62.5, allocations: 11.05 MB / 12.5 GB, free: 77.12 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.0699/62.57, allocations: 8.867 MB / 12.5 GB, free: 77.12 MB / 0.9168 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.01382/62.58, allocations: 5.181 MB / 12.51 GB, free: 75.09 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.06805/62.65, allocations: 22.53 MB / 12.53 GB, free: 74.62 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-05/62.65, allocations: 10.38 kB / 12.53 GB, free: 74.62 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.02451/62.67, allocations: 7.449 MB / 12.54 GB, free: 74.46 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07958/62.75, allocations: 8.093 MB / 12.55 GB, free: 74.32 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1828/62.94, allocations: 41.89 MB / 12.59 GB, free: 61.81 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05005/62.99, allocations: 14.3 MB / 12.6 GB, free: 53.29 MB / 0.9168 GB Notification: Performance of SimCode: time 1.603e-06/62.99, allocations: 0 / 12.6 GB, free: 53.29 MB / 0.9168 GB