Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.128/3.128, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.022e-05, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 77.73 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.66, allocations: 419.8 MB / 0.9123 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.66, allocations: 93.33 kB / 0.9124 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.457/7.118, allocations: 1.125 GB / 2.037 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/7.118, allocations: 0 / 2.037 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002888/7.118, allocations: 47.75 kB / 2.037 GB, free: 13.29 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006161/7.124, allocations: 2.076 MB / 2.039 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/7.124, allocations: 12.03 kB / 2.039 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003937/7.125, allocations: 172.6 kB / 2.039 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/7.128, allocations: 460.9 kB / 2.04 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008963/7.137, allocations: 2.303 MB / 2.042 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/7.138, allocations: 90.22 kB / 2.042 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/7.138, allocations: 127.8 kB / 2.042 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/7.141, allocations: 1.227 MB / 2.044 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/7.141, allocations: 7.953 kB / 2.044 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/7.141, allocations: 44 kB / 2.044 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/7.141, allocations: 32 kB / 2.044 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/7.143, allocations: 0.8123 MB / 2.044 GB, free: 5.77 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.5107/7.654, allocations: 6.861 MB / 2.051 GB, free: 68.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/7.656, allocations: 1.127 MB / 2.052 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/7.657, allocations: 309.8 kB / 2.052 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007381/7.664, allocations: 2.903 MB / 2.055 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000883/7.665, allocations: 338.8 kB / 2.056 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001037/7.666, allocations: 92.39 kB / 2.056 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 6.552e-06/7.667, allocations: 3.891 kB / 2.056 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002316/7.669, allocations: 0.6758 MB / 2.056 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/7.669, allocations: 163.7 kB / 2.057 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/7.672, allocations: 1.346 MB / 2.058 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/7.673, allocations: 41.61 kB / 2.058 GB, free: 65.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/7.674, allocations: 0.8915 MB / 2.059 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/7.674, allocations: 210.8 kB / 2.059 GB, free: 65.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/7.674, allocations: 23.42 kB / 2.059 GB, free: 65.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/7.675, allocations: 346 kB / 2.059 GB, free: 64.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/7.675, allocations: 267.8 kB / 2.06 GB, free: 64.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/7.677, allocations: 0.7007 MB / 2.06 GB, free: 64.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/7.678, allocations: 403.1 kB / 2.061 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/7.678, allocations: 3.469 kB / 2.061 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003538/7.681, allocations: 1.075 MB / 2.062 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/7.682, allocations: 4.556 MB / 2.066 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/7.682, allocations: 13.67 kB / 2.066 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/7.682, allocations: 17.12 kB / 2.066 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/7.685, allocations: 245.2 kB / 2.066 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.554e-05/7.685, allocations: 23.91 kB / 2.066 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/7.687, allocations: 122.2 kB / 2.067 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/7.688, allocations: 58.38 kB / 2.067 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/7.688, allocations: 3.75 kB / 2.067 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/7.691, allocations: 0.9029 MB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.689e-05/7.691, allocations: 13.83 kB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.745e-05/7.691, allocations: 22.81 kB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/7.694, allocations: 242.1 kB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.447e-05/7.694, allocations: 24.94 kB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/7.697, allocations: 112.6 kB / 2.068 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/7.698, allocations: 55.08 kB / 2.068 GB, free: 59.32 MB / 0.6823 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.0005738/7.698, allocations: 174.7 kB / 2.068 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/7.699, allocations: 164.9 kB / 2.068 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/7.704, allocations: 0.9455 MB / 2.069 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/7.704, allocations: 11.17 kB / 2.069 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/7.704, allocations: 0.8125 kB / 2.069 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/7.706, allocations: 0.7813 MB / 2.07 GB, free: 58.76 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.008072/7.714, allocations: 2.142 MB / 2.072 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/7.714, allocations: 3.531 kB / 2.072 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/7.716, allocations: 130.1 kB / 2.072 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/7.716, allocations: 33.58 kB / 2.072 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/7.716, allocations: 20.8 kB / 2.072 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/7.718, allocations: 1.312 MB / 2.074 GB, free: 57.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/7.718, allocations: 5.719 kB / 2.074 GB, free: 57.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/7.723, allocations: 1.309 MB / 2.075 GB, free: 56.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/7.724, allocations: 337.8 kB / 2.075 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007386/7.725, allocations: 18.27 kB / 2.075 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/7.728, allocations: 101 kB / 2.075 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/7.728, allocations: 55.72 kB / 2.075 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/7.728, allocations: 29.83 kB / 2.075 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004116/7.732, allocations: 1.077 MB / 2.076 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.11e-07/7.732, allocations: 0 / 2.076 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007651/7.74, allocations: 1.011 MB / 2.077 GB, free: 56.4 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.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.01029/7.75, allocations: 3.234 MB / 2.081 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00532/7.756, allocations: 1.401 MB / 2.082 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/7.756, allocations: 4.406 kB / 2.082 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/7.758, allocations: 447 kB / 2.082 GB, free: 54.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00847/7.766, allocations: 0.7275 MB / 2.083 GB, free: 54.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/7.777, allocations: 2.816 MB / 2.086 GB, free: 54.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/7.779, allocations: 1.406 MB / 2.087 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004927/7.784, allocations: 0.6108 MB / 2.088 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/7.786, allocations: 0.6967 MB / 2.088 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.276e-06/7.786, allocations: 0 / 2.088 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/7.928, allocations: 57.56 MB / 2.145 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/7.928, allocations: 230.1 kB / 2.145 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.295/13.22, allocations: 0 / 2.145 GB, free: 50.81 MB / 0.6823 GB