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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.384/4.384, allocations: 404.1 MB / 411.3 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.804e-05/4.798e-05, allocations: 8 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7717, allocations: 92.69 MB / 0.585 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/2.054, allocations: 427.6 MB / 1.003 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/2.054, allocations: 90.89 kB / 1.003 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.681/8.735, allocations: 1.088 GB / 2.091 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.558e-06/8.735, allocations: 0 / 2.091 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003982/8.736, allocations: 55.41 kB / 2.091 GB, free: 105.3 MB / 0.7761 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.007195/8.743, allocations: 2.11 MB / 2.093 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/8.743, allocations: 11.44 kB / 2.093 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/8.747, allocations: 455.9 kB / 2.093 GB, free: 104.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/8.76, allocations: 2.317 MB / 2.096 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/8.76, allocations: 38.88 kB / 2.096 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/8.761, allocations: 81.5 kB / 2.096 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004444/8.765, allocations: 0.7995 MB / 2.096 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/8.77, allocations: 1.133 MB / 2.098 GB, free: 103.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.107e-05/8.77, allocations: 3 kB / 2.098 GB, free: 103.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/8.77, allocations: 3.938 kB / 2.098 GB, free: 103.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/8.77, allocations: 29.75 kB / 2.098 GB, free: 103.3 MB / 0.7761 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.01877/8.789, allocations: 7.017 MB / 2.104 GB, free: 98.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/8.792, allocations: 1.147 MB / 2.106 GB, free: 98.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/8.793, allocations: 297.8 kB / 2.106 GB, free: 98.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008639/8.802, allocations: 2.417 MB / 2.108 GB, free: 96.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/8.803, allocations: 370.5 kB / 2.109 GB, free: 96.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001292/8.805, allocations: 76.12 kB / 2.109 GB, free: 96.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 7.664e-06/8.805, allocations: 3.219 kB / 2.109 GB, free: 96.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.04753/8.852, allocations: 3.516 MB / 2.112 GB, free: 95.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/8.852, allocations: 190 kB / 2.112 GB, free: 95.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/8.857, allocations: 1.218 MB / 2.113 GB, free: 95.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/8.857, allocations: 25.7 kB / 2.114 GB, free: 95.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/8.859, allocations: 0.8827 MB / 2.114 GB, free: 95.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/8.859, allocations: 217.1 kB / 2.115 GB, free: 95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/8.86, allocations: 0 / 2.115 GB, free: 95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001597/8.86, allocations: 344.2 kB / 2.115 GB, free: 94.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/8.861, allocations: 274.7 kB / 2.115 GB, free: 94.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/8.863, allocations: 0.673 MB / 2.116 GB, free: 94.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01635/8.879, allocations: 0.9782 MB / 2.117 GB, free: 94.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/8.879, allocations: 3.812 kB / 2.117 GB, free: 94.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01963/8.899, allocations: 1.633 MB / 2.118 GB, free: 94.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/8.9, allocations: 4.123 MB / 2.122 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-05/8.901, allocations: 14.69 kB / 2.122 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.386e-05/8.901, allocations: 16.5 kB / 2.122 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/8.904, allocations: 249.2 kB / 2.123 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.433e-05/8.904, allocations: 31.89 kB / 2.123 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/8.908, allocations: 101.7 kB / 2.123 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/8.909, allocations: 54.14 kB / 2.123 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/8.909, allocations: 4.656 kB / 2.123 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01601/8.925, allocations: 1.401 MB / 2.124 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/8.925, allocations: 10.97 kB / 2.124 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.525e-05/8.925, allocations: 20.97 kB / 2.124 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/8.927, allocations: 244.1 kB / 2.124 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/8.927, allocations: 14.75 kB / 2.124 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/8.93, allocations: 100.6 kB / 2.125 GB, free: 89.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/8.93, allocations: 52.08 kB / 2.125 GB, free: 89.69 MB / 0.7761 GB 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): 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.0003824/8.931, allocations: 146.5 kB / 2.125 GB, free: 89.57 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01074/8.941, allocations: 1.268 MB / 2.126 GB, free: 89.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/8.942, allocations: 164.9 kB / 2.126 GB, free: 89.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/8.954, allocations: 1.533 MB / 2.128 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/8.954, allocations: 12.12 kB / 2.128 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/8.954, allocations: 0 / 2.128 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01014/8.964, allocations: 1.38 MB / 2.129 GB, free: 88.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/8.979, allocations: 2.696 MB / 2.132 GB, free: 88.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/8.979, allocations: 4.75 kB / 2.132 GB, free: 88.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/8.981, allocations: 145.3 kB / 2.132 GB, free: 88.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/8.981, allocations: 58.31 kB / 2.132 GB, free: 88.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/8.981, allocations: 16.52 kB / 2.132 GB, free: 88.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006408/8.982, allocations: 0.5882 MB / 2.132 GB, free: 88.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/8.982, allocations: 9.516 kB / 2.132 GB, free: 88.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/8.994, allocations: 2.089 MB / 2.135 GB, free: 87.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/8.995, allocations: 323.9 kB / 2.135 GB, free: 87.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/8.996, allocations: 11.97 kB / 2.135 GB, free: 87.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/8.998, allocations: 98.8 kB / 2.135 GB, free: 87.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/8.998, allocations: 61.89 kB / 2.135 GB, free: 87.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/8.998, allocations: 35.08 kB / 2.135 GB, free: 87.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002063/9.001, allocations: 0.901 MB / 2.136 GB, free: 87.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.41e-07/9.001, allocations: 0 / 2.136 GB, free: 87.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004823/9.005, allocations: 0.8478 MB / 2.137 GB, free: 87.14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01507/9.021, allocations: 4.282 MB / 2.141 GB, free: 85.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003512/9.024, allocations: 1.497 MB / 2.142 GB, free: 84.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/9.024, allocations: 2.656 kB / 2.142 GB, free: 84.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/9.025, allocations: 372.6 kB / 2.143 GB, free: 84.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/9.032, allocations: 0.6475 MB / 2.143 GB, free: 84.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/9.042, allocations: 2.79 MB / 2.146 GB, free: 83.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/9.043, allocations: 1.413 MB / 2.147 GB, free: 83.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004973/9.048, allocations: 0.5734 MB / 2.148 GB, free: 83.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/9.05, allocations: 0.6942 MB / 2.149 GB, free: 83.07 MB / 0.7761 GB Notification: Performance of SimCode: time 1.794e-06/9.05, allocations: 0.75 kB / 2.149 GB, free: 83.07 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/9.207, allocations: 48.39 MB / 2.196 GB, free: 54.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003254/9.208, allocations: 187.1 kB / 2.196 GB, free: 54.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.718/14.93, allocations: 4 kB / 2.196 GB, free: 54.57 MB / 0.7761 GB