Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.13e-05, allocations: 11.98 kB / 0.5732 GB, free: 5.586 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2474, allocations: 107.2 MB / 0.6778 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.036/7.283, allocations: 2.175 GB / 2.853 GB, free: 262.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/7.284, allocations: 90.8 kB / 2.853 GB, free: 262.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1307/7.415, allocations: 40.5 MB / 2.892 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.603e-06/7.415, allocations: 0 / 2.892 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.397e-05/7.415, allocations: 8 kB / 2.892 GB, free: 243.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006624/7.415, allocations: 446.2 kB / 2.893 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/7.415, allocations: 15.97 kB / 2.893 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/7.415, allocations: 46.17 kB / 2.893 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/7.416, allocations: 39.73 kB / 2.893 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/7.416, allocations: 201.4 kB / 2.893 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/7.416, allocations: 7.875 kB / 2.893 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/7.416, allocations: 15.25 kB / 2.893 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/7.416, allocations: 110.6 kB / 2.893 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/7.416, allocations: 0 / 2.893 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/7.416, allocations: 0 / 2.893 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/7.416, allocations: 7.953 kB / 2.893 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/7.417, allocations: 64.12 kB / 2.893 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/7.417, allocations: 466.3 kB / 2.894 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/7.418, allocations: 80.12 kB / 2.894 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/7.418, allocations: 27.67 kB / 2.894 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/7.418, allocations: 0 / 2.894 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/7.418, allocations: 30.56 kB / 2.894 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/7.418, allocations: 0 / 2.894 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002647/7.418, allocations: 83.84 kB / 2.894 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/7.418, allocations: 62.66 kB / 2.894 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/7.418, allocations: 171 kB / 2.894 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/7.418, allocations: 25.7 kB / 2.894 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/7.418, allocations: 118.4 kB / 2.894 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/7.418, allocations: 19.66 kB / 2.894 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/7.418, allocations: 3.062 kB / 2.894 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/7.419, allocations: 322.6 kB / 2.895 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/7.419, allocations: 26.81 kB / 2.895 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/7.419, allocations: 26.81 kB / 2.895 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/7.419, allocations: 19.17 kB / 2.895 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/7.419, allocations: 4 kB / 2.895 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001927/7.419, allocations: 87.34 kB / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/7.419, allocations: 4 kB / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/7.419, allocations: 0 / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/7.419, allocations: 0 / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/7.419, allocations: 23.8 kB / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/7.419, allocations: 0 / 2.895 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/7.419, allocations: 19.89 kB / 2.895 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/7.42, allocations: 7.953 kB / 2.895 GB, free: 240.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.871e-05/7.42, allocations: 108.6 kB / 2.895 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/7.42, allocations: 15.81 kB / 2.895 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/7.42, allocations: 96.75 kB / 2.895 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/7.42, allocations: 4 kB / 2.895 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/7.42, allocations: 0 / 2.895 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/7.42, allocations: 3.984 kB / 2.895 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/7.42, allocations: 226.7 kB / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/7.42, allocations: 0 / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/7.42, allocations: 23.67 kB / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/7.42, allocations: 0 / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/7.42, allocations: 0 / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/7.42, allocations: 4 kB / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/7.42, allocations: 80 / 2.895 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/7.421, allocations: 193.4 kB / 2.895 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/7.421, allocations: 92.61 kB / 2.896 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/7.421, allocations: 3.984 kB / 2.896 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/7.421, allocations: 8 kB / 2.896 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/7.421, allocations: 11.98 kB / 2.896 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/7.421, allocations: 0 / 2.896 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001277/7.421, allocations: 134.8 kB / 2.896 GB, free: 240 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.3e-07/7.421, allocations: 0 / 2.896 GB, free: 240 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004601/7.422, allocations: 63.05 kB / 2.896 GB, free: 240 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.00109/7.423, allocations: 1.194 MB / 2.897 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002034/7.423, allocations: 46 kB / 2.897 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/7.423, allocations: 0 / 2.897 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/7.423, allocations: 30.62 kB / 2.897 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/7.424, allocations: 31.09 kB / 2.897 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/7.424, allocations: 206.5 kB / 2.897 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/7.425, allocations: 0.7121 MB / 2.898 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001196/7.425, allocations: 12.88 kB / 2.898 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/7.425, allocations: 34.55 kB / 2.898 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/7.425, allocations: 0 / 2.898 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/7.469, allocations: 13.59 MB / 2.911 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/7.469, allocations: 165.2 kB / 2.911 GB, free: 224 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/10.39, allocations: 0 / 2.911 GB, free: 224 MB / 0.8855 GB