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"}) Notification: Performance of loadModel(Buildings): time 4.437/4.437, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.874e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6593, allocations: 92.69 MB / 0.5851 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.957, allocations: 421.6 MB / 0.9967 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.957, allocations: 90.02 kB / 0.9968 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.007/8.964, allocations: 1.057 GB / 2.054 GB, free: 103.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.324e-06/8.964, allocations: 0 / 2.054 GB, free: 103.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004962/8.965, allocations: 58.92 kB / 2.054 GB, free: 103.5 MB / 0.7761 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.008545/8.973, allocations: 2.195 MB / 2.056 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/8.973, allocations: 13.91 kB / 2.056 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/8.977, allocations: 381.6 kB / 2.057 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/8.998, allocations: 4.648 MB / 2.061 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/8.998, allocations: 44.59 kB / 2.061 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006086/8.999, allocations: 79.78 kB / 2.061 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003681/9.002, allocations: 0.8776 MB / 2.062 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/9.007, allocations: 1.23 MB / 2.063 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/9.007, allocations: 6.469 kB / 2.063 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/9.008, allocations: 3.906 kB / 2.063 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.311e-05/9.008, allocations: 36.72 kB / 2.063 GB, free: 101.6 MB / 0.7761 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.01696/9.025, allocations: 7.364 MB / 2.07 GB, free: 97.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/9.027, allocations: 0.7212 MB / 2.071 GB, free: 97.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/9.028, allocations: 367 kB / 2.072 GB, free: 97.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00622/9.034, allocations: 1.916 MB / 2.073 GB, free: 96.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/9.036, allocations: 428.7 kB / 2.074 GB, free: 96.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001371/9.037, allocations: 74.91 kB / 2.074 GB, free: 96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=73): time 8.075e-06/9.037, allocations: 0 / 2.074 GB, free: 96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75): time 0.01179/9.049, allocations: 2.102 MB / 2.076 GB, free: 95.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/9.049, allocations: 193.8 kB / 2.076 GB, free: 95.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/9.053, allocations: 1.194 MB / 2.077 GB, free: 94.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/9.053, allocations: 29.58 kB / 2.077 GB, free: 94.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/9.054, allocations: 0.8997 MB / 2.078 GB, free: 94.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005076/9.055, allocations: 255.2 kB / 2.078 GB, free: 94.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/9.055, allocations: 0 / 2.078 GB, free: 94.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001271/9.055, allocations: 352.5 kB / 2.079 GB, free: 94.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/9.056, allocations: 302.1 kB / 2.079 GB, free: 94.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/9.057, allocations: 0.6834 MB / 2.08 GB, free: 93.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/9.06, allocations: 485.4 kB / 2.08 GB, free: 93.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/9.06, allocations: 3.656 kB / 2.08 GB, free: 93.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005045/9.065, allocations: 1.153 MB / 2.081 GB, free: 93.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/9.066, allocations: 3.924 MB / 2.085 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.667e-05/9.066, allocations: 11 kB / 2.085 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.916e-05/9.066, allocations: 18.34 kB / 2.085 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/9.069, allocations: 266 kB / 2.085 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/9.069, allocations: 23.27 kB / 2.085 GB, free: 89.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/9.072, allocations: 108.8 kB / 2.086 GB, free: 89.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/9.072, allocations: 54.52 kB / 2.086 GB, free: 89.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/9.073, allocations: 7.609 kB / 2.086 GB, free: 89.39 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004268/9.077, allocations: 0.9255 MB / 2.087 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.889e-05/9.077, allocations: 10.25 kB / 2.087 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/9.077, allocations: 15 kB / 2.087 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/9.079, allocations: 265.1 kB / 2.087 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.059e-05/9.079, allocations: 19.34 kB / 2.087 GB, free: 89.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/9.082, allocations: 101.4 kB / 2.087 GB, free: 89.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/9.083, allocations: 51.88 kB / 2.087 GB, free: 89.36 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.0005109/9.083, allocations: 143.1 kB / 2.087 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003869/9.087, allocations: 0.8334 MB / 2.088 GB, free: 89.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/9.088, allocations: 165.5 kB / 2.088 GB, free: 89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/9.093, allocations: 1.087 MB / 2.089 GB, free: 88.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/9.093, allocations: 15.03 kB / 2.089 GB, free: 88.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/9.093, allocations: 3.062 kB / 2.089 GB, free: 88.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003218/9.096, allocations: 0.797 MB / 2.09 GB, free: 88.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/9.106, allocations: 2.439 MB / 2.092 GB, free: 88.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/9.106, allocations: 0 / 2.092 GB, free: 88.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/9.108, allocations: 164.9 kB / 2.092 GB, free: 88.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/9.108, allocations: 93.42 kB / 2.093 GB, free: 88.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/9.109, allocations: 25.92 kB / 2.093 GB, free: 88.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/9.11, allocations: 1.163 MB / 2.094 GB, free: 87.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/9.11, allocations: 4.719 kB / 2.094 GB, free: 87.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/9.115, allocations: 1.798 MB / 2.095 GB, free: 86.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/9.117, allocations: 352.1 kB / 2.096 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/9.117, allocations: 10.16 kB / 2.096 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/9.12, allocations: 114.7 kB / 2.096 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/9.121, allocations: 64.94 kB / 2.096 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/9.121, allocations: 34.25 kB / 2.096 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002632/9.124, allocations: 0.8929 MB / 2.097 GB, free: 86.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.72e-07/9.124, allocations: 3.25 kB / 2.097 GB, free: 86.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006444/9.13, allocations: 0.9268 MB / 2.098 GB, free: 86.3 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 (83): * Single equations (assignments): 75 * 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.009414/9.14, allocations: 4.146 MB / 2.102 GB, free: 84.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00427/9.144, allocations: 1.527 MB / 2.103 GB, free: 83.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/9.144, allocations: 1.938 kB / 2.103 GB, free: 83.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/9.146, allocations: 452.8 kB / 2.104 GB, free: 83.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007664/9.153, allocations: 0.7567 MB / 2.105 GB, free: 83.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/9.165, allocations: 2.939 MB / 2.107 GB, free: 83.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/9.167, allocations: 1.455 MB / 2.109 GB, free: 82.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005871/9.173, allocations: 0.552 MB / 2.109 GB, free: 82.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/9.175, allocations: 0.7472 MB / 2.11 GB, free: 82.27 MB / 0.7761 GB Notification: Performance of SimCode: time 1.402e-06/9.175, allocations: 0 / 2.11 GB, free: 82.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2067/9.382, allocations: 52.54 MB / 2.161 GB, free: 79.29 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003737/9.383, allocations: 185.6 kB / 2.162 GB, free: 79.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.975/15.36, allocations: 1.406 kB / 2.162 GB, free: 79.09 MB / 0.7761 GB