Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.151/3.151, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.676e-05, allocations: 4 kB / 436.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 77.72 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.52/1.679, allocations: 413.2 MB / 0.9058 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.679, allocations: 89.3 kB / 0.9059 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.645/7.324, allocations: 1.093 GB / 1.999 GB, free: 53.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/7.324, allocations: 0 / 1.999 GB, free: 53.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003403/7.324, allocations: 64.98 kB / 1.999 GB, free: 53.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006507/7.331, allocations: 2.187 MB / 2.001 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/7.331, allocations: 12.03 kB / 2.001 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004602/7.332, allocations: 181.8 kB / 2.001 GB, free: 50.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/7.334, allocations: 376.9 kB / 2.002 GB, free: 50.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009361/7.343, allocations: 2.45 MB / 2.004 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/7.344, allocations: 106.4 kB / 2.004 GB, free: 47.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/7.344, allocations: 135.8 kB / 2.004 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/7.347, allocations: 1.333 MB / 2.006 GB, free: 46.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/7.347, allocations: 4 kB / 2.006 GB, free: 46.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/7.347, allocations: 55.98 kB / 2.006 GB, free: 46.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/7.347, allocations: 39.94 kB / 2.006 GB, free: 46.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/7.35, allocations: 0.891 MB / 2.007 GB, free: 45.22 MB / 0.6823 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.01277/7.363, allocations: 7.129 MB / 2.014 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/7.365, allocations: 1.169 MB / 2.015 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008679/7.366, allocations: 357.6 kB / 2.015 GB, free: 35.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005142/7.371, allocations: 2.255 MB / 2.017 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000849/7.372, allocations: 381.9 kB / 2.018 GB, free: 33.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001054/7.373, allocations: 83.27 kB / 2.018 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.509e-06/7.373, allocations: 0 / 2.018 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.002081/7.375, allocations: 0.7399 MB / 2.019 GB, free: 32.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/7.375, allocations: 162.8 kB / 2.019 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/7.377, allocations: 1.296 MB / 2.02 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/7.378, allocations: 45.7 kB / 2.02 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008846/7.379, allocations: 0.8905 MB / 2.021 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/7.379, allocations: 246.3 kB / 2.021 GB, free: 29.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/7.379, allocations: 20 kB / 2.021 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/7.379, allocations: 341.9 kB / 2.021 GB, free: 29.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/7.38, allocations: 289.9 kB / 2.022 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/7.381, allocations: 0.675 MB / 2.022 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/7.382, allocations: 407.6 kB / 2.023 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/7.382, allocations: 4 kB / 2.023 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002741/7.385, allocations: 1.102 MB / 2.024 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007421/7.385, allocations: 3.744 MB / 2.027 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/7.385, allocations: 8 kB / 2.027 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/7.385, allocations: 19.94 kB / 2.028 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/7.387, allocations: 251.6 kB / 2.028 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/7.387, allocations: 27.92 kB / 2.028 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/7.39, allocations: 123.8 kB / 2.028 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/7.39, allocations: 55.97 kB / 2.028 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/7.39, allocations: 4 kB / 2.028 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/7.392, allocations: 0.9185 MB / 2.029 GB, free: 21.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/7.392, allocations: 16.02 kB / 2.029 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/7.392, allocations: 16 kB / 2.029 GB, free: 21.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/7.394, allocations: 247.6 kB / 2.029 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/7.394, allocations: 23.88 kB / 2.029 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/7.396, allocations: 127.8 kB / 2.029 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/7.397, allocations: 59.97 kB / 2.029 GB, free: 20.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0003234/7.397, allocations: 164.7 kB / 2.029 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/7.397, allocations: 165.9 kB / 2.03 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/7.4, allocations: 0.9967 MB / 2.031 GB, free: 19.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/7.4, allocations: 8 kB / 2.031 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/7.4, allocations: 0 / 2.031 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/7.402, allocations: 0.6784 MB / 2.031 GB, free: 18.63 MB / 0.6823 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.005405/7.407, allocations: 2.27 MB / 2.034 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/7.407, allocations: 0 / 2.034 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/7.408, allocations: 155.8 kB / 2.034 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/7.409, allocations: 28.84 kB / 2.034 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/7.409, allocations: 31.98 kB / 2.034 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/7.41, allocations: 1.299 MB / 2.035 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/7.41, allocations: 8.016 kB / 2.035 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/7.413, allocations: 1.396 MB / 2.036 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/7.414, allocations: 334.8 kB / 2.037 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/7.414, allocations: 20 kB / 2.037 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/7.417, allocations: 115.7 kB / 2.037 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/7.417, allocations: 56.69 kB / 2.037 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/7.417, allocations: 31.98 kB / 2.037 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002008/7.419, allocations: 0.9897 MB / 2.038 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/7.419, allocations: 3.938 kB / 2.038 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005182/7.424, allocations: 1.114 MB / 2.039 GB, free: 10.57 MB / 0.6823 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.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 (76): * Single equations (assignments): 68 * 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: 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.00603/7.43, allocations: 3.172 MB / 2.042 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003267/7.434, allocations: 1.468 MB / 2.043 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/7.434, allocations: 0.9375 kB / 2.043 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/7.435, allocations: 484.7 kB / 2.044 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/7.441, allocations: 0.7615 MB / 2.045 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/7.45, allocations: 2.877 MB / 2.047 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/7.451, allocations: 1.451 MB / 2.049 GB, free: 352 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.5227/7.974, allocations: 0.5407 MB / 2.049 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/7.975, allocations: 0.7215 MB / 2.05 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/7.975, allocations: 0 / 2.05 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1674/8.143, allocations: 58.3 MB / 2.107 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/8.143, allocations: 224.6 kB / 2.107 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.215/13.36, allocations: 4 kB / 2.107 GB, free: 66.59 MB / 0.6823 GB