Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.397/4.397, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.562e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2422, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.991/2.233, allocations: 439.2 MB / 1.107 GB, free: 258.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/2.233, allocations: 89.31 kB / 1.107 GB, free: 258.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.242/8.475, allocations: 1.241 GB / 2.348 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.994e-06/8.475, allocations: 3.656 kB / 2.348 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000594/8.476, allocations: 85.03 kB / 2.348 GB, free: 90.06 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.01007/8.486, allocations: 2.729 MB / 2.35 GB, free: 88.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/8.486, allocations: 10.38 kB / 2.35 GB, free: 88.16 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009116/8.487, allocations: 270 kB / 2.351 GB, free: 87.95 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009459/8.496, allocations: 1.005 MB / 2.352 GB, free: 87.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/8.507, allocations: 2.916 MB / 2.355 GB, free: 85.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/8.507, allocations: 150.1 kB / 2.355 GB, free: 85.37 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008184/8.508, allocations: 198.8 kB / 2.355 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/8.514, allocations: 2.106 MB / 2.357 GB, free: 84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.772e-05/8.515, allocations: 0 / 2.357 GB, free: 84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/8.515, allocations: 82.78 kB / 2.357 GB, free: 83.94 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/8.515, allocations: 49.44 kB / 2.357 GB, free: 83.94 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005524/8.521, allocations: 1.638 MB / 2.359 GB, free: 82.99 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.02751/8.548, allocations: 12.14 MB / 2.371 GB, free: 70.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009698/8.558, allocations: 1.624 MB / 2.372 GB, free: 68.47 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/8.56, allocations: 0.6606 MB / 2.373 GB, free: 67.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/8.562, allocations: 1.366 MB / 2.374 GB, free: 66.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/8.562, allocations: 47.55 kB / 2.374 GB, free: 66.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003066/8.565, allocations: 286.5 kB / 2.374 GB, free: 65.81 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 9.608e-06/8.565, allocations: 0 / 2.374 GB, free: 65.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.0122/8.577, allocations: 3.319 MB / 2.378 GB, free: 62.42 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/8.577, allocations: 175.2 kB / 2.378 GB, free: 62.21 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/8.581, allocations: 1.795 MB / 2.38 GB, free: 60.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005147/8.582, allocations: 49.7 kB / 2.38 GB, free: 60.34 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/8.583, allocations: 1.198 MB / 2.381 GB, free: 59.13 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/8.584, allocations: 386.4 kB / 2.381 GB, free: 58.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/8.584, allocations: 24 kB / 2.381 GB, free: 58.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001271/8.584, allocations: 361.9 kB / 2.382 GB, free: 58.37 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/8.586, allocations: 0.5624 MB / 2.382 GB, free: 57.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/8.588, allocations: 1.033 MB / 2.383 GB, free: 56.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/8.59, allocations: 0.66 MB / 2.384 GB, free: 55.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/8.59, allocations: 8 kB / 2.384 GB, free: 55.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008419/8.598, allocations: 2.183 MB / 2.386 GB, free: 53.71 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008697/8.599, allocations: 3.733 MB / 2.39 GB, free: 49.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/8.599, allocations: 8 kB / 2.39 GB, free: 49.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008303/8.608, allocations: 1.114 MB / 2.391 GB, free: 48.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/8.611, allocations: 335.5 kB / 2.391 GB, free: 48.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/8.626, allocations: 5.272 MB / 2.396 GB, free: 42.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006278/8.633, allocations: 403.3 kB / 2.396 GB, free: 42.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/8.633, allocations: 75.91 kB / 2.397 GB, free: 42.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/8.633, allocations: 4 kB / 2.397 GB, free: 42.31 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005111/8.638, allocations: 1.7 MB / 2.398 GB, free: 40.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/8.639, allocations: 12.16 kB / 2.398 GB, free: 40.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/8.643, allocations: 0.5793 MB / 2.399 GB, free: 40.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/8.646, allocations: 399 kB / 2.399 GB, free: 39.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/8.663, allocations: 6.219 MB / 2.405 GB, free: 33.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/8.669, allocations: 347.4 kB / 2.406 GB, free: 32.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/8.669, allocations: 79.95 kB / 2.406 GB, free: 32.75 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.0005945/8.67, allocations: 187.4 kB / 2.406 GB, free: 32.56 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007971/8.671, allocations: 237 kB / 2.406 GB, free: 32.32 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/8.676, allocations: 1.873 MB / 2.408 GB, free: 30.45 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/8.676, allocations: 20 kB / 2.408 GB, free: 30.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/8.676, allocations: 0 / 2.408 GB, free: 30.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003555/8.68, allocations: 1.701 MB / 2.41 GB, free: 28.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/8.692, allocations: 4.25 MB / 2.414 GB, free: 24.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/8.692, allocations: 4 kB / 2.414 GB, free: 24.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/8.694, allocations: 259.8 kB / 2.414 GB, free: 24.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004454/8.699, allocations: 0.6554 MB / 2.415 GB, free: 23.41 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/8.699, allocations: 35.97 kB / 2.415 GB, free: 23.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/8.701, allocations: 1.231 MB / 2.416 GB, free: 22.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/8.701, allocations: 4 kB / 2.416 GB, free: 22.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/8.709, allocations: 2.645 MB / 2.418 GB, free: 19.42 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/8.711, allocations: 0.5213 MB / 2.419 GB, free: 18.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008277/8.712, allocations: 20 kB / 2.419 GB, free: 18.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/8.717, allocations: 311.5 kB / 2.419 GB, free: 18.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/8.717, allocations: 86.81 kB / 2.419 GB, free: 18.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/8.717, allocations: 47.91 kB / 2.419 GB, free: 18.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003461/8.721, allocations: 1.367 MB / 2.421 GB, free: 17.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.343e-06/8.721, allocations: 0 / 2.421 GB, free: 17.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00828/8.729, allocations: 1.277 MB / 2.422 GB, free: 15.76 MB / 0.9011 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.01001/8.739, allocations: 4.467 MB / 2.426 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009047/8.748, allocations: 2.905 MB / 2.429 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/8.748, allocations: 0 / 2.429 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/8.751, allocations: 0.701 MB / 2.43 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/8.761, allocations: 1.129 MB / 2.431 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/8.782, allocations: 4.184 MB / 2.435 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/8.783, allocations: 1.677 MB / 2.437 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004977/8.788, allocations: 0.603 MB / 2.437 GB, free: 96 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/8.79, allocations: 1.003 MB / 2.438 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of SimCode: time 1.844e-06/8.79, allocations: 0 / 2.438 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/9.861, allocations: 91.13 MB / 2.527 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/9.861, allocations: 271.5 kB / 2.527 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/16.79, allocations: 0 / 2.527 GB, free: 124.5 MB / 0.9323 GB