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={"static"}) Notification: Performance of loadModel(Buildings): time 3.805/3.805, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.026e-05/5.032e-05, allocations: 19.86 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.6067, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.767, allocations: 422.2 MB / 1.002 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.768, allocations: 90.58 kB / 1.002 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.864/7.632, allocations: 1.063 GB / 2.065 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.015e-06/7.632, allocations: 0 / 2.065 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004543/7.632, allocations: 55.22 kB / 2.065 GB, free: 111.4 MB / 0.7917 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 0.00904/7.641, allocations: 2.197 MB / 2.067 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/7.641, allocations: 10.72 kB / 2.067 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000717/7.642, allocations: 188.9 kB / 2.067 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/7.646, allocations: 372.7 kB / 2.067 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02455/7.671, allocations: 4.665 MB / 2.072 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/7.671, allocations: 105.6 kB / 2.072 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/7.671, allocations: 135.1 kB / 2.072 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/7.678, allocations: 1.426 MB / 2.074 GB, free: 109.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.213e-05/7.678, allocations: 6.156 kB / 2.074 GB, free: 109.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/7.678, allocations: 55 kB / 2.074 GB, free: 109.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.921e-05/7.678, allocations: 35.5 kB / 2.074 GB, free: 109.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/7.684, allocations: 0.9556 MB / 2.075 GB, free: 109.4 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/7.704, allocations: 7.592 MB / 2.082 GB, free: 104.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/7.707, allocations: 0.7426 MB / 2.083 GB, free: 104.9 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/7.708, allocations: 381.1 kB / 2.083 GB, free: 104.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006784/7.715, allocations: 1.955 MB / 2.085 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/7.717, allocations: 471.9 kB / 2.086 GB, free: 103.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001478/7.719, allocations: 98.12 kB / 2.086 GB, free: 103.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=73): time 7.203e-06/7.719, allocations: 3.875 kB / 2.086 GB, free: 103.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.01132/7.73, allocations: 2.173 MB / 2.088 GB, free: 103 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/7.73, allocations: 188.3 kB / 2.088 GB, free: 102.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/7.734, allocations: 1.297 MB / 2.089 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003531/7.735, allocations: 47.19 kB / 2.089 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/7.736, allocations: 0.9191 MB / 2.09 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/7.737, allocations: 274.8 kB / 2.09 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/7.737, allocations: 22.41 kB / 2.09 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001467/7.737, allocations: 353.5 kB / 2.091 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/7.738, allocations: 327.2 kB / 2.091 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/7.739, allocations: 0.7228 MB / 2.092 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/7.74, allocations: 459.8 kB / 2.092 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/7.74, allocations: 3.5 kB / 2.092 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003147/7.743, allocations: 1.241 MB / 2.093 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008554/7.744, allocations: 3.922 MB / 2.097 GB, free: 97.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-05/7.744, allocations: 9.344 kB / 2.097 GB, free: 97.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/7.745, allocations: 44.33 kB / 2.097 GB, free: 97 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/7.747, allocations: 275.7 kB / 2.098 GB, free: 97 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/7.748, allocations: 1.363 MB / 2.099 GB, free: 95.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/7.751, allocations: 136.4 kB / 2.099 GB, free: 95.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/7.751, allocations: 56.55 kB / 2.099 GB, free: 95.74 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/7.751, allocations: 8.281 kB / 2.099 GB, free: 95.74 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/7.753, allocations: 1.051 MB / 2.1 GB, free: 95.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/7.753, allocations: 10.62 kB / 2.1 GB, free: 95.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/7.754, allocations: 45.64 kB / 2.1 GB, free: 95.67 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/7.756, allocations: 266.6 kB / 2.1 GB, free: 95.67 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/7.757, allocations: 1.359 MB / 2.102 GB, free: 94.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/7.759, allocations: 133.3 kB / 2.102 GB, free: 94.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/7.759, allocations: 53.03 kB / 2.102 GB, free: 94.41 MB / 0.7917 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 (133): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004127/7.76, allocations: 176 kB / 2.102 GB, free: 94.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/7.76, allocations: 173.5 kB / 2.102 GB, free: 94.21 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/7.763, allocations: 1.133 MB / 2.103 GB, free: 94.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/7.763, allocations: 10.69 kB / 2.103 GB, free: 94.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/7.763, allocations: 2.656 kB / 2.103 GB, free: 94.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/7.765, allocations: 0.8107 MB / 2.104 GB, free: 94 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/7.773, allocations: 2.711 MB / 2.107 GB, free: 93.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/7.773, allocations: 3.719 kB / 2.107 GB, free: 93.51 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/7.775, allocations: 176.4 kB / 2.107 GB, free: 93.51 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/7.775, allocations: 82.17 kB / 2.107 GB, free: 93.49 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/7.775, allocations: 29.23 kB / 2.107 GB, free: 93.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/7.777, allocations: 1.92 MB / 2.109 GB, free: 91.72 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/7.777, allocations: 3.781 kB / 2.109 GB, free: 91.72 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/7.781, allocations: 1.872 MB / 2.111 GB, free: 91.04 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/7.782, allocations: 359.8 kB / 2.111 GB, free: 90.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005737/7.783, allocations: 27.95 kB / 2.111 GB, free: 90.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/7.785, allocations: 131.5 kB / 2.111 GB, free: 90.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/7.786, allocations: 73.17 kB / 2.111 GB, free: 90.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/7.786, allocations: 36.7 kB / 2.111 GB, free: 90.84 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002447/7.788, allocations: 1.067 MB / 2.112 GB, free: 90.68 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.124e-06/7.788, allocations: 0 / 2.112 GB, free: 90.68 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005601/7.794, allocations: 0.9976 MB / 2.113 GB, free: 90.59 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.port_a.h_outflow,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.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 (88): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007316/7.801, allocations: 4.248 MB / 2.118 GB, free: 88.48 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004572/7.806, allocations: 1.894 MB / 2.119 GB, free: 88.04 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/7.806, allocations: 6.641 kB / 2.119 GB, free: 88.04 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/7.807, allocations: 0.5774 MB / 2.12 GB, free: 87.92 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007515/7.815, allocations: 0.892 MB / 2.121 GB, free: 87.89 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/7.825, allocations: 3.083 MB / 2.124 GB, free: 86.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/7.827, allocations: 1.465 MB / 2.125 GB, free: 86.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004446/7.831, allocations: 0.5854 MB / 2.126 GB, free: 86.21 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/7.833, allocations: 0.7461 MB / 2.127 GB, free: 86.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.783e-06/7.833, allocations: 0 / 2.127 GB, free: 86.2 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/8.005, allocations: 63.93 MB / 2.189 GB, free: 70.16 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/8.006, allocations: 246.8 kB / 2.189 GB, free: 69.88 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.767/13.77, allocations: 0 / 2.189 GB, free: 69.88 MB / 0.7917 GB