Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.561/4.561, allocations: 404.2 MB / 411.3 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.85e-05, allocations: 7.281 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7217, allocations: 92.68 MB / 0.585 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/2.065, allocations: 419 MB / 0.9942 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/2.065, allocations: 89 kB / 0.9943 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.551/9.616, allocations: 1.196 GB / 2.19 GB, free: 70.59 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.604e-06/9.616, allocations: 0 / 2.19 GB, free: 70.59 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000581/9.617, allocations: 74.39 kB / 2.19 GB, free: 70.57 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01041/9.627, allocations: 2.719 MB / 2.193 GB, free: 68.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/9.627, allocations: 10.38 kB / 2.193 GB, free: 68.68 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/9.639, allocations: 0.9979 MB / 2.194 GB, free: 68.26 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/9.653, allocations: 3.249 MB / 2.197 GB, free: 65.95 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/9.653, allocations: 61.42 kB / 2.197 GB, free: 65.95 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007146/9.654, allocations: 120.4 kB / 2.197 GB, free: 65.94 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006086/9.66, allocations: 1.526 MB / 2.199 GB, free: 64.87 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006711/9.667, allocations: 1.92 MB / 2.201 GB, free: 62.83 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.645e-05/9.667, allocations: 15.84 kB / 2.201 GB, free: 62.81 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/9.667, allocations: 4 kB / 2.201 GB, free: 62.81 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.732e-05/9.668, allocations: 52 kB / 2.201 GB, free: 62.76 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.02868/9.696, allocations: 12.44 MB / 2.213 GB, free: 49.56 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/9.711, allocations: 1.952 MB / 2.215 GB, free: 47.56 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/9.713, allocations: 0.6568 MB / 2.216 GB, free: 46.91 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/9.715, allocations: 1.025 MB / 2.217 GB, free: 45.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/9.715, allocations: 55.86 kB / 2.217 GB, free: 45.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003041/9.718, allocations: 250.2 kB / 2.217 GB, free: 45.36 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=109): time 7.454e-06/9.718, allocations: 4 kB / 2.217 GB, free: 45.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.0278/9.746, allocations: 4.649 MB / 2.221 GB, free: 40.64 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/9.746, allocations: 218.9 kB / 2.222 GB, free: 40.38 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/9.75, allocations: 1.454 MB / 2.223 GB, free: 38.89 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005142/9.751, allocations: 29.7 kB / 2.223 GB, free: 38.86 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/9.752, allocations: 1.208 MB / 2.224 GB, free: 37.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/9.753, allocations: 394.1 kB / 2.225 GB, free: 37.25 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/9.753, allocations: 0 / 2.225 GB, free: 37.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001506/9.753, allocations: 365.8 kB / 2.225 GB, free: 36.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/9.755, allocations: 0.5507 MB / 2.226 GB, free: 36.33 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/9.757, allocations: 1.024 MB / 2.227 GB, free: 35.11 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/9.761, allocations: 0.7347 MB / 2.227 GB, free: 34.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/9.761, allocations: 4 kB / 2.227 GB, free: 34.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.03604/9.797, allocations: 3.419 MB / 2.231 GB, free: 30.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001068/9.798, allocations: 4.524 MB / 2.235 GB, free: 25.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.584e-05/9.798, allocations: 12 kB / 2.235 GB, free: 25.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006596/9.805, allocations: 0.916 MB / 2.236 GB, free: 25.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/9.808, allocations: 351.4 kB / 2.236 GB, free: 24.67 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/9.816, allocations: 2.932 MB / 2.239 GB, free: 21.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/9.822, allocations: 351.4 kB / 2.239 GB, free: 21.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/9.823, allocations: 83.94 kB / 2.24 GB, free: 21.24 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/9.823, allocations: 4 kB / 2.24 GB, free: 21.24 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01395/9.837, allocations: 2.031 MB / 2.242 GB, free: 19.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/9.837, allocations: 15.98 kB / 2.242 GB, free: 19.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005156/9.842, allocations: 0.6138 MB / 2.242 GB, free: 18.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/9.846, allocations: 379.4 kB / 2.242 GB, free: 18.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/9.853, allocations: 4.27 MB / 2.247 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0056/9.859, allocations: 267.7 kB / 2.247 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/9.859, allocations: 79.95 kB / 2.247 GB, free: 13.34 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 18,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000711/9.86, allocations: 139.4 kB / 2.247 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0222/9.882, allocations: 2.278 MB / 2.249 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/9.883, allocations: 217.3 kB / 2.25 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/9.896, allocations: 2.125 MB / 2.252 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/9.896, allocations: 19.98 kB / 2.252 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/9.896, allocations: 0 / 2.252 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01028/9.906, allocations: 1.922 MB / 2.254 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/9.931, allocations: 4.739 MB / 2.258 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/9.931, allocations: 4.031 kB / 2.258 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/9.934, allocations: 271.7 kB / 2.258 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/9.936, allocations: 404.6 kB / 2.259 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003385/9.936, allocations: 27.22 kB / 2.259 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/9.953, allocations: 3.436 MB / 2.262 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/9.953, allocations: 7.953 kB / 2.262 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/9.978, allocations: 3.527 MB / 2.266 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/9.981, allocations: 486 kB / 2.266 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/9.981, allocations: 12.06 kB / 2.266 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005127/9.987, allocations: 311.3 kB / 2.266 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/9.987, allocations: 85.19 kB / 2.266 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/9.987, allocations: 51.95 kB / 2.267 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003002/9.99, allocations: 1.101 MB / 2.268 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.71e-07/9.99, allocations: 0 / 2.268 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0104/10, allocations: 1.16 MB / 2.269 GB, free: 6.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 18,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02959/10.03, allocations: 5.877 MB / 2.274 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.7646/10.8, allocations: 2.673 MB / 2.277 GB, free: 93.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/10.8, allocations: 1.219 kB / 2.277 GB, free: 93.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004876/10.8, allocations: 0.9312 MB / 2.278 GB, free: 93.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009538/10.81, allocations: 0.9423 MB / 2.279 GB, free: 93.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/10.85, allocations: 4.844 MB / 2.284 GB, free: 92.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/10.85, allocations: 1.662 MB / 2.285 GB, free: 91.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00609/10.85, allocations: 0.5914 MB / 2.286 GB, free: 91.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/10.86, allocations: 1.021 MB / 2.287 GB, free: 91.86 MB / 0.8073 GB Notification: Performance of SimCode: time 1.362e-06/10.86, allocations: 0 / 2.287 GB, free: 91.86 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2222/11.08, allocations: 75.92 MB / 2.361 GB, free: 89.04 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004004/11.08, allocations: 234.3 kB / 2.361 GB, free: 88.75 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.496/19.58, allocations: 5.906 kB / 2.361 GB, free: 88.75 MB / 0.8073 GB