Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_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.13/4.13, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2995/4.43, allocations: 95 MB / 0.4941 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/4.93, allocations: 92.69 MB / 0.5846 GB, free: 3.43 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/5.957, allocations: 421.5 MB / 0.9962 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/5.958, allocations: 90.77 kB / 0.9963 GB, free: 11.81 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 5.719/11.68, allocations: 1.066 GB / 2.062 GB, free: 102 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/11.68, allocations: 11.88 kB / 2.062 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/11.68, allocations: 398.1 kB / 2.063 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/11.71, allocations: 4.735 MB / 2.067 GB, free: 101.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/11.71, allocations: 46.78 kB / 2.067 GB, free: 101.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/11.71, allocations: 83.16 kB / 2.067 GB, free: 101.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003474/11.71, allocations: 0.8836 MB / 2.068 GB, free: 101.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/11.72, allocations: 1.231 MB / 2.069 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/11.72, allocations: 7 kB / 2.069 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/11.72, allocations: 3.797 kB / 2.069 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/11.72, allocations: 40.06 kB / 2.069 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/11.73, allocations: 7.866 MB / 2.077 GB, free: 96.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/11.74, allocations: 0.6677 MB / 2.078 GB, free: 96.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/11.74, allocations: 382.4 kB / 2.078 GB, free: 96.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006199/11.74, allocations: 1.924 MB / 2.08 GB, free: 95.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/11.74, allocations: 419 kB / 2.08 GB, free: 95.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=73): time 4.488e-06/11.74, allocations: 3.594 kB / 2.08 GB, free: 95.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75): time 0.01172/11.76, allocations: 2.154 MB / 2.082 GB, free: 94.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/11.76, allocations: 192.6 kB / 2.083 GB, free: 94.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/11.76, allocations: 1.196 MB / 2.084 GB, free: 94.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/11.76, allocations: 29.45 kB / 2.084 GB, free: 93.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/11.76, allocations: 0.605 MB / 2.084 GB, free: 93.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/11.76, allocations: 259.2 kB / 2.085 GB, free: 93.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/11.76, allocations: 0 / 2.085 GB, free: 93.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/11.76, allocations: 343.1 kB / 2.085 GB, free: 93.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/11.76, allocations: 308 kB / 2.085 GB, free: 93.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/11.76, allocations: 0.6933 MB / 2.086 GB, free: 92.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/11.77, allocations: 0.4913 MB / 2.086 GB, free: 92.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/11.77, allocations: 3.5 kB / 2.086 GB, free: 92.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004988/11.77, allocations: 1.174 MB / 2.088 GB, free: 92.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009352/11.77, allocations: 3.882 MB / 2.091 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/11.77, allocations: 13.5 kB / 2.091 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.516e-05/11.77, allocations: 18 kB / 2.091 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/11.77, allocations: 275.5 kB / 2.092 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/11.77, allocations: 20.98 kB / 2.092 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/11.78, allocations: 109.7 kB / 2.092 GB, free: 88.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/11.78, allocations: 61.94 kB / 2.092 GB, free: 88.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/11.78, allocations: 7.031 kB / 2.092 GB, free: 88.49 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/11.78, allocations: 0.9272 MB / 2.093 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/11.78, allocations: 15.88 kB / 2.093 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/11.78, allocations: 17.81 kB / 2.093 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/11.78, allocations: 264.2 kB / 2.093 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/11.78, allocations: 20.47 kB / 2.093 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/11.79, allocations: 110.8 kB / 2.093 GB, free: 88.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/11.79, allocations: 47.64 kB / 2.093 GB, free: 88.46 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * 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.0004066/11.79, allocations: 138.5 kB / 2.093 GB, free: 88.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/11.79, allocations: 168.3 kB / 2.094 GB, free: 88.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/11.79, allocations: 1.187 MB / 2.095 GB, free: 88.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/11.79, allocations: 8.562 kB / 2.095 GB, free: 88.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/11.79, allocations: 1.688 kB / 2.095 GB, free: 88.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/11.8, allocations: 0.8163 MB / 2.095 GB, free: 88.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009183/11.81, allocations: 2.466 MB / 2.098 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/11.81, allocations: 10.34 kB / 2.098 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/11.81, allocations: 169.3 kB / 2.098 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/11.81, allocations: 87.22 kB / 2.098 GB, free: 87.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/11.81, allocations: 19.66 kB / 2.098 GB, free: 87.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/11.81, allocations: 1.182 MB / 2.099 GB, free: 86.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/11.81, allocations: 3.938 kB / 2.099 GB, free: 86.58 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005248/11.82, allocations: 1.846 MB / 2.101 GB, free: 85.96 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006881/11.82, allocations: 2.771 MB / 2.104 GB, free: 84.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/11.82, allocations: 352.5 kB / 2.104 GB, free: 84.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/11.82, allocations: 9.781 kB / 2.104 GB, free: 84.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/11.83, allocations: 110.6 kB / 2.104 GB, free: 84.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/11.83, allocations: 66.33 kB / 2.104 GB, free: 84.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/11.83, allocations: 32 kB / 2.104 GB, free: 84.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002278/11.83, allocations: 0.8986 MB / 2.105 GB, free: 84.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008888/11.84, allocations: 1.243 MB / 2.106 GB, free: 84.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/11.84, allocations: 1.116 MB / 2.108 GB, free: 84.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004301/11.85, allocations: 1.509 MB / 2.109 GB, free: 84.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/11.85, allocations: 3.812 kB / 2.109 GB, free: 84.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/11.85, allocations: 461.4 kB / 2.109 GB, free: 84.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00787/11.86, allocations: 0.7329 MB / 2.11 GB, free: 84.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/11.87, allocations: 2.561 MB / 2.113 GB, free: 83.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/11.87, allocations: 1.638 MB / 2.114 GB, free: 82.64 MB / 0.7761 GB Notification: Performance of SimCode: time 1.673e-06/11.87, allocations: 0 / 2.114 GB, free: 82.64 MB / 0.7761 GB