Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryEffectivenessNTU",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.089/4.089, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2561/4.345, allocations: 95 MB / 0.4941 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/4.865, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.175/11.04, allocations: 2.431 GB / 3.016 GB, free: 166.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/11.04, allocations: 86.27 kB / 3.016 GB, free: 166.8 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: 883 * Number of variables: 883 Notification: Performance of Generate backend data structure: time 17.32/28.36, allocations: 3.207 GB / 6.223 GB, free: 58.56 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/28.36, allocations: 11.94 kB / 6.223 GB, free: 58.56 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/28.38, allocations: 1.639 MB / 6.225 GB, free: 58.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/28.4, allocations: 4.095 MB / 6.229 GB, free: 57.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/28.4, allocations: 112.1 kB / 6.229 GB, free: 57.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/28.4, allocations: 223.8 kB / 6.229 GB, free: 57.44 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01464/28.42, allocations: 3.394 MB / 6.232 GB, free: 57.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/28.43, allocations: 3.894 MB / 6.236 GB, free: 56.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/28.43, allocations: 10.28 kB / 6.236 GB, free: 56.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007476/28.43, allocations: 3.312 kB / 6.236 GB, free: 56.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/28.43, allocations: 166.1 kB / 6.236 GB, free: 56.67 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0504/28.49, allocations: 19.02 MB / 6.255 GB, free: 46.21 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007954/28.49, allocations: 2.328 MB / 6.257 GB, free: 46.07 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004701/28.5, allocations: 1.348 MB / 6.258 GB, free: 46.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/28.5, allocations: 197.1 kB / 6.259 GB, free: 45.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005795/28.5, allocations: 1.659 MB / 6.26 GB, free: 45.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=253): time 9.528e-06/28.5, allocations: 0 / 6.26 GB, free: 45.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=253): time 0.01897/28.52, allocations: 3.219 MB / 6.263 GB, free: 45.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/28.52, allocations: 0.4894 MB / 6.264 GB, free: 44.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007899/28.53, allocations: 2.49 MB / 6.266 GB, free: 44.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/28.53, allocations: 32.55 kB / 6.266 GB, free: 44.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/28.54, allocations: 1.346 MB / 6.268 GB, free: 43.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/28.54, allocations: 0.8156 MB / 6.268 GB, free: 43.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/28.54, allocations: 3.469 kB / 6.268 GB, free: 43.22 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003156/28.54, allocations: 435.5 kB / 6.269 GB, free: 42.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/28.54, allocations: 1.317 MB / 6.27 GB, free: 42.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/28.55, allocations: 2.314 MB / 6.272 GB, free: 41.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/28.56, allocations: 1.664 MB / 6.274 GB, free: 41.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.776e-05/28.56, allocations: 7.781 kB / 6.274 GB, free: 41.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01896/28.58, allocations: 3.982 MB / 6.278 GB, free: 41.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001962/28.58, allocations: 8.698 MB / 6.286 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/28.58, allocations: 26.55 kB / 6.286 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/28.58, allocations: 38.03 kB / 6.287 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03424/28.61, allocations: 2.05 MB / 6.289 GB, free: 32.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/28.63, allocations: 6.777 MB / 6.295 GB, free: 26.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/28.64, allocations: 0.6705 MB / 6.296 GB, free: 26.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/28.65, allocations: 185.1 kB / 6.296 GB, free: 26.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/28.65, allocations: 3.438 kB / 6.296 GB, free: 26.09 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01597/28.66, allocations: 3.408 MB / 6.299 GB, free: 25.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/28.66, allocations: 30.45 kB / 6.299 GB, free: 25.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.069e-05/28.66, allocations: 35.97 kB / 6.299 GB, free: 25.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01338/28.68, allocations: 1.102 MB / 6.3 GB, free: 25.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.977e-05/28.68, allocations: 48.58 kB / 6.3 GB, free: 25.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/28.69, allocations: 0.5759 MB / 6.301 GB, free: 25.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/28.69, allocations: 179.2 kB / 6.301 GB, free: 25.73 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001843/28.69, allocations: 193.5 kB / 6.301 GB, free: 25.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/28.69, allocations: 403.9 kB / 6.302 GB, free: 25.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/28.71, allocations: 3.518 MB / 6.305 GB, free: 25.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/28.71, allocations: 29.5 kB / 6.305 GB, free: 25.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/28.71, allocations: 5.281 kB / 6.305 GB, free: 25.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.053e-05/28.71, allocations: 14.64 kB / 6.305 GB, free: 25.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03128/28.74, allocations: 8.249 MB / 6.313 GB, free: 23.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.578e-05/28.74, allocations: 14.88 kB / 6.313 GB, free: 23.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02923/28.77, allocations: 1.853 MB / 6.315 GB, free: 23.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/28.77, allocations: 16.59 kB / 6.315 GB, free: 23.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000765/28.77, allocations: 54.53 kB / 6.315 GB, free: 23.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04057/28.81, allocations: 14.57 MB / 6.329 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/28.81, allocations: 11 kB / 6.329 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01454/28.83, allocations: 4.247 MB / 6.334 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01689/28.84, allocations: 5.1 MB / 6.339 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004415/28.85, allocations: 0.8706 MB / 6.339 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/28.85, allocations: 7.438 kB / 6.339 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/28.86, allocations: 472.2 kB / 6.34 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009492/28.86, allocations: 181.2 kB / 6.34 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000622/28.86, allocations: 107.7 kB / 6.34 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.006043/28.87, allocations: 1.801 MB / 6.342 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02475/28.9, allocations: 4.424 MB / 6.346 GB, free: 6.262 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/28.91, allocations: 7.004 MB / 6.353 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04785/28.96, allocations: 6.917 MB / 6.36 GB, free: 17.57 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.856e-05/28.96, allocations: 2.188 kB / 6.36 GB, free: 17.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.03405/28.99, allocations: 3.206 MB / 6.363 GB, free: 16.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01863/29.01, allocations: 1.473 MB / 6.364 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/29.04, allocations: 6.012 MB / 6.37 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009603/29.05, allocations: 2.959 MB / 6.373 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of SimCode: time 2.194e-06/29.05, allocations: 0 / 6.373 GB, free: 8.727 MB / 0.9323 GB