Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.398e-05/4.402e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.886/2.12, allocations: 446.7 MB / 1.108 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/2.121, allocations: 92.52 kB / 1.108 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.735/7.855, allocations: 1.135 GB / 2.243 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.883e-06/7.855, allocations: 0 / 2.243 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004154/7.856, allocations: 58.75 kB / 2.243 GB, free: 123.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007133/7.863, allocations: 2.072 MB / 2.245 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/7.863, allocations: 10.94 kB / 2.245 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005826/7.864, allocations: 172.4 kB / 2.246 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/7.868, allocations: 455.6 kB / 2.246 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/7.878, allocations: 2.296 MB / 2.248 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/7.878, allocations: 93.44 kB / 2.248 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/7.878, allocations: 128.4 kB / 2.248 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/7.882, allocations: 1.231 MB / 2.25 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/7.882, allocations: 3.781 kB / 2.25 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/7.882, allocations: 48.81 kB / 2.25 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/7.882, allocations: 33.06 kB / 2.25 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/7.885, allocations: 0.8133 MB / 2.251 GB, free: 122 MB / 0.8855 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.01316/7.898, allocations: 6.878 MB / 2.257 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/7.9, allocations: 1.126 MB / 2.258 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/7.901, allocations: 304.9 kB / 2.259 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006635/7.907, allocations: 2.915 MB / 2.261 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/7.908, allocations: 343 kB / 2.262 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00103/7.909, allocations: 99.75 kB / 2.262 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.308e-06/7.909, allocations: 0 / 2.262 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002105/7.911, allocations: 0.666 MB / 2.263 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/7.911, allocations: 168.4 kB / 2.263 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/7.915, allocations: 1.336 MB / 2.264 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/7.915, allocations: 44.45 kB / 2.264 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000995/7.916, allocations: 0.8919 MB / 2.265 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/7.916, allocations: 213.5 kB / 2.265 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/7.916, allocations: 19.28 kB / 2.265 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/7.916, allocations: 348.7 kB / 2.266 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/7.917, allocations: 268 kB / 2.266 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/7.918, allocations: 0.6972 MB / 2.266 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/7.919, allocations: 401.7 kB / 2.267 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/7.919, allocations: 7.25 kB / 2.267 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003067/7.922, allocations: 1.074 MB / 2.268 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009303/7.923, allocations: 4.561 MB / 2.272 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/7.923, allocations: 18.17 kB / 2.272 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/7.923, allocations: 14.78 kB / 2.272 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/7.925, allocations: 242.9 kB / 2.273 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/7.925, allocations: 24.47 kB / 2.273 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/7.928, allocations: 123.7 kB / 2.273 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/7.928, allocations: 62.98 kB / 2.273 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/7.928, allocations: 3.344 kB / 2.273 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/7.93, allocations: 0.9024 MB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/7.93, allocations: 13.69 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/7.93, allocations: 21.2 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/7.932, allocations: 247.5 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/7.932, allocations: 19.16 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/7.934, allocations: 115 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/7.934, allocations: 57.47 kB / 2.274 GB, free: 108.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0004623/7.935, allocations: 174 kB / 2.274 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/7.935, allocations: 163.4 kB / 2.274 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/7.938, allocations: 0.9412 MB / 2.275 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/7.938, allocations: 11.36 kB / 2.275 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/7.938, allocations: 3.953 kB / 2.275 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/7.939, allocations: 0.7836 MB / 2.276 GB, free: 107.8 MB / 0.8855 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.005679/7.945, allocations: 2.147 MB / 2.278 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/7.945, allocations: 0 / 2.278 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/7.946, allocations: 141.6 kB / 2.278 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/7.947, allocations: 25.91 kB / 2.278 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/7.947, allocations: 25.7 kB / 2.278 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/7.948, allocations: 1.296 MB / 2.28 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.948, allocations: 2.25 kB / 2.28 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/7.951, allocations: 1.314 MB / 2.281 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/7.952, allocations: 346.8 kB / 2.281 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/7.953, allocations: 18.78 kB / 2.281 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/7.955, allocations: 93.14 kB / 2.281 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/7.955, allocations: 59.23 kB / 2.281 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/7.955, allocations: 33.36 kB / 2.282 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002564/7.957, allocations: 1.074 MB / 2.283 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.52e-07/7.958, allocations: 0 / 2.283 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005214/7.963, allocations: 1.016 MB / 2.284 GB, free: 105.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006623/7.969, allocations: 3.224 MB / 2.287 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003293/7.973, allocations: 1.405 MB / 2.288 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/7.973, allocations: 0 / 2.288 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/7.974, allocations: 448.8 kB / 2.289 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/7.98, allocations: 0.7356 MB / 2.289 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009149/7.989, allocations: 2.82 MB / 2.292 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/7.99, allocations: 1.404 MB / 2.293 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004286/7.994, allocations: 0.5986 MB / 2.294 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/7.996, allocations: 0.6944 MB / 2.295 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.274e-06/7.996, allocations: 0 / 2.295 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1794/8.175, allocations: 57.54 MB / 2.351 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/8.176, allocations: 228.1 kB / 2.351 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.339/13.51, allocations: 0 / 2.351 GB, free: 87.04 MB / 0.8855 GB