Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.885/3.885, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.408e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5943, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.713, allocations: 384.4 MB / 0.9651 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/1.713, allocations: 99.98 kB / 0.9652 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/3.536, allocations: 388.1 MB / 1.344 GB, free: 34.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.455e-06/3.536, allocations: 0 / 1.344 GB, free: 34.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002685/3.536, allocations: 51.92 kB / 1.344 GB, free: 34.26 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006778/3.543, allocations: 1.928 MB / 1.346 GB, free: 32.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/3.543, allocations: 8.031 kB / 1.346 GB, free: 32.27 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006651/3.544, allocations: 227.2 kB / 1.346 GB, free: 32.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/3.545, allocations: 229.5 kB / 1.347 GB, free: 31.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007268/3.552, allocations: 2.215 MB / 1.349 GB, free: 29.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/3.553, allocations: 123.6 kB / 1.349 GB, free: 29.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005564/3.553, allocations: 159.9 kB / 1.349 GB, free: 29.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/3.559, allocations: 1.99 MB / 1.351 GB, free: 27.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/3.559, allocations: 7.938 kB / 1.351 GB, free: 27.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/3.559, allocations: 63.98 kB / 1.351 GB, free: 27.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.652e-05/3.559, allocations: 44 kB / 1.351 GB, free: 27.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/3.564, allocations: 1.719 MB / 1.353 GB, free: 25.34 MB / 0.7761 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.01887/3.583, allocations: 8.673 MB / 1.361 GB, free: 16.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/3.586, allocations: 1.336 MB / 1.362 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/3.587, allocations: 0.6652 MB / 1.363 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009702/3.597, allocations: 3.758 MB / 1.367 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/3.597, allocations: 43.34 kB / 1.367 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=95): time 3.988e-06/3.597, allocations: 0 / 1.367 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=101): time 0.009882/3.607, allocations: 3.491 MB / 1.37 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/3.607, allocations: 115.8 kB / 1.37 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/3.61, allocations: 1.492 MB / 1.372 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/3.611, allocations: 53.7 kB / 1.372 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/3.611, allocations: 0.7808 MB / 1.373 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/3.612, allocations: 362.8 kB / 1.373 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/3.612, allocations: 32 kB / 1.373 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00013/3.612, allocations: 361.9 kB / 1.373 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/3.614, allocations: 0.734 MB / 1.374 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/3.616, allocations: 1.112 MB / 1.375 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/3.618, allocations: 0.9417 MB / 1.376 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/3.618, allocations: 4 kB / 1.376 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.5471/4.165, allocations: 2.078 MB / 1.378 GB, free: 195.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/4.166, allocations: 4.317 MB / 1.382 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-05/4.166, allocations: 14.44 kB / 1.382 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.153e-05/4.167, allocations: 20.16 kB / 1.382 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/4.17, allocations: 390.1 kB / 1.383 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.621e-05/4.17, allocations: 27.75 kB / 1.383 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/4.173, allocations: 141 kB / 1.383 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/4.173, allocations: 67.42 kB / 1.383 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/4.174, allocations: 7.469 kB / 1.383 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005332/4.179, allocations: 1.917 MB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/4.179, allocations: 10.75 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/4.179, allocations: 20.58 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/4.182, allocations: 384.3 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-05/4.182, allocations: 24.97 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/4.185, allocations: 132.9 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004205/4.185, allocations: 68.64 kB / 1.385 GB, free: 191.3 MB / 0.7761 GB 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 (196): * Single equations (assignments): 196 * 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.0004918/4.186, allocations: 196.2 kB / 1.386 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/4.186, allocations: 153.8 kB / 1.386 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/4.19, allocations: 1.444 MB / 1.387 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/4.19, allocations: 14.05 kB / 1.387 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/4.19, allocations: 0.6562 kB / 1.387 GB, free: 191.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00285/4.193, allocations: 1.456 MB / 1.389 GB, free: 190.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/4.204, allocations: 4.842 MB / 1.393 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/4.204, allocations: 7.219 kB / 1.393 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/4.206, allocations: 220.6 kB / 1.394 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/4.206, allocations: 9.094 kB / 1.394 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/4.207, allocations: 31.31 kB / 1.394 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.701e-05/4.207, allocations: 8.844 kB / 1.394 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/4.207, allocations: 12.22 kB / 1.394 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/4.211, allocations: 2.475 MB / 1.396 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/4.213, allocations: 416.4 kB / 1.396 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006404/4.214, allocations: 29.36 kB / 1.396 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/4.216, allocations: 87.16 kB / 1.397 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/4.216, allocations: 73.66 kB / 1.397 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/4.216, allocations: 38.83 kB / 1.397 GB, free: 187.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002723/4.219, allocations: 1.217 MB / 1.398 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.32e-07/4.219, allocations: 0 / 1.398 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0047/4.224, allocations: 0.8555 MB / 1.399 GB, free: 187.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (indTanHex.port_a.h_outflow,indTanHex.port_b.h_outflow,indTanHex.vol[2].ports[2].h_outflow,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 (110): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006482/4.23, allocations: 4.503 MB / 1.403 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006269/4.237, allocations: 2.547 MB / 1.406 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/4.237, allocations: 6.156 kB / 1.406 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/4.238, allocations: 0.5931 MB / 1.406 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007346/4.245, allocations: 0.8803 MB / 1.407 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/4.257, allocations: 3.982 MB / 1.411 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/4.259, allocations: 1.743 MB / 1.413 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007026/4.266, allocations: 1.292 MB / 1.414 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/4.268, allocations: 0.6336 MB / 1.415 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.783e-06/4.268, allocations: 0 / 1.415 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/4.406, allocations: 54.62 MB / 1.468 GB, free: 181.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/4.406, allocations: 226.1 kB / 1.468 GB, free: 181.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.458/8.864, allocations: 0 / 1.468 GB, free: 181.3 MB / 0.7761 GB