Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.861/3.861, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.246e-05, allocations: 11.94 kB / 0.4992 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.5948, allocations: 92.68 MB / 0.5897 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.807/7.402, allocations: 2.15 GB / 2.739 GB, free: 112.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/7.402, allocations: 85.69 kB / 2.74 GB, free: 112.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1341/7.536, allocations: 40.43 MB / 2.779 GB, free: 78.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/7.536, allocations: 0 / 2.779 GB, free: 78.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.369e-05/7.536, allocations: 0 / 2.779 GB, free: 78.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006499/7.537, allocations: 458.2 kB / 2.779 GB, free: 77.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/7.537, allocations: 8.031 kB / 2.779 GB, free: 77.76 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/7.537, allocations: 42.55 kB / 2.78 GB, free: 77.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/7.537, allocations: 35.78 kB / 2.78 GB, free: 77.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/7.538, allocations: 201.3 kB / 2.78 GB, free: 77.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/7.538, allocations: 19.88 kB / 2.78 GB, free: 77.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/7.538, allocations: 15.95 kB / 2.78 GB, free: 77.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/7.538, allocations: 101.7 kB / 2.78 GB, free: 77.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/7.538, allocations: 0 / 2.78 GB, free: 77.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/7.538, allocations: 0 / 2.78 GB, free: 77.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/7.538, allocations: 4 kB / 2.78 GB, free: 77.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/7.538, allocations: 60 kB / 2.78 GB, free: 77.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/7.539, allocations: 464.1 kB / 2.78 GB, free: 76.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/7.54, allocations: 78.56 kB / 2.78 GB, free: 76.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/7.54, allocations: 28.86 kB / 2.78 GB, free: 76.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/7.54, allocations: 4 kB / 2.781 GB, free: 76.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/7.54, allocations: 42.52 kB / 2.781 GB, free: 76.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/7.54, allocations: 0 / 2.781 GB, free: 76.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003154/7.54, allocations: 85.78 kB / 2.781 GB, free: 76.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/7.54, allocations: 55.34 kB / 2.781 GB, free: 76.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/7.54, allocations: 161.5 kB / 2.781 GB, free: 76.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/7.54, allocations: 25.7 kB / 2.781 GB, free: 76.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/7.54, allocations: 123.9 kB / 2.781 GB, free: 76.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/7.54, allocations: 15.72 kB / 2.781 GB, free: 76.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/7.54, allocations: 4 kB / 2.781 GB, free: 76.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/7.541, allocations: 322.8 kB / 2.781 GB, free: 75.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/7.541, allocations: 20 kB / 2.781 GB, free: 75.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/7.541, allocations: 20 kB / 2.781 GB, free: 75.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/7.541, allocations: 23.98 kB / 2.781 GB, free: 75.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/7.541, allocations: 0 / 2.781 GB, free: 75.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/7.541, allocations: 93.81 kB / 2.781 GB, free: 75.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/7.541, allocations: 9.562 kB / 2.781 GB, free: 75.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/7.541, allocations: 3.953 kB / 2.781 GB, free: 75.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/7.541, allocations: 0 / 2.781 GB, free: 75.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/7.541, allocations: 23.92 kB / 2.781 GB, free: 75.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/7.541, allocations: 8.062 kB / 2.781 GB, free: 75.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/7.542, allocations: 19.83 kB / 2.782 GB, free: 75.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/7.542, allocations: 0 / 2.782 GB, free: 75.52 MB / 0.7761 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 6.779e-05/7.542, allocations: 109 kB / 2.782 GB, free: 75.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/7.542, allocations: 15.81 kB / 2.782 GB, free: 75.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/7.542, allocations: 99.19 kB / 2.782 GB, free: 75.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/7.542, allocations: 3.953 kB / 2.782 GB, free: 75.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/7.542, allocations: 0 / 2.782 GB, free: 75.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/7.542, allocations: 3.984 kB / 2.782 GB, free: 75.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/7.542, allocations: 213.6 kB / 2.782 GB, free: 75.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/7.542, allocations: 4 kB / 2.782 GB, free: 75.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/7.543, allocations: 23.92 kB / 2.782 GB, free: 74.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/7.543, allocations: 7.938 kB / 2.782 GB, free: 74.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/7.543, allocations: 8 kB / 2.782 GB, free: 74.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/7.543, allocations: 3.938 kB / 2.782 GB, free: 74.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/7.543, allocations: 3.953 kB / 2.782 GB, free: 74.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/7.543, allocations: 183.3 kB / 2.782 GB, free: 74.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/7.543, allocations: 88.95 kB / 2.782 GB, free: 74.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/7.543, allocations: 7.984 kB / 2.782 GB, free: 74.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/7.543, allocations: 8 kB / 2.782 GB, free: 74.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/7.543, allocations: 11.94 kB / 2.782 GB, free: 74.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/7.543, allocations: 0 / 2.782 GB, free: 74.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001406/7.543, allocations: 144.3 kB / 2.782 GB, free: 74.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.342e-06/7.544, allocations: 0 / 2.782 GB, free: 74.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004691/7.544, allocations: 55.92 kB / 2.782 GB, free: 74.45 MB / 0.7761 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.001109/7.545, allocations: 1.189 MB / 2.784 GB, free: 73.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002058/7.545, allocations: 48 kB / 2.784 GB, free: 73.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/7.545, allocations: 3.938 kB / 2.784 GB, free: 73.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/7.545, allocations: 24 kB / 2.784 GB, free: 73.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/7.546, allocations: 35.92 kB / 2.784 GB, free: 73.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/7.547, allocations: 195.6 kB / 2.784 GB, free: 72.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/7.547, allocations: 0.7159 MB / 2.785 GB, free: 72.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001242/7.547, allocations: 20.86 kB / 2.785 GB, free: 72.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/7.547, allocations: 35.42 kB / 2.785 GB, free: 72.1 MB / 0.7761 GB Notification: Performance of SimCode: time 9.41e-07/7.547, allocations: 0 / 2.785 GB, free: 72.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/7.589, allocations: 13.58 MB / 2.798 GB, free: 58.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/7.589, allocations: 172.1 kB / 2.798 GB, free: 58.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/10.47, allocations: 5.719 kB / 2.798 GB, free: 58.36 MB / 0.7761 GB