Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.715/3.715, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.278e-05/6.293e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5863, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.673, allocations: 382.5 MB / 0.9632 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/1.673, allocations: 87.95 kB / 0.9633 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.072/3.746, allocations: 408.4 MB / 1.362 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.136e-06/3.746, allocations: 0 / 1.362 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001841/3.746, allocations: 28 kB / 1.362 GB, free: 14.58 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003988/3.75, allocations: 1.294 MB / 1.363 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/3.75, allocations: 11.97 kB / 1.363 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003707/3.751, allocations: 131 kB / 1.364 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/3.752, allocations: 150.4 kB / 1.364 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.643/4.395, allocations: 21.97 MB / 1.385 GB, free: 158.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/4.395, allocations: 66.06 kB / 1.385 GB, free: 158.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/4.395, allocations: 88.09 kB / 1.385 GB, free: 158.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/4.397, allocations: 0.9044 MB / 1.386 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/4.397, allocations: 11.33 kB / 1.386 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/4.398, allocations: 33.31 kB / 1.386 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.011e-05/4.398, allocations: 30.12 kB / 1.386 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/4.399, allocations: 0.5703 MB / 1.387 GB, free: 158.4 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.007764/4.407, allocations: 5.143 MB / 1.392 GB, free: 155.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/4.408, allocations: 341.9 kB / 1.392 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/4.409, allocations: 192.3 kB / 1.392 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/4.409, allocations: 176 kB / 1.393 GB, free: 154.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/4.409, allocations: 43.33 kB / 1.393 GB, free: 154.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/4.409, allocations: 0 / 1.393 GB, free: 154.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.004762/4.414, allocations: 1.645 MB / 1.394 GB, free: 153.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/4.414, allocations: 133.6 kB / 1.394 GB, free: 153.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/4.416, allocations: 0.8416 MB / 1.395 GB, free: 153.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/4.416, allocations: 31.39 kB / 1.395 GB, free: 153.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/4.416, allocations: 0.5572 MB / 1.396 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/4.416, allocations: 134.2 kB / 1.396 GB, free: 153.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/4.417, allocations: 17.66 kB / 1.396 GB, free: 153.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/4.417, allocations: 334 kB / 1.396 GB, free: 153 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/4.417, allocations: 155 kB / 1.396 GB, free: 153 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/4.418, allocations: 461.9 kB / 1.397 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/4.418, allocations: 248.3 kB / 1.397 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/4.418, allocations: 3.844 kB / 1.397 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001753/4.42, allocations: 0.6796 MB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/4.42, allocations: 8.281 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/4.42, allocations: 11.75 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/4.42, allocations: 13.81 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/4.421, allocations: 169.2 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/4.421, allocations: 15.62 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/4.423, allocations: 85.7 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/4.423, allocations: 32.89 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002853/4.423, allocations: 157.4 kB / 1.398 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/4.424, allocations: 112.5 kB / 1.398 GB, free: 152.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/4.425, allocations: 478.8 kB / 1.399 GB, free: 152.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/4.425, allocations: 7.156 kB / 1.399 GB, free: 152.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/4.425, allocations: 0 / 1.399 GB, free: 152.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007217/4.426, allocations: 436.3 kB / 1.399 GB, free: 152.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/4.43, allocations: 1.714 MB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/4.43, allocations: 3.875 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/4.431, allocations: 101.3 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/4.431, allocations: 7.906 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/4.431, allocations: 11.16 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/4.431, allocations: 10.05 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/4.431, allocations: 6.125 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/4.433, allocations: 0.9262 MB / 1.402 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/4.434, allocations: 233 kB / 1.402 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/4.434, allocations: 18.41 kB / 1.402 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/4.435, allocations: 56.09 kB / 1.402 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/4.435, allocations: 39.66 kB / 1.402 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/4.435, allocations: 24.84 kB / 1.402 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001415/4.437, allocations: 0.6543 MB / 1.403 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.092e-06/4.437, allocations: 0 / 1.403 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002032/4.439, allocations: 342.4 kB / 1.403 GB, free: 150.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (fouPor.vol1.ports[1].h_outflow,fouPor.vol2.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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.003468/4.442, allocations: 2.626 MB / 1.406 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001284/4.444, allocations: 438.7 kB / 1.406 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/4.444, allocations: 0 / 1.406 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/4.444, allocations: 194.4 kB / 1.406 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/4.45, allocations: 0.63 MB / 1.407 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/4.455, allocations: 1.59 MB / 1.408 GB, free: 148.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/4.456, allocations: 1.087 MB / 1.41 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00161/4.458, allocations: 221.3 kB / 1.41 GB, free: 147.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008507/4.459, allocations: 403.7 kB / 1.41 GB, free: 147.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.673e-06/4.459, allocations: 0 / 1.41 GB, free: 147.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09267/4.551, allocations: 33.9 MB / 1.443 GB, free: 147.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/4.552, allocations: 205.1 kB / 1.443 GB, free: 146.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/8.498, allocations: 3.375 kB / 1.443 GB, free: 146.9 MB / 0.7761 GB