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.854/3.854, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.734e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6054, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.804, allocations: 428.3 MB / 1.008 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.804, allocations: 94.64 kB / 1.008 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.067/7.871, allocations: 1.094 GB / 2.102 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.036e-06/7.871, allocations: 0 / 2.102 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003422/7.872, allocations: 53.41 kB / 2.102 GB, free: 112.6 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.006783/7.879, allocations: 2.112 MB / 2.104 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/7.879, allocations: 7.688 kB / 2.104 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005222/7.879, allocations: 175.9 kB / 2.104 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/7.883, allocations: 465.8 kB / 2.104 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009243/7.892, allocations: 2.313 MB / 2.107 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/7.893, allocations: 91.98 kB / 2.107 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/7.893, allocations: 127.8 kB / 2.107 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/7.897, allocations: 1.293 MB / 2.108 GB, free: 110.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/7.897, allocations: 8.781 kB / 2.108 GB, free: 110.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/7.897, allocations: 48.44 kB / 2.108 GB, free: 110.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/7.897, allocations: 38.53 kB / 2.108 GB, free: 110.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/7.9, allocations: 0.8505 MB / 2.109 GB, free: 110.6 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.01302/7.913, allocations: 7.223 MB / 2.116 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/7.915, allocations: 1.151 MB / 2.117 GB, free: 105.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/7.916, allocations: 305.2 kB / 2.118 GB, free: 105.6 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005568/7.921, allocations: 2.456 MB / 2.12 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/7.923, allocations: 401.8 kB / 2.12 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00102/7.924, allocations: 91.92 kB / 2.12 GB, free: 103.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 5.46e-06/7.924, allocations: 0 / 2.12 GB, free: 103.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.002917/7.927, allocations: 0.711 MB / 2.121 GB, free: 103.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/7.927, allocations: 196.7 kB / 2.121 GB, free: 103.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/7.929, allocations: 1.324 MB / 2.123 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/7.93, allocations: 46.89 kB / 2.123 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/7.931, allocations: 0.8962 MB / 2.124 GB, free: 102.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/7.931, allocations: 224.3 kB / 2.124 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/7.931, allocations: 20.25 kB / 2.124 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001166/7.931, allocations: 347.2 kB / 2.124 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/7.932, allocations: 274 kB / 2.124 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/7.933, allocations: 0.6747 MB / 2.125 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/7.934, allocations: 438.5 kB / 2.125 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/7.934, allocations: 3.906 kB / 2.125 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002857/7.937, allocations: 1.105 MB / 2.126 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008994/7.938, allocations: 4.124 MB / 2.131 GB, free: 97.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/7.938, allocations: 11.28 kB / 2.131 GB, free: 97.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.133e-05/7.938, allocations: 15.19 kB / 2.131 GB, free: 97.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/7.94, allocations: 268.2 kB / 2.131 GB, free: 97.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003951/7.94, allocations: 0.6164 MB / 2.131 GB, free: 96.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/7.943, allocations: 125.9 kB / 2.132 GB, free: 96.72 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/7.943, allocations: 53.5 kB / 2.132 GB, free: 96.72 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/7.943, allocations: 3.938 kB / 2.132 GB, free: 96.72 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/7.945, allocations: 0.9286 MB / 2.132 GB, free: 96.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/7.945, allocations: 11.62 kB / 2.133 GB, free: 96.64 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/7.945, allocations: 18.5 kB / 2.133 GB, free: 96.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/7.947, allocations: 249.6 kB / 2.133 GB, free: 96.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003432/7.948, allocations: 0.6173 MB / 2.133 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/7.95, allocations: 117.4 kB / 2.133 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/7.95, allocations: 54.17 kB / 2.134 GB, free: 96.05 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.0004295/7.951, allocations: 183.1 kB / 2.134 GB, free: 95.94 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/7.951, allocations: 162.9 kB / 2.134 GB, free: 95.85 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/7.954, allocations: 0.9994 MB / 2.135 GB, free: 95.75 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/7.954, allocations: 11.3 kB / 2.135 GB, free: 95.75 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/7.954, allocations: 0 / 2.135 GB, free: 95.75 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/7.955, allocations: 0.8265 MB / 2.136 GB, free: 95.46 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/7.961, allocations: 2.112 MB / 2.138 GB, free: 95.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/7.961, allocations: 3.062 kB / 2.138 GB, free: 95.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/7.962, allocations: 139.6 kB / 2.138 GB, free: 95.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/7.962, allocations: 52.67 kB / 2.138 GB, free: 95.09 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/7.962, allocations: 23.33 kB / 2.138 GB, free: 95.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/7.964, allocations: 1.852 MB / 2.14 GB, free: 93.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/7.964, allocations: 5.906 kB / 2.14 GB, free: 93.32 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/7.967, allocations: 1.31 MB / 2.141 GB, free: 93.05 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/7.968, allocations: 317.5 kB / 2.141 GB, free: 92.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/7.968, allocations: 28.2 kB / 2.141 GB, free: 92.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/7.97, allocations: 107.3 kB / 2.141 GB, free: 92.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/7.97, allocations: 55.25 kB / 2.141 GB, free: 92.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/7.971, allocations: 25.7 kB / 2.142 GB, free: 92.86 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002133/7.973, allocations: 1.008 MB / 2.143 GB, free: 92.74 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.41e-07/7.973, allocations: 0 / 2.143 GB, free: 92.74 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004488/7.977, allocations: 1.021 MB / 2.144 GB, free: 92.57 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.005972/7.983, allocations: 2.989 MB / 2.146 GB, free: 91.53 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003799/7.987, allocations: 1.557 MB / 2.148 GB, free: 91.19 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/7.987, allocations: 0 / 2.148 GB, free: 91.19 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/7.988, allocations: 476.6 kB / 2.148 GB, free: 91.08 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/7.993, allocations: 0.6633 MB / 2.149 GB, free: 91.07 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/8.002, allocations: 2.854 MB / 2.152 GB, free: 90.28 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/8.003, allocations: 1.408 MB / 2.153 GB, free: 89.56 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004148/8.008, allocations: 0.5742 MB / 2.154 GB, free: 89.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/8.009, allocations: 0.6934 MB / 2.154 GB, free: 89.53 MB / 0.7917 GB Notification: Performance of SimCode: time 2.024e-06/8.009, allocations: 0 / 2.154 GB, free: 89.53 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/8.166, allocations: 55.77 MB / 2.209 GB, free: 58.55 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/8.166, allocations: 226.7 kB / 2.209 GB, free: 58.29 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/13.53, allocations: 0 / 2.209 GB, free: 58.29 MB / 0.7917 GB