Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.206/4.206, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.665e-05/4.704e-05, allocations: 8.094 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2415, allocations: 98.73 MB / 0.6302 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.516, allocations: 391.4 MB / 1.012 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.516, allocations: 90.19 kB / 1.012 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.602/4.118, allocations: 418 MB / 1.421 GB, free: 175.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/4.118, allocations: 2.438 kB / 1.421 GB, free: 175.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001686/4.118, allocations: 26.5 kB / 1.421 GB, free: 175.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004052/4.122, allocations: 1.248 MB / 1.422 GB, free: 175.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/4.122, allocations: 9.875 kB / 1.422 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/4.123, allocations: 119.1 kB / 1.422 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/4.123, allocations: 138.7 kB / 1.422 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04163/4.165, allocations: 12.16 MB / 1.434 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/4.165, allocations: 53.5 kB / 1.434 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/4.165, allocations: 83.88 kB / 1.434 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/4.167, allocations: 0.7014 MB / 1.435 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/4.167, allocations: 7.688 kB / 1.435 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/4.167, allocations: 27.38 kB / 1.435 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/4.167, allocations: 24.78 kB / 1.435 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/4.169, allocations: 483.3 kB / 1.435 GB, free: 174.3 MB / 0.823 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.005901/4.174, allocations: 3.499 MB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/4.175, allocations: 221.8 kB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/4.175, allocations: 146.5 kB / 1.439 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/4.176, allocations: 0.6612 MB / 1.44 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/4.176, allocations: 39.62 kB / 1.44 GB, free: 171.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/4.176, allocations: 3.125 kB / 1.44 GB, free: 171.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.001043/4.177, allocations: 348.5 kB / 1.44 GB, free: 171.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/4.177, allocations: 55.34 kB / 1.44 GB, free: 171.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/4.179, allocations: 0.8187 MB / 1.441 GB, free: 171.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/4.179, allocations: 32.61 kB / 1.441 GB, free: 171.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/4.179, allocations: 0.5038 MB / 1.442 GB, free: 171.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/4.18, allocations: 113.1 kB / 1.442 GB, free: 171.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/4.18, allocations: 7.812 kB / 1.442 GB, free: 171.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/4.18, allocations: 324.2 kB / 1.442 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/4.18, allocations: 123 kB / 1.442 GB, free: 170.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/4.181, allocations: 333.2 kB / 1.442 GB, free: 170.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/4.181, allocations: 184 kB / 1.443 GB, free: 170.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/4.181, allocations: 5.906 kB / 1.443 GB, free: 170.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001328/4.182, allocations: 0.5099 MB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/4.182, allocations: 14.42 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/4.182, allocations: 3.969 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/4.182, allocations: 7.062 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/4.183, allocations: 117.6 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/4.183, allocations: 12.61 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/4.185, allocations: 112 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/4.185, allocations: 24.84 kB / 1.443 GB, free: 170.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001621/4.185, allocations: 137.6 kB / 1.444 GB, free: 170.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/4.185, allocations: 100.2 kB / 1.444 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/4.186, allocations: 438.5 kB / 1.444 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/4.186, allocations: 3.938 kB / 1.444 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/4.186, allocations: 0 / 1.444 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005826/4.187, allocations: 364.1 kB / 1.444 GB, free: 170.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/4.19, allocations: 1.227 MB / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/4.19, allocations: 3.844 kB / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/4.19, allocations: 79.75 kB / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/4.19, allocations: 0 / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/4.19, allocations: 10.66 kB / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/4.19, allocations: 3.438 kB / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/4.19, allocations: 0 / 1.446 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/4.192, allocations: 0.671 MB / 1.446 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/4.192, allocations: 228.8 kB / 1.447 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/4.193, allocations: 10.41 kB / 1.447 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/4.194, allocations: 55.31 kB / 1.447 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/4.194, allocations: 26.64 kB / 1.447 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/4.194, allocations: 16.28 kB / 1.447 GB, free: 169.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001324/4.195, allocations: 0.6589 MB / 1.447 GB, free: 169.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.61e-07/4.195, allocations: 3.438 kB / 1.447 GB, free: 169.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001887/4.197, allocations: 361.4 kB / 1.448 GB, free: 169.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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.002767/4.2, allocations: 1.91 MB / 1.45 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009107/4.201, allocations: 318.5 kB / 1.45 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/4.201, allocations: 3.469 kB / 1.45 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/4.201, allocations: 132.5 kB / 1.45 GB, free: 168.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/4.207, allocations: 0.5904 MB / 1.451 GB, free: 168.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/4.211, allocations: 1.408 MB / 1.452 GB, free: 167.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/4.212, allocations: 1.063 MB / 1.453 GB, free: 167 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001321/4.213, allocations: 194.7 kB / 1.453 GB, free: 167 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/4.214, allocations: 371.6 kB / 1.453 GB, free: 167 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/4.214, allocations: 0 / 1.453 GB, free: 167 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/4.321, allocations: 32.4 MB / 1.485 GB, free: 166.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/4.321, allocations: 215.8 kB / 1.485 GB, free: 166 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/8.081, allocations: 0 / 1.485 GB, free: 166 MB / 0.823 GB