Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.088/4.088, allocations: 460.5 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.142e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.436, allocations: 401.3 MB / 1.064 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/1.437, allocations: 104.3 kB / 1.064 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.462/3.899, allocations: 401 MB / 1.455 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/3.899, allocations: 4.969 kB / 1.455 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002971/3.899, allocations: 44.31 kB / 1.456 GB, free: 223.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007423/3.907, allocations: 1.924 MB / 1.457 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/3.907, allocations: 9.875 kB / 1.457 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007554/3.908, allocations: 210.4 kB / 1.458 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/3.909, allocations: 222.2 kB / 1.458 GB, free: 223 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/3.917, allocations: 2.069 MB / 1.46 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/3.917, allocations: 119.5 kB / 1.46 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/3.918, allocations: 146.9 kB / 1.46 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/3.923, allocations: 1.829 MB / 1.462 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/3.923, allocations: 5.562 kB / 1.462 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/3.923, allocations: 55.53 kB / 1.462 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-05/3.924, allocations: 43.89 kB / 1.462 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005052/3.929, allocations: 1.64 MB / 1.464 GB, free: 222.5 MB / 0.8698 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.01982/3.948, allocations: 7.517 MB / 1.471 GB, free: 220 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/3.951, allocations: 1.302 MB / 1.472 GB, free: 220 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/3.953, allocations: 0.6278 MB / 1.473 GB, free: 220 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009963/3.963, allocations: 3.828 MB / 1.477 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/3.963, allocations: 39.91 kB / 1.477 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 5.219e-06/3.963, allocations: 2.719 kB / 1.477 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.002936/3.966, allocations: 1.049 MB / 1.478 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/3.966, allocations: 59.59 kB / 1.478 GB, free: 218 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/3.97, allocations: 1.491 MB / 1.479 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/3.97, allocations: 51.39 kB / 1.479 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/3.971, allocations: 0.7621 MB / 1.48 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/3.971, allocations: 309 kB / 1.48 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/3.971, allocations: 28.62 kB / 1.48 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00013/3.972, allocations: 364.5 kB / 1.481 GB, free: 217 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/3.973, allocations: 0.6614 MB / 1.481 GB, free: 217 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/3.975, allocations: 0.9978 MB / 1.482 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/3.977, allocations: 0.8619 MB / 1.483 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/3.977, allocations: 3.875 kB / 1.483 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005033/3.982, allocations: 1.884 MB / 1.485 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000761/3.983, allocations: 3.531 MB / 1.488 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/3.983, allocations: 7.875 kB / 1.488 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.685e-05/3.983, allocations: 19.5 kB / 1.488 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/3.986, allocations: 349.8 kB / 1.489 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.172e-05/3.986, allocations: 23.75 kB / 1.489 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/3.989, allocations: 219.2 kB / 1.489 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/3.989, allocations: 69.08 kB / 1.489 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/3.989, allocations: 7.25 kB / 1.489 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004148/3.993, allocations: 1.733 MB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/3.993, allocations: 11.16 kB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/3.993, allocations: 14.97 kB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/3.996, allocations: 354.6 kB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/3.996, allocations: 20.78 kB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/3.999, allocations: 194.8 kB / 1.491 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/3.999, allocations: 57.95 kB / 1.491 GB, free: 212.7 MB / 0.8698 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 (176): * Single equations (assignments): 176 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004131/3.999, allocations: 186.4 kB / 1.491 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/4, allocations: 154 kB / 1.492 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/4.003, allocations: 1.195 MB / 1.493 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/4.003, allocations: 7.656 kB / 1.493 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/4.003, allocations: 0 / 1.493 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/4.005, allocations: 1.235 MB / 1.494 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006755/4.012, allocations: 2.848 MB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/4.012, allocations: 0 / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/4.014, allocations: 182.7 kB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/4.014, allocations: 3.812 kB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/4.014, allocations: 29.34 kB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/4.014, allocations: 5.984 kB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/4.014, allocations: 3.656 kB / 1.497 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/4.018, allocations: 1.879 MB / 1.499 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/4.019, allocations: 424.2 kB / 1.499 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/4.02, allocations: 21.34 kB / 1.499 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/4.022, allocations: 73.52 kB / 1.499 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/4.022, allocations: 54.45 kB / 1.499 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/4.022, allocations: 28.02 kB / 1.499 GB, free: 211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002724/4.025, allocations: 1.237 MB / 1.501 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.12e-07/4.025, allocations: 0 / 1.501 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004529/4.03, allocations: 0.9538 MB / 1.502 GB, free: 210.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005487/4.035, allocations: 3.028 MB / 1.505 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005441/4.041, allocations: 2.278 MB / 1.507 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/4.041, allocations: 0 / 1.507 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/4.042, allocations: 0.4943 MB / 1.507 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006992/4.049, allocations: 0.8488 MB / 1.508 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009961/4.059, allocations: 3.655 MB / 1.512 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/4.061, allocations: 1.691 MB / 1.513 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007115/4.068, allocations: 1.263 MB / 1.515 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/4.07, allocations: 0.5901 MB / 1.515 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/4.07, allocations: 0 / 1.515 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1659/4.236, allocations: 52.69 MB / 1.567 GB, free: 197 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/4.236, allocations: 209.7 kB / 1.567 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/8.548, allocations: 0 / 1.567 GB, free: 196.8 MB / 0.8698 GB