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.991/3.991, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.931e-05, allocations: 4 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6198, allocations: 92.68 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.816, allocations: 419.7 MB / 0.9995 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.816, allocations: 90.14 kB / 0.9995 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.309/8.125, allocations: 1.202 GB / 2.201 GB, free: 79.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.565e-06/8.125, allocations: 0 / 2.201 GB, free: 79.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0005708/8.126, allocations: 72.45 kB / 2.201 GB, free: 79.48 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.009804/8.135, allocations: 2.717 MB / 2.204 GB, free: 77.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/8.135, allocations: 12.03 kB / 2.204 GB, free: 77.2 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009921/8.136, allocations: 262.2 kB / 2.204 GB, free: 76.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009344/8.146, allocations: 1.007 MB / 2.205 GB, free: 75.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/8.159, allocations: 3.254 MB / 2.208 GB, free: 72.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/8.159, allocations: 152.3 kB / 2.208 GB, free: 72.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009181/8.16, allocations: 200 kB / 2.209 GB, free: 72.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/8.169, allocations: 2.355 MB / 2.211 GB, free: 69.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.179e-05/8.169, allocations: 11.84 kB / 2.211 GB, free: 69.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/8.169, allocations: 80 kB / 2.211 GB, free: 69.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/8.169, allocations: 56 kB / 2.211 GB, free: 69.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/8.177, allocations: 1.806 MB / 2.213 GB, free: 67.83 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.0281/8.206, allocations: 12.81 MB / 2.225 GB, free: 54.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/8.22, allocations: 2.149 MB / 2.227 GB, free: 51.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/8.223, allocations: 0.653 MB / 2.228 GB, free: 51.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/8.224, allocations: 1.018 MB / 2.229 GB, free: 50.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/8.224, allocations: 57.3 kB / 2.229 GB, free: 50 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002938/8.227, allocations: 294.5 kB / 2.229 GB, free: 49.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 1.08e-05/8.227, allocations: 0 / 2.229 GB, free: 49.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.03738/8.264, allocations: 5.53 MB / 2.235 GB, free: 44.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/8.265, allocations: 226.6 kB / 2.235 GB, free: 43.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/8.269, allocations: 1.703 MB / 2.237 GB, free: 42.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005213/8.269, allocations: 53.7 kB / 2.237 GB, free: 42.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/8.271, allocations: 1.207 MB / 2.238 GB, free: 40.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/8.271, allocations: 406.1 kB / 2.238 GB, free: 40.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/8.272, allocations: 34.84 kB / 2.238 GB, free: 40.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001302/8.272, allocations: 357.9 kB / 2.239 GB, free: 40.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/8.274, allocations: 0.5702 MB / 2.239 GB, free: 39.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/8.276, allocations: 1.063 MB / 2.24 GB, free: 38.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/8.278, allocations: 0.6854 MB / 2.241 GB, free: 37.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/8.278, allocations: 4 kB / 2.241 GB, free: 37.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.02503/8.303, allocations: 3.361 MB / 2.244 GB, free: 34.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/8.304, allocations: 4.569 MB / 2.249 GB, free: 29.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/8.304, allocations: 8 kB / 2.249 GB, free: 29.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/8.319, allocations: 1.734 MB / 2.25 GB, free: 27.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/8.322, allocations: 315.5 kB / 2.251 GB, free: 27.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/8.328, allocations: 2.109 MB / 2.253 GB, free: 24.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/8.334, allocations: 399.4 kB / 2.253 GB, free: 24.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/8.334, allocations: 83.91 kB / 2.253 GB, free: 24.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/8.334, allocations: 0 / 2.253 GB, free: 24.49 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01635/8.351, allocations: 2.521 MB / 2.256 GB, free: 21.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/8.351, allocations: 16.22 kB / 2.256 GB, free: 21.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/8.365, allocations: 1.381 MB / 2.257 GB, free: 20.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/8.37, allocations: 351.4 kB / 2.257 GB, free: 20.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/8.374, allocations: 1.461 MB / 2.259 GB, free: 18.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/8.382, allocations: 307.5 kB / 2.259 GB, free: 18.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/8.383, allocations: 79.95 kB / 2.259 GB, free: 18.37 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.001103/8.384, allocations: 210.5 kB / 2.259 GB, free: 18.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/8.385, allocations: 233 kB / 2.26 GB, free: 17.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03713/8.422, allocations: 3.075 MB / 2.263 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/8.422, allocations: 16 kB / 2.263 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/8.422, allocations: 0 / 2.263 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03423/8.457, allocations: 2.839 MB / 2.265 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03285/8.49, allocations: 5.574 MB / 2.271 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/8.49, allocations: 4 kB / 2.271 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/8.492, allocations: 287.9 kB / 2.271 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/8.494, allocations: 408 kB / 2.271 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003244/8.495, allocations: 35.97 kB / 2.271 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03063/8.525, allocations: 6.21 MB / 2.278 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/8.526, allocations: 4.062 kB / 2.278 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02785/8.553, allocations: 3.956 MB / 2.281 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/8.556, allocations: 0.4901 MB / 2.282 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008628/8.557, allocations: 24 kB / 2.282 GB, free: 10.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004994/8.562, allocations: 315.5 kB / 2.282 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/8.562, allocations: 108.7 kB / 2.282 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/8.562, allocations: 55.95 kB / 2.282 GB, free: 10.05 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003645/8.566, allocations: 1.311 MB / 2.284 GB, free: 8.723 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.497e-06/8.566, allocations: 0 / 2.284 GB, free: 8.723 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007899/8.574, allocations: 1.222 MB / 2.285 GB, free: 7.5 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.03107/8.605, allocations: 6.158 MB / 2.291 GB, free: 1.297 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.6745/9.28, allocations: 2.599 MB / 2.293 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/9.28, allocations: 1.656 kB / 2.293 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004301/9.284, allocations: 1.027 MB / 2.294 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.009652/9.294, allocations: 1.051 MB / 2.295 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03332/9.327, allocations: 5.027 MB / 2.3 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/9.329, allocations: 1.663 MB / 2.302 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006205/9.335, allocations: 0.6082 MB / 2.303 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/9.338, allocations: 1.02 MB / 2.304 GB, free: 101 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/9.338, allocations: 2.812 kB / 2.304 GB, free: 101 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/9.552, allocations: 92.41 MB / 2.394 GB, free: 97.77 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/9.553, allocations: 277 kB / 2.394 GB, free: 97.44 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/16.46, allocations: 0 / 2.394 GB, free: 97.44 MB / 0.823 GB