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={"static"}) Notification: Performance of loadModel(Buildings): time 3.915/3.915, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.891e-05/4.911e-05, allocations: 11.98 kB / 0.4991 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5927, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.797, allocations: 428.3 MB / 1.008 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.797, allocations: 90.67 kB / 1.008 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.708/7.506, allocations: 1.094 GB / 2.102 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.094e-06/7.506, allocations: 2.094 kB / 2.102 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000377/7.506, allocations: 58.28 kB / 2.102 GB, free: 113.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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.006449/7.512, allocations: 2.113 MB / 2.104 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/7.512, allocations: 10.75 kB / 2.104 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004682/7.513, allocations: 166.1 kB / 2.104 GB, free: 112.3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/7.517, allocations: 464.3 kB / 2.104 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009006/7.526, allocations: 2.308 MB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/7.526, allocations: 95.75 kB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/7.526, allocations: 133 kB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/7.53, allocations: 1.308 MB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/7.53, allocations: 7.094 kB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/7.53, allocations: 50.33 kB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/7.53, allocations: 36.08 kB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/7.533, allocations: 0.8703 MB / 2.109 GB, free: 111.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.01254/7.545, allocations: 7.223 MB / 2.116 GB, free: 106.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/7.548, allocations: 1.16 MB / 2.117 GB, free: 106.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/7.548, allocations: 307 kB / 2.118 GB, free: 106.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005405/7.554, allocations: 2.451 MB / 2.12 GB, free: 104.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/7.555, allocations: 408.5 kB / 2.12 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009525/7.556, allocations: 90.38 kB / 2.12 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 4.549e-06/7.556, allocations: 3.891 kB / 2.12 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.002504/7.558, allocations: 0.717 MB / 2.121 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/7.559, allocations: 202.2 kB / 2.121 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/7.561, allocations: 1.313 MB / 2.123 GB, free: 104 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/7.562, allocations: 45.39 kB / 2.123 GB, free: 103.9 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000935/7.562, allocations: 0.8941 MB / 2.124 GB, free: 103.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/7.563, allocations: 223.7 kB / 2.124 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/7.563, allocations: 17.97 kB / 2.124 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/7.563, allocations: 347.6 kB / 2.124 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/7.564, allocations: 277.7 kB / 2.124 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/7.565, allocations: 0.6835 MB / 2.125 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/7.566, allocations: 429.5 kB / 2.125 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/7.566, allocations: 7.688 kB / 2.125 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002784/7.569, allocations: 1.136 MB / 2.127 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000916/7.569, allocations: 4.131 MB / 2.131 GB, free: 98.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/7.57, allocations: 7.906 kB / 2.131 GB, free: 98.08 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/7.57, allocations: 19.56 kB / 2.131 GB, free: 98.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/7.572, allocations: 263.3 kB / 2.131 GB, free: 98.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/7.572, allocations: 0.6148 MB / 2.131 GB, free: 97.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/7.575, allocations: 129 kB / 2.132 GB, free: 97.49 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/7.575, allocations: 53.77 kB / 2.132 GB, free: 97.49 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/7.575, allocations: 5.75 kB / 2.132 GB, free: 97.49 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002287/7.577, allocations: 0.9581 MB / 2.133 GB, free: 97.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/7.577, allocations: 15.8 kB / 2.133 GB, free: 97.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/7.577, allocations: 18.34 kB / 2.133 GB, free: 97.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/7.579, allocations: 249.6 kB / 2.133 GB, free: 97.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003373/7.579, allocations: 0.6161 MB / 2.133 GB, free: 96.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/7.582, allocations: 119.8 kB / 2.134 GB, free: 96.81 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/7.582, allocations: 53.06 kB / 2.134 GB, free: 96.81 MB / 0.7917 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.09720000000000001 * vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real 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 (122): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000432/7.582, allocations: 173 kB / 2.134 GB, free: 96.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/7.583, allocations: 164.7 kB / 2.134 GB, free: 96.61 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/7.585, allocations: 0.993 MB / 2.135 GB, free: 96.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/7.586, allocations: 7.719 kB / 2.135 GB, free: 96.52 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/7.586, allocations: 2.281 kB / 2.135 GB, free: 96.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/7.587, allocations: 0.8248 MB / 2.136 GB, free: 96.23 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/7.593, allocations: 2.109 MB / 2.138 GB, free: 95.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/7.593, allocations: 12.66 kB / 2.138 GB, free: 95.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/7.595, allocations: 145.4 kB / 2.138 GB, free: 95.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/7.595, allocations: 51.56 kB / 2.138 GB, free: 95.86 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/7.595, allocations: 22.34 kB / 2.138 GB, free: 95.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/7.596, allocations: 1.856 MB / 2.14 GB, free: 94.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/7.597, allocations: 0 / 2.14 GB, free: 94.08 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/7.6, allocations: 1.312 MB / 2.141 GB, free: 93.81 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/7.601, allocations: 323.7 kB / 2.141 GB, free: 93.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/7.601, allocations: 19.56 kB / 2.141 GB, free: 93.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/7.603, allocations: 112.1 kB / 2.142 GB, free: 93.62 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/7.603, allocations: 55.31 kB / 2.142 GB, free: 93.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/7.603, allocations: 24.22 kB / 2.142 GB, free: 93.62 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002145/7.606, allocations: 1.006 MB / 2.143 GB, free: 93.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.91e-07/7.606, allocations: 1.969 kB / 2.143 GB, free: 93.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004501/7.61, allocations: 1.024 MB / 2.144 GB, free: 93.33 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol.dynBal.U,vol.dynBal.m,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 (71): * Single equations (assignments): 62 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006055/7.616, allocations: 2.972 MB / 2.146 GB, free: 92.33 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003843/7.62, allocations: 1.594 MB / 2.148 GB, free: 91.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/7.62, allocations: 4.469 kB / 2.148 GB, free: 91.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/7.621, allocations: 484.7 kB / 2.149 GB, free: 91.87 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/7.627, allocations: 0.6585 MB / 2.149 GB, free: 91.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/7.635, allocations: 2.858 MB / 2.152 GB, free: 91.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/7.636, allocations: 1.414 MB / 2.153 GB, free: 90.35 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003913/7.64, allocations: 0.5668 MB / 2.154 GB, free: 90.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/7.642, allocations: 0.6986 MB / 2.155 GB, free: 90.31 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/7.642, allocations: 2.062 kB / 2.155 GB, free: 90.31 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/7.777, allocations: 55.79 MB / 2.209 GB, free: 58.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/7.777, allocations: 228.4 kB / 2.209 GB, free: 58.4 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.37/13.15, allocations: 0 / 2.209 GB, free: 58.4 MB / 0.7917 GB