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.797/3.797, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.73e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.609, allocations: 92.69 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.775, allocations: 422.2 MB / 1.002 GB, free: 432 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.775, allocations: 96.25 kB / 1.002 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.947/7.722, allocations: 1.063 GB / 2.065 GB, free: 111.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.104e-06/7.722, allocations: 0 / 2.065 GB, free: 111.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004029/7.723, allocations: 54.55 kB / 2.065 GB, free: 111.1 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.007227/7.73, allocations: 2.205 MB / 2.067 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/7.73, allocations: 8.812 kB / 2.067 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006475/7.731, allocations: 187.1 kB / 2.067 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/7.734, allocations: 380.9 kB / 2.067 GB, free: 110 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/7.751, allocations: 4.658 MB / 2.072 GB, free: 109.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/7.751, allocations: 95.92 kB / 2.072 GB, free: 109.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/7.752, allocations: 136.6 kB / 2.072 GB, free: 109.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/7.755, allocations: 1.406 MB / 2.074 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/7.755, allocations: 10.67 kB / 2.074 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/7.756, allocations: 56.47 kB / 2.074 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/7.756, allocations: 33.56 kB / 2.074 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/7.759, allocations: 0.9377 MB / 2.075 GB, free: 109.2 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.01447/7.773, allocations: 7.595 MB / 2.082 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/7.775, allocations: 0.7265 MB / 2.083 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/7.776, allocations: 383.2 kB / 2.083 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004881/7.781, allocations: 1.95 MB / 2.085 GB, free: 103.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/7.783, allocations: 469.4 kB / 2.085 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001218/7.784, allocations: 93.66 kB / 2.086 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=73): time 4.198e-06/7.784, allocations: 0 / 2.086 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.008495/7.792, allocations: 2.174 MB / 2.088 GB, free: 102.8 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/7.793, allocations: 192.2 kB / 2.088 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/7.797, allocations: 1.293 MB / 2.089 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004015/7.798, allocations: 48.58 kB / 2.089 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/7.799, allocations: 0.9107 MB / 2.09 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006957/7.8, allocations: 281.5 kB / 2.09 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/7.8, allocations: 20.88 kB / 2.09 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001751/7.801, allocations: 352.4 kB / 2.091 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/7.802, allocations: 326.7 kB / 2.091 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/7.804, allocations: 0.7208 MB / 2.092 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/7.806, allocations: 461.4 kB / 2.092 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/7.806, allocations: 0 / 2.092 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003688/7.81, allocations: 1.213 MB / 2.093 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009736/7.811, allocations: 3.929 MB / 2.097 GB, free: 96.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.054e-05/7.811, allocations: 14.55 kB / 2.097 GB, free: 96.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/7.811, allocations: 42.78 kB / 2.097 GB, free: 96.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/7.813, allocations: 275 kB / 2.097 GB, free: 96.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/7.814, allocations: 1.36 MB / 2.099 GB, free: 95.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/7.817, allocations: 143.8 kB / 2.099 GB, free: 95.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/7.817, allocations: 54.72 kB / 2.099 GB, free: 95.53 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/7.818, allocations: 5.844 kB / 2.099 GB, free: 95.53 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/7.82, allocations: 1.019 MB / 2.1 GB, free: 95.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/7.82, allocations: 12.03 kB / 2.1 GB, free: 95.47 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/7.82, allocations: 52.8 kB / 2.1 GB, free: 95.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/7.822, allocations: 257.9 kB / 2.1 GB, free: 95.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/7.823, allocations: 1.362 MB / 2.102 GB, free: 94.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/7.826, allocations: 127.9 kB / 2.102 GB, free: 94.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/7.826, allocations: 56.42 kB / 2.102 GB, free: 94.2 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.0003873/7.827, allocations: 177.7 kB / 2.102 GB, free: 94.09 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/7.827, allocations: 172.6 kB / 2.102 GB, free: 94 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/7.83, allocations: 1.13 MB / 2.103 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/7.83, allocations: 10.91 kB / 2.103 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/7.83, allocations: 0 / 2.103 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001871/7.832, allocations: 0.8149 MB / 2.104 GB, free: 93.79 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/7.839, allocations: 2.702 MB / 2.107 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/7.839, allocations: 3.75 kB / 2.107 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/7.841, allocations: 177.2 kB / 2.107 GB, free: 93.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/7.841, allocations: 78.17 kB / 2.107 GB, free: 93.29 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/7.841, allocations: 32.34 kB / 2.107 GB, free: 93.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/7.843, allocations: 1.911 MB / 2.109 GB, free: 91.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/7.843, allocations: 3.438 kB / 2.109 GB, free: 91.52 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/7.846, allocations: 1.874 MB / 2.111 GB, free: 90.84 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/7.848, allocations: 372.6 kB / 2.111 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/7.848, allocations: 20.28 kB / 2.111 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/7.85, allocations: 131.9 kB / 2.111 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/7.851, allocations: 78.34 kB / 2.111 GB, free: 90.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/7.851, allocations: 36.7 kB / 2.111 GB, free: 90.63 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002217/7.853, allocations: 1.067 MB / 2.112 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.92e-07/7.853, allocations: 0 / 2.112 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005175/7.858, allocations: 0.9915 MB / 2.113 GB, free: 90.39 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.00716/7.865, allocations: 4.273 MB / 2.117 GB, free: 88.24 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004347/7.87, allocations: 1.843 MB / 2.119 GB, free: 87.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/7.87, allocations: 0 / 2.119 GB, free: 87.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/7.871, allocations: 0.5614 MB / 2.12 GB, free: 87.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00734/7.879, allocations: 0.8963 MB / 2.121 GB, free: 87.69 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/7.889, allocations: 3.073 MB / 2.124 GB, free: 86.77 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/7.89, allocations: 1.463 MB / 2.125 GB, free: 86.03 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004512/7.894, allocations: 0.5849 MB / 2.126 GB, free: 86.01 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/7.896, allocations: 0.7534 MB / 2.126 GB, free: 86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.202e-06/7.896, allocations: 0 / 2.126 GB, free: 86 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/8.055, allocations: 63.89 MB / 2.189 GB, free: 69.97 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/8.055, allocations: 229.5 kB / 2.189 GB, free: 69.71 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.569/13.62, allocations: 0 / 2.189 GB, free: 69.71 MB / 0.7917 GB