Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.289/4.289, allocations: 403.9 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2603/4.549, allocations: 95 MB / 0.4941 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/5.061, allocations: 92.68 MB / 0.5846 GB, free: 3.445 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.205/11.27, allocations: 2.448 GB / 3.032 GB, free: 127 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/11.27, allocations: 94.19 kB / 3.032 GB, free: 126.9 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 10.71/21.98, allocations: 1.994 GB / 5.026 GB, free: 69.44 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/21.98, allocations: 10.5 kB / 5.026 GB, free: 69.44 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/22, allocations: 1.285 MB / 5.027 GB, free: 69.12 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03615/22.03, allocations: 7.656 MB / 5.035 GB, free: 68.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/22.03, allocations: 136 kB / 5.035 GB, free: 68.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/22.04, allocations: 254.8 kB / 5.035 GB, free: 68.23 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01795/22.05, allocations: 4.75 MB / 5.04 GB, free: 68.21 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/22.08, allocations: 5.313 MB / 5.045 GB, free: 67.72 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/22.08, allocations: 15.78 kB / 5.045 GB, free: 67.71 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/22.08, allocations: 7.625 kB / 5.045 GB, free: 67.71 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/22.08, allocations: 213.1 kB / 5.045 GB, free: 67.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0655/22.14, allocations: 25.47 MB / 5.07 GB, free: 56.68 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009939/22.15, allocations: 3.453 MB / 5.074 GB, free: 56.55 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005767/22.16, allocations: 2.096 MB / 5.076 GB, free: 56.49 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/22.16, allocations: 0.5703 MB / 5.076 GB, free: 55.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006021/22.17, allocations: 2.13 MB / 5.078 GB, free: 55.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=284): time 9.568e-06/22.17, allocations: 0 / 5.078 GB, free: 55.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=292): time 0.06539/22.23, allocations: 17.77 MB / 5.096 GB, free: 46.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/22.23, allocations: 0.5718 MB / 5.096 GB, free: 46.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008826/22.24, allocations: 3.447 MB / 5.1 GB, free: 45.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008931/22.24, allocations: 32.2 kB / 5.1 GB, free: 45.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/22.24, allocations: 1.57 MB / 5.101 GB, free: 45.06 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002758/22.25, allocations: 0.9681 MB / 5.102 GB, free: 44.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/22.25, allocations: 2.938 kB / 5.102 GB, free: 44.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002825/22.25, allocations: 429.9 kB / 5.103 GB, free: 44.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/22.25, allocations: 1.472 MB / 5.104 GB, free: 44.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/22.26, allocations: 2.287 MB / 5.106 GB, free: 43.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/22.27, allocations: 2.114 MB / 5.108 GB, free: 43.15 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.345e-05/22.27, allocations: 6.031 kB / 5.108 GB, free: 43.15 MB / 0.823 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01478/22.28, allocations: 4.426 MB / 5.113 GB, free: 42.72 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/22.28, allocations: 7.687 MB / 5.12 GB, free: 34.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-05/22.28, allocations: 15.31 kB / 5.12 GB, free: 34.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/22.28, allocations: 110.3 kB / 5.12 GB, free: 34.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008364/22.29, allocations: 0.7153 MB / 5.121 GB, free: 34.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/22.29, allocations: 2.465 MB / 5.123 GB, free: 32.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009202/22.3, allocations: 364.1 kB / 5.124 GB, free: 32.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007573/22.3, allocations: 134.9 kB / 5.124 GB, free: 32.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/22.3, allocations: 5.641 kB / 5.124 GB, free: 32.89 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01251/22.32, allocations: 3.958 MB / 5.128 GB, free: 32.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.057e-05/22.32, allocations: 15.12 kB / 5.128 GB, free: 32.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/22.32, allocations: 103.1 kB / 5.128 GB, free: 32.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006885/22.32, allocations: 0.6723 MB / 5.128 GB, free: 32.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/22.33, allocations: 1.841 MB / 5.13 GB, free: 31.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009469/22.34, allocations: 343 kB / 5.131 GB, free: 31.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009578/22.34, allocations: 136 kB / 5.131 GB, free: 31.39 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 2 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001281/22.34, allocations: 255.1 kB / 5.131 GB, free: 31.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/22.34, allocations: 422.7 kB / 5.131 GB, free: 30.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/22.36, allocations: 4.386 MB / 5.136 GB, free: 30.64 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/22.36, allocations: 31.59 kB / 5.136 GB, free: 30.64 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/22.36, allocations: 7.531 kB / 5.136 GB, free: 30.64 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/22.38, allocations: 3.564 MB / 5.139 GB, free: 30.26 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03679/22.41, allocations: 11 MB / 5.15 GB, free: 28.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-05/22.41, allocations: 10.22 kB / 5.15 GB, free: 28.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008626/22.42, allocations: 0.6409 MB / 5.15 GB, free: 28.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/22.42, allocations: 258 kB / 5.151 GB, free: 28.19 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005681/22.42, allocations: 54.91 kB / 5.151 GB, free: 28.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007631/22.43, allocations: 5.508 MB / 5.156 GB, free: 23.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/22.43, allocations: 17.12 kB / 5.156 GB, free: 23.59 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01742/22.45, allocations: 7.471 MB / 5.163 GB, free: 21.7 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02306/22.47, allocations: 10.44 MB / 5.174 GB, free: 19.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005249/22.48, allocations: 1.034 MB / 5.175 GB, free: 19.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/22.48, allocations: 42.62 kB / 5.175 GB, free: 19.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009001/22.49, allocations: 348 kB / 5.175 GB, free: 19.07 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009099/22.49, allocations: 165.7 kB / 5.175 GB, free: 19.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005663/22.49, allocations: 116.1 kB / 5.175 GB, free: 19.06 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.007931/22.5, allocations: 2.703 MB / 5.178 GB, free: 18.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.02976/22.53, allocations: 3.219 MB / 5.181 GB, free: 18.83 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 18 (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,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 4 {1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007992/22.53, allocations: 2.999 MB / 5.184 GB, free: 17.84 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02069/22.56, allocations: 6.108 MB / 5.19 GB, free: 17.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.011e-05/22.56, allocations: 10.42 kB / 5.19 GB, free: 17.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008664/22.56, allocations: 2.107 MB / 5.192 GB, free: 17.24 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02585/22.59, allocations: 2.402 MB / 5.194 GB, free: 17.19 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/22.64, allocations: 10.67 MB / 5.205 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01161/22.65, allocations: 4.538 MB / 5.209 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 1.854e-06/22.65, allocations: 1.422 kB / 5.209 GB, free: 30.45 MB / 0.8386 GB