Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.987/3.987, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.821e-05, allocations: 8.25 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2103, allocations: 98.72 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.414, allocations: 437.8 MB / 1.058 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.415, allocations: 94.25 kB / 1.058 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.955/7.369, allocations: 1.124 GB / 2.182 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/7.369, allocations: 0 / 2.182 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002863/7.37, allocations: 51.75 kB / 2.182 GB, free: 117.3 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005794/7.375, allocations: 2.1 MB / 2.184 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/7.376, allocations: 11.25 kB / 2.184 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003686/7.376, allocations: 167.2 kB / 2.184 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/7.379, allocations: 455.3 kB / 2.185 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/7.388, allocations: 2.303 MB / 2.187 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/7.388, allocations: 89.91 kB / 2.187 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/7.389, allocations: 126.7 kB / 2.187 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/7.392, allocations: 1.232 MB / 2.188 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/7.392, allocations: 3.75 kB / 2.188 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/7.392, allocations: 53.84 kB / 2.188 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/7.392, allocations: 26.28 kB / 2.188 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/7.395, allocations: 0.8165 MB / 2.189 GB, free: 115.3 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.01183/7.406, allocations: 6.868 MB / 2.196 GB, free: 111.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/7.408, allocations: 1.123 MB / 2.197 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/7.409, allocations: 304.5 kB / 2.197 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006102/7.415, allocations: 2.894 MB / 2.2 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007449/7.416, allocations: 337.7 kB / 2.201 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008336/7.417, allocations: 95.95 kB / 2.201 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 3.587e-06/7.417, allocations: 0 / 2.201 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.001714/7.418, allocations: 0.6626 MB / 2.201 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/7.419, allocations: 165.1 kB / 2.201 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/7.421, allocations: 1.338 MB / 2.203 GB, free: 108 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/7.421, allocations: 45.44 kB / 2.203 GB, free: 108 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000864/7.422, allocations: 0.8893 MB / 2.204 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/7.422, allocations: 206.6 kB / 2.204 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/7.422, allocations: 23.11 kB / 2.204 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001071/7.423, allocations: 351.8 kB / 2.204 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/7.423, allocations: 271.9 kB / 2.204 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/7.424, allocations: 0.703 MB / 2.205 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/7.425, allocations: 426.3 kB / 2.206 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/7.425, allocations: 3.875 kB / 2.206 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002729/7.428, allocations: 1.105 MB / 2.207 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009387/7.429, allocations: 4.587 MB / 2.211 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/7.429, allocations: 15.16 kB / 2.211 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.364e-05/7.429, allocations: 19.16 kB / 2.211 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/7.431, allocations: 244.5 kB / 2.211 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.172e-05/7.431, allocations: 27.06 kB / 2.211 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/7.433, allocations: 118.1 kB / 2.211 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/7.433, allocations: 59.03 kB / 2.212 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/7.433, allocations: 6.594 kB / 2.212 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/7.435, allocations: 0.9246 MB / 2.212 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/7.436, allocations: 17.98 kB / 2.212 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/7.436, allocations: 16.78 kB / 2.212 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/7.437, allocations: 239.2 kB / 2.213 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/7.437, allocations: 25.59 kB / 2.213 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/7.439, allocations: 110.1 kB / 2.213 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/7.439, allocations: 60.83 kB / 2.213 GB, free: 101.6 MB / 0.8386 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 (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * 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.0003316/7.44, allocations: 167.4 kB / 2.213 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/7.44, allocations: 160.8 kB / 2.213 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/7.443, allocations: 0.9418 MB / 2.214 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/7.443, allocations: 7.281 kB / 2.214 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/7.443, allocations: 8.5 kB / 2.214 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/7.444, allocations: 0.7753 MB / 2.215 GB, free: 101 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.004879/7.449, allocations: 2.115 MB / 2.217 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/7.449, allocations: 0 / 2.217 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/7.45, allocations: 128.1 kB / 2.217 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/7.451, allocations: 32.61 kB / 2.217 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/7.451, allocations: 23.39 kB / 2.217 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009859/7.452, allocations: 1.315 MB / 2.218 GB, free: 99.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/7.452, allocations: 0 / 2.218 GB, free: 99.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/7.455, allocations: 1.274 MB / 2.22 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/7.456, allocations: 338.3 kB / 2.22 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/7.456, allocations: 16.94 kB / 2.22 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/7.458, allocations: 98.69 kB / 2.22 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/7.458, allocations: 62.7 kB / 2.22 GB, free: 98.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/7.458, allocations: 26.39 kB / 2.22 GB, free: 98.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002286/7.461, allocations: 1.073 MB / 2.221 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.82e-07/7.461, allocations: 3.219 kB / 2.221 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004661/7.465, allocations: 1.007 MB / 2.222 GB, free: 98.52 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.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 (68): * Single equations (assignments): 59 * 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.005899/7.471, allocations: 3.02 MB / 2.225 GB, free: 97.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003131/7.474, allocations: 1.503 MB / 2.227 GB, free: 97.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.474, allocations: 0 / 2.227 GB, free: 97.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/7.475, allocations: 448.5 kB / 2.227 GB, free: 96.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/7.481, allocations: 0.7316 MB / 2.228 GB, free: 96.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/7.491, allocations: 2.787 MB / 2.231 GB, free: 95.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/7.492, allocations: 1.407 MB / 2.232 GB, free: 95.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005825/7.498, allocations: 0.5977 MB / 2.232 GB, free: 95.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/7.5, allocations: 0.7 MB / 2.233 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.064e-06/7.5, allocations: 2.469 kB / 2.233 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/7.666, allocations: 57.28 MB / 2.289 GB, free: 59.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/7.667, allocations: 220.2 kB / 2.289 GB, free: 58.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.433/13.1, allocations: 0 / 2.289 GB, free: 58.93 MB / 0.8386 GB