Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.146/4.146, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.279e-05, allocations: 0 / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.949/2.181, allocations: 439.1 MB / 1.101 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/2.181, allocations: 92.81 kB / 1.101 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.112/8.293, allocations: 1.241 GB / 2.342 GB, free: 76.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.124e-06/8.293, allocations: 0 / 2.342 GB, free: 76.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005395/8.294, allocations: 83.91 kB / 2.342 GB, free: 76.84 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01001/8.304, allocations: 2.731 MB / 2.345 GB, free: 74.06 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/8.304, allocations: 12.03 kB / 2.345 GB, free: 74.05 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/8.305, allocations: 261.9 kB / 2.345 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009108/8.314, allocations: 1.007 MB / 2.346 GB, free: 72.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009603/8.324, allocations: 2.905 MB / 2.349 GB, free: 69.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/8.324, allocations: 147.7 kB / 2.349 GB, free: 69.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005618/8.325, allocations: 200 kB / 2.349 GB, free: 69.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/8.33, allocations: 2.111 MB / 2.351 GB, free: 67.27 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/8.33, allocations: 0 / 2.351 GB, free: 67.27 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/8.331, allocations: 87.89 kB / 2.351 GB, free: 67.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.754e-05/8.331, allocations: 44 kB / 2.351 GB, free: 67.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/8.335, allocations: 1.647 MB / 2.353 GB, free: 65.49 MB / 0.9011 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.02489/8.36, allocations: 12.12 MB / 2.365 GB, free: 52.56 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/8.367, allocations: 1.403 MB / 2.366 GB, free: 51.14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/8.368, allocations: 0.6526 MB / 2.367 GB, free: 50.49 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/8.37, allocations: 1.374 MB / 2.368 GB, free: 48.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/8.37, allocations: 43.56 kB / 2.368 GB, free: 48.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002755/8.373, allocations: 286.5 kB / 2.368 GB, free: 48.48 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.05e-06/8.373, allocations: 0 / 2.368 GB, free: 48.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01071/8.383, allocations: 3.315 MB / 2.372 GB, free: 45.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/8.383, allocations: 167.2 kB / 2.372 GB, free: 44.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/8.387, allocations: 1.795 MB / 2.374 GB, free: 43.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004354/8.388, allocations: 53.7 kB / 2.374 GB, free: 43.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/8.389, allocations: 1.192 MB / 2.375 GB, free: 41.83 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/8.389, allocations: 386.4 kB / 2.375 GB, free: 41.45 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/8.39, allocations: 35.94 kB / 2.375 GB, free: 41.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001112/8.39, allocations: 361.9 kB / 2.375 GB, free: 41.05 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/8.391, allocations: 0.5507 MB / 2.376 GB, free: 40.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/8.393, allocations: 1.03 MB / 2.377 GB, free: 39.28 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/8.395, allocations: 0.6517 MB / 2.378 GB, free: 38.62 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/8.395, allocations: 4 kB / 2.378 GB, free: 38.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007809/8.402, allocations: 2.183 MB / 2.38 GB, free: 36.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008165/8.403, allocations: 3.736 MB / 2.383 GB, free: 32.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/8.403, allocations: 8 kB / 2.383 GB, free: 32.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007336/8.411, allocations: 1.065 MB / 2.384 GB, free: 31.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/8.414, allocations: 338 kB / 2.385 GB, free: 30.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/8.428, allocations: 5.263 MB / 2.39 GB, free: 25.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/8.434, allocations: 419.1 kB / 2.39 GB, free: 25.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/8.435, allocations: 75.95 kB / 2.39 GB, free: 25.06 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/8.435, allocations: 4 kB / 2.39 GB, free: 25.05 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004658/8.439, allocations: 1.7 MB / 2.392 GB, free: 23.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/8.439, allocations: 8 kB / 2.392 GB, free: 23.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/8.443, allocations: 0.5863 MB / 2.393 GB, free: 22.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/8.447, allocations: 395.5 kB / 2.393 GB, free: 22.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/8.463, allocations: 6.211 MB / 2.399 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/8.468, allocations: 359.4 kB / 2.399 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/8.468, allocations: 75.95 kB / 2.4 GB, free: 15.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 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 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/8.469, allocations: 188.6 kB / 2.4 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/8.469, allocations: 229.1 kB / 2.4 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/8.475, allocations: 1.87 MB / 2.402 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/8.475, allocations: 15.95 kB / 2.402 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/8.475, allocations: 0 / 2.402 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003348/8.478, allocations: 1.697 MB / 2.403 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/8.488, allocations: 4.229 MB / 2.408 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/8.488, allocations: 0 / 2.408 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/8.491, allocations: 259.8 kB / 2.408 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/8.494, allocations: 0.6203 MB / 2.408 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/8.495, allocations: 35.97 kB / 2.408 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/8.497, allocations: 1.235 MB / 2.41 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/8.497, allocations: 0 / 2.41 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009723/8.506, allocations: 2.887 MB / 2.412 GB, free: 2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/8.508, allocations: 0.5173 MB / 2.413 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000578/8.509, allocations: 24 kB / 2.413 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004054/8.513, allocations: 311.5 kB / 2.413 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/8.513, allocations: 76.84 kB / 2.413 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/8.513, allocations: 43.97 kB / 2.413 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003035/8.516, allocations: 1.375 MB / 2.415 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.41e-07/8.516, allocations: 4 kB / 2.415 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007791/8.524, allocations: 1.281 MB / 2.416 GB, free: 14.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.01509/8.539, allocations: 4.699 MB / 2.421 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009585/8.549, allocations: 2.893 MB / 2.423 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/8.549, allocations: 0 / 2.423 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002281/8.551, allocations: 0.7039 MB / 2.424 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/8.562, allocations: 1.127 MB / 2.425 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/8.583, allocations: 4.188 MB / 2.429 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7335/9.317, allocations: 1.677 MB / 2.431 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006629/9.323, allocations: 0.5864 MB / 2.432 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/9.326, allocations: 1.005 MB / 2.432 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.545e-06/9.326, allocations: 0 / 2.432 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/9.56, allocations: 90.98 MB / 2.521 GB, free: 108.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/9.561, allocations: 282.8 kB / 2.522 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/16.16, allocations: 0 / 2.522 GB, free: 108.4 MB / 0.9167 GB