Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.21/4.21, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2374/4.447, allocations: 94.99 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/4.983, allocations: 92.69 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/5.987, allocations: 365.2 MB / 0.9412 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/5.987, allocations: 92.75 kB / 0.9413 GB, free: 66.15 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 7.393/13.38, allocations: 1.418 GB / 2.359 GB, free: 133.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/13.38, allocations: 7.531 kB / 2.359 GB, free: 133.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/13.39, allocations: 0.6892 MB / 2.36 GB, free: 133.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/13.4, allocations: 1.51 MB / 2.361 GB, free: 133 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/13.4, allocations: 38.44 kB / 2.361 GB, free: 133 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004716/13.4, allocations: 80.77 kB / 2.361 GB, free: 133 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003745/13.4, allocations: 0.8735 MB / 2.362 GB, free: 133 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/13.4, allocations: 1.249 MB / 2.364 GB, free: 132.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.313e-05/13.4, allocations: 6.188 kB / 2.364 GB, free: 132.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/13.4, allocations: 7.719 kB / 2.364 GB, free: 132.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.658e-05/13.4, allocations: 40.92 kB / 2.364 GB, free: 132.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/13.42, allocations: 8.396 MB / 2.372 GB, free: 127 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/13.42, allocations: 0.9323 MB / 2.373 GB, free: 126.9 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/13.43, allocations: 484.9 kB / 2.373 GB, free: 126.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/13.43, allocations: 1.609 MB / 2.375 GB, free: 125.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/13.43, allocations: 0.7068 MB / 2.375 GB, free: 124.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=95): time 6.653e-06/13.43, allocations: 0 / 2.375 GB, free: 124.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=95): time 0.008085/13.44, allocations: 1.35 MB / 2.377 GB, free: 124.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/13.44, allocations: 359.8 kB / 2.377 GB, free: 124.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/13.44, allocations: 0.9738 MB / 2.378 GB, free: 124.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/13.44, allocations: 29.11 kB / 2.378 GB, free: 124.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/13.44, allocations: 0.5543 MB / 2.379 GB, free: 123.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005154/13.44, allocations: 306 kB / 2.379 GB, free: 123.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/13.44, allocations: 1.688 kB / 2.379 GB, free: 123.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001485/13.44, allocations: 352 kB / 2.379 GB, free: 123.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/13.44, allocations: 424.5 kB / 2.38 GB, free: 123.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/13.44, allocations: 0.8494 MB / 2.38 GB, free: 122.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/13.45, allocations: 0.731 MB / 2.381 GB, free: 122.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/13.45, allocations: 3.312 kB / 2.381 GB, free: 122.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01073/13.46, allocations: 1.566 MB / 2.383 GB, free: 122.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001324/13.46, allocations: 4.012 MB / 2.387 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/13.46, allocations: 14.94 kB / 2.387 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.01e-05/13.46, allocations: 18.72 kB / 2.387 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/13.47, allocations: 355.7 kB / 2.387 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.278e-05/13.47, allocations: 22.84 kB / 2.387 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/13.47, allocations: 279 kB / 2.387 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/13.47, allocations: 69.61 kB / 2.387 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/13.47, allocations: 13.72 kB / 2.387 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007732/13.48, allocations: 1.329 MB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/13.48, allocations: 12.09 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.856e-05/13.48, allocations: 21.97 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/13.48, allocations: 336.5 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/13.48, allocations: 27.03 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/13.49, allocations: 241.1 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/13.49, allocations: 73.08 kB / 2.389 GB, free: 118.3 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005914/13.49, allocations: 242.4 kB / 2.39 GB, free: 118.1 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/13.49, allocations: 167.4 kB / 2.39 GB, free: 118 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008172/13.5, allocations: 2.014 MB / 2.392 GB, free: 117.9 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/13.5, allocations: 15.81 kB / 2.392 GB, free: 117.9 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/13.5, allocations: 3.156 kB / 2.392 GB, free: 117.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/13.5, allocations: 3.891 kB / 2.392 GB, free: 117.9 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/13.5, allocations: 1.818 MB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/13.5, allocations: 0 / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/13.51, allocations: 243.5 kB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/13.51, allocations: 3.562 kB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/13.51, allocations: 29.08 kB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/13.51, allocations: 5.344 kB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/13.51, allocations: 3.531 kB / 2.394 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008718/13.52, allocations: 2.274 MB / 2.396 GB, free: 117 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01029/13.53, allocations: 3.436 MB / 2.399 GB, free: 116.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000831/13.53, allocations: 240.2 kB / 2.4 GB, free: 116.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/13.53, allocations: 14.66 kB / 2.4 GB, free: 116.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/13.53, allocations: 181.2 kB / 2.4 GB, free: 116.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/13.53, allocations: 55.66 kB / 2.4 GB, free: 116.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/13.53, allocations: 48.81 kB / 2.4 GB, free: 116.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001783/13.53, allocations: 0.7542 MB / 2.401 GB, free: 116 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007938/13.54, allocations: 1.144 MB / 2.402 GB, free: 115.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/13.54, allocations: 0.9109 MB / 2.403 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005516/13.55, allocations: 1.956 MB / 2.405 GB, free: 115.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/13.55, allocations: 2.625 kB / 2.405 GB, free: 115.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/13.55, allocations: 0.734 MB / 2.405 GB, free: 115.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/13.56, allocations: 0.5067 MB / 2.406 GB, free: 115.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/13.57, allocations: 2.719 MB / 2.408 GB, free: 114.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002667/13.58, allocations: 1.542 MB / 2.41 GB, free: 114 MB / 0.7917 GB Notification: Performance of SimCode: time 1.984e-06/13.58, allocations: 0 / 2.41 GB, free: 114 MB / 0.7917 GB