Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.157/4.157, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2444/4.402, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/4.913, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/10.56, allocations: 2.177 GB / 2.762 GB, free: 37.81 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/10.56, allocations: 86.52 kB / 2.762 GB, free: 37.77 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 5.563/16.13, allocations: 1.005 GB / 3.767 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/16.13, allocations: 11.31 kB / 3.767 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007887/16.14, allocations: 0.6416 MB / 3.768 GB, free: 118.1 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007438/16.14, allocations: 1.614 MB / 3.769 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/16.14, allocations: 41.59 kB / 3.769 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/16.14, allocations: 78.56 kB / 3.769 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004396/16.15, allocations: 1.091 MB / 3.771 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004849/16.15, allocations: 1.324 MB / 3.772 GB, free: 117.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/16.15, allocations: 3.281 kB / 3.772 GB, free: 117.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/16.15, allocations: 7.484 kB / 3.772 GB, free: 117.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/16.15, allocations: 43.81 kB / 3.772 GB, free: 117.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/16.17, allocations: 6.141 MB / 3.778 GB, free: 114.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/16.17, allocations: 0.5756 MB / 3.778 GB, free: 114.8 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/16.18, allocations: 469.2 kB / 3.779 GB, free: 114.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/16.18, allocations: 280.7 kB / 3.779 GB, free: 114.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/16.18, allocations: 0.6542 MB / 3.78 GB, free: 114.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 4.298e-06/16.18, allocations: 0 / 3.78 GB, free: 114.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.02081/16.2, allocations: 4.475 MB / 3.784 GB, free: 112.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/16.2, allocations: 0.5193 MB / 3.785 GB, free: 111.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/16.2, allocations: 0.9459 MB / 3.786 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003894/16.2, allocations: 31.77 kB / 3.786 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006058/16.2, allocations: 0.548 MB / 3.786 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000512/16.2, allocations: 317.7 kB / 3.786 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/16.2, allocations: 6.188 kB / 3.786 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001087/16.2, allocations: 339 kB / 3.787 GB, free: 111 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/16.2, allocations: 394.2 kB / 3.787 GB, free: 111 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/16.21, allocations: 0.676 MB / 3.788 GB, free: 110.7 MB / 0.7917 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.009231/16.22, allocations: 1.355 MB / 3.789 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/16.22, allocations: 3.219 kB / 3.789 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00993/16.23, allocations: 1.618 MB / 3.791 GB, free: 110.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004902/16.23, allocations: 1.788 MB / 3.792 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/16.23, allocations: 3.938 kB / 3.792 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/16.23, allocations: 373.4 kB / 3.793 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/16.23, allocations: 182 kB / 3.793 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/16.24, allocations: 6.194 MB / 3.799 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/16.25, allocations: 109.2 kB / 3.799 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/16.25, allocations: 45.22 kB / 3.799 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/16.25, allocations: 1.594 kB / 3.799 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007282/16.25, allocations: 1.418 MB / 3.801 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/16.25, allocations: 7.344 kB / 3.801 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/16.26, allocations: 359.5 kB / 3.801 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/16.26, allocations: 162.6 kB / 3.801 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/16.28, allocations: 7.018 MB / 3.808 GB, free: 99.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/16.28, allocations: 89.86 kB / 3.808 GB, free: 99.13 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/16.28, allocations: 43.27 kB / 3.808 GB, free: 99.13 MB / 0.7917 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008565/16.28, allocations: 182.3 kB / 3.808 GB, free: 98.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/16.28, allocations: 155.7 kB / 3.808 GB, free: 98.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/16.29, allocations: 1.292 MB / 3.81 GB, free: 98.81 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/16.29, allocations: 14.09 kB / 3.81 GB, free: 98.81 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/16.29, allocations: 0 / 3.81 GB, free: 98.81 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006954/16.3, allocations: 1.159 MB / 3.811 GB, free: 98.62 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/16.31, allocations: 3.393 MB / 3.814 GB, free: 97.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/16.31, allocations: 2.594 kB / 3.814 GB, free: 97.72 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/16.31, allocations: 178.6 kB / 3.814 GB, free: 97.72 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/16.32, allocations: 157.5 kB / 3.814 GB, free: 97.71 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/16.32, allocations: 17.42 kB / 3.814 GB, free: 97.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008758/16.32, allocations: 3.234 MB / 3.818 GB, free: 95.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/16.32, allocations: 9 kB / 3.818 GB, free: 95.24 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009065/16.33, allocations: 2.22 MB / 3.82 GB, free: 94.55 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01326/16.35, allocations: 3.319 MB / 3.823 GB, free: 93.48 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/16.35, allocations: 349.6 kB / 3.823 GB, free: 93.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006743/16.35, allocations: 17.78 kB / 3.823 GB, free: 93.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/16.35, allocations: 105.7 kB / 3.823 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/16.35, allocations: 57.58 kB / 3.824 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/16.35, allocations: 42.14 kB / 3.824 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.002372/16.36, allocations: 0.716 MB / 3.824 GB, free: 93.19 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01727/16.37, allocations: 1.522 MB / 3.826 GB, free: 93.17 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007019/16.38, allocations: 2.584 MB / 3.828 GB, free: 92.35 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008647/16.39, allocations: 2.403 MB / 3.831 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/16.39, allocations: 5.5 kB / 3.831 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/16.39, allocations: 0.7428 MB / 3.831 GB, free: 91.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01024/16.4, allocations: 0.6595 MB / 3.832 GB, free: 91.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/16.42, allocations: 2.628 MB / 3.835 GB, free: 90.58 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/16.42, allocations: 1.538 MB / 3.836 GB, free: 89.86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.733e-06/16.42, allocations: 0 / 3.836 GB, free: 89.86 MB / 0.7917 GB