Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",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.223/4.223, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3512/4.574, allocations: 95.02 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/5.09, allocations: 92.66 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/6.181, allocations: 427.5 MB / 1.002 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004738/6.181, allocations: 89.77 kB / 1.002 GB, free: 5.781 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 6.454/12.64, allocations: 1.097 GB / 2.099 GB, free: 104.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/12.64, allocations: 11.38 kB / 2.099 GB, free: 104.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/12.64, allocations: 491.3 kB / 2.1 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/12.65, allocations: 2.339 MB / 2.102 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/12.65, allocations: 35.44 kB / 2.102 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/12.65, allocations: 78.38 kB / 2.102 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003409/12.66, allocations: 0.8003 MB / 2.103 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/12.66, allocations: 1.147 MB / 2.104 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/12.66, allocations: 7.453 kB / 2.104 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/12.66, allocations: 7.109 kB / 2.104 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/12.66, allocations: 28.06 kB / 2.104 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/12.68, allocations: 7.082 MB / 2.111 GB, free: 99.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/12.68, allocations: 0.6291 MB / 2.111 GB, free: 99.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/12.68, allocations: 317.8 kB / 2.112 GB, free: 99.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006762/12.68, allocations: 2.346 MB / 2.114 GB, free: 97.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009995/12.69, allocations: 378.9 kB / 2.114 GB, free: 97.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=66): time 3.877e-06/12.69, allocations: 0 / 2.114 GB, free: 97.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67): time 0.01287/12.7, allocations: 2.147 MB / 2.116 GB, free: 97.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/12.7, allocations: 191.3 kB / 2.117 GB, free: 96.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/12.7, allocations: 1.219 MB / 2.118 GB, free: 96.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002923/12.7, allocations: 29.64 kB / 2.118 GB, free: 96.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/12.7, allocations: 0.5743 MB / 2.118 GB, free: 96.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/12.7, allocations: 238.2 kB / 2.119 GB, free: 96.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/12.7, allocations: 0 / 2.119 GB, free: 96.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001141/12.7, allocations: 345.4 kB / 2.119 GB, free: 95.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009672/12.71, allocations: 286 kB / 2.119 GB, free: 95.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/12.71, allocations: 0.6824 MB / 2.12 GB, free: 95.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/12.71, allocations: 0.5168 MB / 2.12 GB, free: 95.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/12.71, allocations: 3.469 kB / 2.12 GB, free: 95.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005284/12.72, allocations: 1.177 MB / 2.122 GB, free: 95.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009856/12.72, allocations: 4.049 MB / 2.125 GB, free: 91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-05/12.72, allocations: 16.53 kB / 2.126 GB, free: 91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/12.72, allocations: 19.5 kB / 2.126 GB, free: 91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/12.72, allocations: 263.1 kB / 2.126 GB, free: 91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.78e-05/12.72, allocations: 22.19 kB / 2.126 GB, free: 91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/12.72, allocations: 106.3 kB / 2.126 GB, free: 90.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/12.72, allocations: 53.64 kB / 2.126 GB, free: 90.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/12.72, allocations: 3.969 kB / 2.126 GB, free: 90.99 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004698/12.73, allocations: 0.9404 MB / 2.127 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/12.73, allocations: 15.41 kB / 2.127 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/12.73, allocations: 16.75 kB / 2.127 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/12.73, allocations: 243.7 kB / 2.127 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/12.73, allocations: 22.7 kB / 2.127 GB, free: 90.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/12.73, allocations: 100.9 kB / 2.127 GB, free: 90.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/12.73, allocations: 53.89 kB / 2.127 GB, free: 90.97 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.0004195/12.73, allocations: 142.8 kB / 2.127 GB, free: 90.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/12.73, allocations: 164.8 kB / 2.128 GB, free: 90.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/12.74, allocations: 1.153 MB / 2.129 GB, free: 90.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.445e-05/12.74, allocations: 10.77 kB / 2.129 GB, free: 90.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/12.74, allocations: 3.906 kB / 2.129 GB, free: 90.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0033/12.74, allocations: 0.93 MB / 2.13 GB, free: 90.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/12.75, allocations: 2.218 MB / 2.132 GB, free: 90.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/12.75, allocations: 0 / 2.132 GB, free: 90.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/12.75, allocations: 165.9 kB / 2.132 GB, free: 90.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/12.75, allocations: 53.08 kB / 2.132 GB, free: 90.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/12.75, allocations: 21.02 kB / 2.132 GB, free: 90.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006816/12.75, allocations: 0.6096 MB / 2.133 GB, free: 89.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/12.75, allocations: 4.406 kB / 2.133 GB, free: 89.49 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005409/12.76, allocations: 1.625 MB / 2.134 GB, free: 88.97 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006623/12.77, allocations: 2.494 MB / 2.137 GB, free: 87.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/12.77, allocations: 328.3 kB / 2.137 GB, free: 87.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/12.77, allocations: 7.562 kB / 2.137 GB, free: 87.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/12.77, allocations: 97.05 kB / 2.137 GB, free: 87.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/12.77, allocations: 58.44 kB / 2.137 GB, free: 87.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/12.77, allocations: 33.25 kB / 2.137 GB, free: 87.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002528/12.77, allocations: 0.9121 MB / 2.138 GB, free: 86.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008348/12.78, allocations: 1.141 MB / 2.139 GB, free: 86.38 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/12.79, allocations: 1.138 MB / 2.14 GB, free: 86.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004072/12.79, allocations: 1.453 MB / 2.142 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/12.79, allocations: 7.656 kB / 2.142 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/12.79, allocations: 390.6 kB / 2.142 GB, free: 85.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006363/12.8, allocations: 0.6288 MB / 2.143 GB, free: 85.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009364/12.81, allocations: 2.44 MB / 2.145 GB, free: 84.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/12.81, allocations: 1.583 MB / 2.147 GB, free: 83.49 MB / 0.7761 GB Notification: Performance of SimCode: time 1.874e-06/12.81, allocations: 0 / 2.147 GB, free: 83.49 MB / 0.7761 GB