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={"static"}) Notification: Performance of loadModel(Buildings): time 3.992/3.992, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.829e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6021, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.829, allocations: 419.7 MB / 0.9995 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/1.829, allocations: 94.09 kB / 0.9996 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.308/8.137, allocations: 1.202 GB / 2.201 GB, free: 79.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.134e-06/8.137, allocations: 11.88 kB / 2.201 GB, free: 79.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0005477/8.138, allocations: 75.94 kB / 2.201 GB, free: 79.28 MB / 0.8073 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.009844/8.148, allocations: 2.715 MB / 2.204 GB, free: 77.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/8.148, allocations: 15.97 kB / 2.204 GB, free: 77.28 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009622/8.149, allocations: 262.2 kB / 2.204 GB, free: 77.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009556/8.158, allocations: 1.003 MB / 2.205 GB, free: 76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/8.171, allocations: 3.243 MB / 2.208 GB, free: 72.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/8.171, allocations: 152.3 kB / 2.208 GB, free: 72.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007696/8.172, allocations: 200 kB / 2.209 GB, free: 72.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/8.18, allocations: 2.344 MB / 2.211 GB, free: 69.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-05/8.18, allocations: 7.844 kB / 2.211 GB, free: 69.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/8.181, allocations: 80 kB / 2.211 GB, free: 69.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.729e-05/8.181, allocations: 56 kB / 2.211 GB, free: 69.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007912/8.189, allocations: 1.776 MB / 2.213 GB, free: 67.97 MB / 0.8073 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.02689/8.215, allocations: 12.81 MB / 2.225 GB, free: 54.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/8.231, allocations: 2.135 MB / 2.227 GB, free: 52.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/8.233, allocations: 0.6459 MB / 2.228 GB, free: 51.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/8.234, allocations: 1.026 MB / 2.229 GB, free: 50.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/8.234, allocations: 47.56 kB / 2.229 GB, free: 50.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003034/8.237, allocations: 298.5 kB / 2.229 GB, free: 49.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 9.568e-06/8.237, allocations: 0 / 2.229 GB, free: 49.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.03737/8.274, allocations: 5.532 MB / 2.235 GB, free: 44.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/8.275, allocations: 226.6 kB / 2.235 GB, free: 44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/8.279, allocations: 1.699 MB / 2.237 GB, free: 42.28 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005241/8.279, allocations: 57.42 kB / 2.237 GB, free: 42.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/8.281, allocations: 1.207 MB / 2.238 GB, free: 41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006919/8.282, allocations: 402.1 kB / 2.238 GB, free: 40.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/8.282, allocations: 32 kB / 2.238 GB, free: 40.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001306/8.282, allocations: 361.9 kB / 2.239 GB, free: 40.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/8.284, allocations: 0.5702 MB / 2.239 GB, free: 39.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/8.286, allocations: 1.063 MB / 2.24 GB, free: 38.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/8.288, allocations: 0.6777 MB / 2.241 GB, free: 37.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/8.288, allocations: 4 kB / 2.241 GB, free: 37.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01759/8.305, allocations: 2.812 MB / 2.244 GB, free: 34.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00108/8.307, allocations: 4.565 MB / 2.248 GB, free: 29.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/8.307, allocations: 16 kB / 2.248 GB, free: 29.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/8.322, allocations: 1.725 MB / 2.25 GB, free: 28.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/8.324, allocations: 315.5 kB / 2.25 GB, free: 27.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/8.331, allocations: 2.109 MB / 2.252 GB, free: 25.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/8.337, allocations: 391.4 kB / 2.252 GB, free: 25.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/8.337, allocations: 83.94 kB / 2.253 GB, free: 25.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/8.337, allocations: 4 kB / 2.253 GB, free: 25.23 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005031/8.342, allocations: 1.745 MB / 2.254 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/8.342, allocations: 12.89 kB / 2.254 GB, free: 23.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/8.355, allocations: 1.383 MB / 2.256 GB, free: 22.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/8.358, allocations: 343.5 kB / 2.256 GB, free: 21.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/8.361, allocations: 1.461 MB / 2.257 GB, free: 20.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004991/8.366, allocations: 307.5 kB / 2.258 GB, free: 19.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/8.367, allocations: 75.95 kB / 2.258 GB, free: 19.89 MB / 0.8073 GB Warning: Assuming fixed start value for the following 1 variables: hex.valHea.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 1.004433569776996 * hex.valHea.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 60} Notification: Performance of prepare postOptimizeDAE: time 0.0007157/8.367, allocations: 205.7 kB / 2.258 GB, free: 19.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008632/8.368, allocations: 237.1 kB / 2.258 GB, free: 19.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02573/8.394, allocations: 3.071 MB / 2.261 GB, free: 16.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/8.394, allocations: 19.98 kB / 2.261 GB, free: 16.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/8.394, allocations: 6.094 kB / 2.261 GB, free: 16.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02446/8.419, allocations: 2.839 MB / 2.264 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/8.45, allocations: 5.568 MB / 2.269 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/8.45, allocations: 4 kB / 2.269 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/8.453, allocations: 279.9 kB / 2.27 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/8.455, allocations: 405.2 kB / 2.27 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/8.455, allocations: 35.97 kB / 2.27 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0306/8.486, allocations: 6.215 MB / 2.276 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/8.486, allocations: 7.953 kB / 2.276 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02813/8.514, allocations: 3.96 MB / 2.28 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/8.516, allocations: 497.9 kB / 2.281 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/8.517, allocations: 24 kB / 2.281 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004719/8.522, allocations: 319.5 kB / 2.281 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/8.522, allocations: 104.8 kB / 2.281 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/8.523, allocations: 47.97 kB / 2.281 GB, free: 11.58 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00342/8.526, allocations: 1.315 MB / 2.282 GB, free: 10.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.31e-07/8.526, allocations: 3.938 kB / 2.282 GB, free: 10.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008387/8.535, allocations: 1.23 MB / 2.283 GB, free: 9.016 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T,hex.valHea.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 29,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03097/8.566, allocations: 6.181 MB / 2.29 GB, free: 2.793 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009814/8.575, allocations: 2.564 MB / 2.292 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/8.575, allocations: 0 / 2.292 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.6539/9.229, allocations: 0.9969 MB / 2.293 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009919/9.239, allocations: 1.055 MB / 2.294 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03386/9.273, allocations: 5.015 MB / 2.299 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/9.275, allocations: 1.672 MB / 2.301 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006469/9.282, allocations: 0.6016 MB / 2.301 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/9.284, allocations: 1.021 MB / 2.302 GB, free: 100.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.274e-06/9.284, allocations: 0 / 2.302 GB, free: 100.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2164/9.501, allocations: 92.24 MB / 2.392 GB, free: 97.46 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/9.501, allocations: 274.8 kB / 2.392 GB, free: 97.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/16.81, allocations: 0 / 2.392 GB, free: 97.12 MB / 0.823 GB