Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.16/4.16, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.515e-05, allocations: 4.688 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 98.73 MB / 0.6302 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.419, allocations: 431.9 MB / 1.052 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.419, allocations: 94.31 kB / 1.052 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.158/7.577, allocations: 1.093 GB / 2.145 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.003e-06/7.577, allocations: 0 / 2.145 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003845/7.577, allocations: 52.61 kB / 2.145 GB, free: 118.4 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00699/7.584, allocations: 2.188 MB / 2.147 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/7.584, allocations: 7.688 kB / 2.147 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005382/7.585, allocations: 184 kB / 2.148 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/7.588, allocations: 373.4 kB / 2.148 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00971/7.597, allocations: 2.472 MB / 2.15 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/7.598, allocations: 102.6 kB / 2.15 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006301/7.598, allocations: 134.8 kB / 2.151 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/7.603, allocations: 1.338 MB / 2.152 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/7.603, allocations: 3.281 kB / 2.152 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/7.603, allocations: 54.36 kB / 2.152 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/7.603, allocations: 32.56 kB / 2.152 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/7.606, allocations: 0.8981 MB / 2.153 GB, free: 116.5 MB / 0.8386 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.01413/7.62, allocations: 7.123 MB / 2.16 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/7.622, allocations: 1.171 MB / 2.161 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/7.623, allocations: 336 kB / 2.161 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005175/7.628, allocations: 2.245 MB / 2.163 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008905/7.629, allocations: 379.2 kB / 2.164 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/7.631, allocations: 92.55 kB / 2.164 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=67): time 4.329e-06/7.631, allocations: 0 / 2.164 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67): time 0.002098/7.633, allocations: 0.7329 MB / 2.165 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/7.633, allocations: 166.3 kB / 2.165 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/7.635, allocations: 1.292 MB / 2.166 GB, free: 110 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/7.636, allocations: 45.02 kB / 2.166 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/7.637, allocations: 0.903 MB / 2.167 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/7.637, allocations: 234.9 kB / 2.167 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/7.637, allocations: 26.83 kB / 2.167 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/7.637, allocations: 346.4 kB / 2.167 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/7.638, allocations: 290.3 kB / 2.168 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/7.639, allocations: 0.6598 MB / 2.168 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/7.64, allocations: 421.2 kB / 2.169 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/7.64, allocations: 3.906 kB / 2.169 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002806/7.643, allocations: 1.093 MB / 2.17 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008635/7.644, allocations: 3.737 MB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/7.644, allocations: 11.25 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.71e-05/7.644, allocations: 17.94 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/7.646, allocations: 253 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/7.646, allocations: 22.83 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/7.648, allocations: 132.4 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/7.648, allocations: 54.91 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/7.648, allocations: 3.625 kB / 2.174 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/7.651, allocations: 0.9143 MB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/7.651, allocations: 13.39 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/7.651, allocations: 16.84 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/7.652, allocations: 240.1 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/7.652, allocations: 26.03 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/7.655, allocations: 121.2 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/7.655, allocations: 58.25 kB / 2.175 GB, free: 104.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (121): * Single equations (assignments): 117 * 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.0003498/7.655, allocations: 169 kB / 2.176 GB, free: 104.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/7.656, allocations: 167.2 kB / 2.176 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/7.658, allocations: 0.9704 MB / 2.177 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/7.658, allocations: 14.81 kB / 2.177 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/7.658, allocations: 0 / 2.177 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/7.66, allocations: 0.6771 MB / 2.177 GB, free: 104.1 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.005438/7.665, allocations: 2.253 MB / 2.18 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/7.665, allocations: 0 / 2.18 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/7.667, allocations: 154.4 kB / 2.18 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/7.667, allocations: 30.33 kB / 2.18 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.354e-05/7.667, allocations: 24.36 kB / 2.18 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/7.668, allocations: 1.305 MB / 2.181 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/7.668, allocations: 0 / 2.181 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/7.671, allocations: 1.357 MB / 2.182 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/7.672, allocations: 334.2 kB / 2.183 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/7.672, allocations: 20.61 kB / 2.183 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/7.674, allocations: 113.7 kB / 2.183 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/7.674, allocations: 55.61 kB / 2.183 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/7.674, allocations: 31.53 kB / 2.183 GB, free: 102 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002068/7.677, allocations: 0.9889 MB / 2.184 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.01e-07/7.677, allocations: 2.312 kB / 2.184 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004814/7.681, allocations: 1.117 MB / 2.185 GB, free: 101.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (75): * Single equations (assignments): 67 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006126/7.688, allocations: 3.078 MB / 2.188 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00337/7.691, allocations: 1.458 MB / 2.189 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/7.691, allocations: 3.75 kB / 2.189 GB, free: 100.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/7.692, allocations: 471.5 kB / 2.19 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006011/7.698, allocations: 0.7644 MB / 2.191 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/7.707, allocations: 2.869 MB / 2.193 GB, free: 99.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/7.708, allocations: 1.444 MB / 2.195 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004004/7.712, allocations: 0.5454 MB / 2.195 GB, free: 98.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/7.714, allocations: 0.7185 MB / 2.196 GB, free: 98.65 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/7.714, allocations: 0 / 2.196 GB, free: 98.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/7.855, allocations: 58.31 MB / 2.253 GB, free: 90.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/7.855, allocations: 226.4 kB / 2.253 GB, free: 89.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.19/13.05, allocations: 0 / 2.253 GB, free: 89.77 MB / 0.8386 GB