Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",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.123/4.123, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2693/4.392, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/4.906, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.294/11.2, allocations: 2.467 GB / 3.051 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/11.2, allocations: 89.83 kB / 3.051 GB, free: 105 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1139 * Number of variables: 1139 Notification: Performance of Generate backend data structure: time 11.72/22.92, allocations: 2.235 GB / 5.286 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/22.92, allocations: 11.5 kB / 5.286 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/22.94, allocations: 1.367 MB / 5.287 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03583/22.97, allocations: 8.036 MB / 5.295 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/22.97, allocations: 141.4 kB / 5.295 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/22.98, allocations: 275 kB / 5.296 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01999/23, allocations: 4.901 MB / 5.3 GB, free: 77.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/23.02, allocations: 5.549 MB / 5.306 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/23.02, allocations: 9.25 kB / 5.306 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/23.02, allocations: 8.781 kB / 5.306 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002992/23.02, allocations: 225.6 kB / 5.306 GB, free: 75.49 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07768/23.1, allocations: 26.77 MB / 5.332 GB, free: 55.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/23.11, allocations: 3.642 MB / 5.336 GB, free: 52.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006643/23.12, allocations: 2.217 MB / 5.338 GB, free: 50.13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/23.12, allocations: 0.5636 MB / 5.338 GB, free: 49.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006709/23.13, allocations: 2.175 MB / 5.341 GB, free: 47.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=294): time 8.767e-06/23.13, allocations: 0 / 5.341 GB, free: 47.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=302): time 0.0876/23.22, allocations: 16.8 MB / 5.357 GB, free: 30.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/23.22, allocations: 0.6759 MB / 5.358 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/23.23, allocations: 3.73 MB / 5.361 GB, free: 25.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/23.23, allocations: 36.55 kB / 5.361 GB, free: 25.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/23.23, allocations: 1.68 MB / 5.363 GB, free: 23.81 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003339/23.24, allocations: 1.012 MB / 5.364 GB, free: 22.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/23.24, allocations: 0 / 5.364 GB, free: 22.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003109/23.24, allocations: 436.7 kB / 5.364 GB, free: 22.35 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/23.24, allocations: 1.552 MB / 5.366 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/23.25, allocations: 2.454 MB / 5.368 GB, free: 18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/23.25, allocations: 2.146 MB / 5.37 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/23.25, allocations: 8 kB / 5.37 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.0229/23.28, allocations: 4.811 MB / 5.375 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001606/23.28, allocations: 7.396 MB / 5.382 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/23.28, allocations: 16 kB / 5.382 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/23.28, allocations: 226.4 kB / 5.383 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009613/23.29, allocations: 0.7528 MB / 5.383 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4299/23.72, allocations: 3.245 MB / 5.386 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/23.73, allocations: 406.9 kB / 5.387 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/23.73, allocations: 142.2 kB / 5.387 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/23.73, allocations: 3.812 kB / 5.387 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01444/23.75, allocations: 4.111 MB / 5.391 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/23.75, allocations: 20.81 kB / 5.391 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/23.75, allocations: 200.1 kB / 5.391 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/23.76, allocations: 0.7053 MB / 5.392 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/23.76, allocations: 3.771 MB / 5.396 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/23.77, allocations: 375 kB / 5.396 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/23.77, allocations: 138 kB / 5.396 GB, free: 163.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 375 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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%) 7} * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001657/23.78, allocations: 225.8 kB / 5.396 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/23.78, allocations: 467.1 kB / 5.397 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02118/23.8, allocations: 4.607 MB / 5.401 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/23.8, allocations: 37.31 kB / 5.401 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/23.8, allocations: 1.375 kB / 5.401 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01636/23.81, allocations: 3.844 MB / 5.405 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03972/23.85, allocations: 11.13 MB / 5.416 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/23.85, allocations: 7.406 kB / 5.416 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009422/23.86, allocations: 0.6824 MB / 5.417 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/23.87, allocations: 336.5 kB / 5.417 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00078/23.87, allocations: 55.39 kB / 5.417 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/23.88, allocations: 7.443 MB / 5.424 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/23.88, allocations: 9.75 kB / 5.424 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02432/23.91, allocations: 7.866 MB / 5.432 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03297/23.94, allocations: 10.97 MB / 5.443 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005521/23.95, allocations: 1.085 MB / 5.444 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002431/23.95, allocations: 44.7 kB / 5.444 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/23.96, allocations: 376.5 kB / 5.444 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/23.96, allocations: 167 kB / 5.444 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005987/23.96, allocations: 117.2 kB / 5.444 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.009046/23.97, allocations: 2.897 MB / 5.447 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02636/24, allocations: 3.511 MB / 5.451 GB, free: 151 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (282): * Single equations (assignments): 272 * 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: 6 * 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%) 7} * Non-linear torn systems: 5 {1 3,1 3,1 3,1 3,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007645/24, allocations: 3.322 MB / 5.454 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02728/24.03, allocations: 6.58 MB / 5.46 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.903e-05/24.03, allocations: 3.5 kB / 5.46 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/24.04, allocations: 2.276 MB / 5.462 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02784/24.07, allocations: 2.549 MB / 5.465 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/24.11, allocations: 11.11 MB / 5.476 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01358/24.13, allocations: 4.746 MB / 5.48 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.724e-06/24.13, allocations: 0 / 5.48 GB, free: 146.3 MB / 0.8698 GB