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.857/3.857, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.605e-05/4.618e-05, allocations: 11.98 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.6136, allocations: 92.69 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.752/7.366, allocations: 2.15 GB / 2.739 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/7.366, allocations: 95.3 kB / 2.74 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1316/7.498, allocations: 40.43 MB / 2.779 GB, free: 77.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/7.498, allocations: 0 / 2.779 GB, free: 77.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.331e-05/7.498, allocations: 4 kB / 2.779 GB, free: 77.49 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.0006699/7.498, allocations: 454.2 kB / 2.779 GB, free: 77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/7.498, allocations: 12.03 kB / 2.779 GB, free: 76.99 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/7.498, allocations: 34.56 kB / 2.779 GB, free: 76.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/7.499, allocations: 43.72 kB / 2.78 GB, free: 76.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/7.499, allocations: 202.9 kB / 2.78 GB, free: 76.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/7.499, allocations: 15.88 kB / 2.78 GB, free: 76.65 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/7.499, allocations: 15.95 kB / 2.78 GB, free: 76.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/7.499, allocations: 101.7 kB / 2.78 GB, free: 76.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/7.499, allocations: 0 / 2.78 GB, free: 76.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/7.499, allocations: 4 kB / 2.78 GB, free: 76.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/7.5, allocations: 4 kB / 2.78 GB, free: 76.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/7.5, allocations: 64 kB / 2.78 GB, free: 76.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/7.501, allocations: 452.2 kB / 2.78 GB, free: 75.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/7.501, allocations: 86.48 kB / 2.78 GB, free: 75.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/7.501, allocations: 28.91 kB / 2.78 GB, free: 75.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/7.501, allocations: 8 kB / 2.78 GB, free: 75.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/7.501, allocations: 38.52 kB / 2.781 GB, free: 75.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/7.501, allocations: 0 / 2.781 GB, free: 75.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002611/7.501, allocations: 85.58 kB / 2.781 GB, free: 75.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/7.501, allocations: 55.34 kB / 2.781 GB, free: 75.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/7.501, allocations: 161.5 kB / 2.781 GB, free: 75.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/7.501, allocations: 29.7 kB / 2.781 GB, free: 75.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/7.502, allocations: 119.9 kB / 2.781 GB, free: 75.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/7.502, allocations: 23.7 kB / 2.781 GB, free: 75.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/7.502, allocations: 4 kB / 2.781 GB, free: 75.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/7.502, allocations: 318.8 kB / 2.781 GB, free: 74.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/7.502, allocations: 20 kB / 2.781 GB, free: 74.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/7.502, allocations: 20 kB / 2.781 GB, free: 74.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/7.502, allocations: 20 kB / 2.781 GB, free: 74.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/7.502, allocations: 0 / 2.781 GB, free: 74.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/7.502, allocations: 93.73 kB / 2.781 GB, free: 74.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/7.502, allocations: 8 kB / 2.781 GB, free: 74.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/7.502, allocations: 7.953 kB / 2.781 GB, free: 74.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/7.502, allocations: 0 / 2.781 GB, free: 74.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/7.502, allocations: 23.92 kB / 2.781 GB, free: 74.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/7.502, allocations: 0 / 2.781 GB, free: 74.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/7.503, allocations: 19.83 kB / 2.781 GB, free: 74.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/7.503, allocations: 4 kB / 2.781 GB, free: 74.75 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.063e-05/7.503, allocations: 105 kB / 2.782 GB, free: 74.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/7.503, allocations: 15.81 kB / 2.782 GB, free: 74.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/7.503, allocations: 103.1 kB / 2.782 GB, free: 74.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/7.503, allocations: 7.938 kB / 2.782 GB, free: 74.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/7.503, allocations: 0 / 2.782 GB, free: 74.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/7.503, allocations: 4 kB / 2.782 GB, free: 74.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/7.503, allocations: 217.6 kB / 2.782 GB, free: 74.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/7.503, allocations: 3.938 kB / 2.782 GB, free: 74.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/7.504, allocations: 23.98 kB / 2.782 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/7.504, allocations: 4 kB / 2.782 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/7.504, allocations: 0 / 2.782 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/7.504, allocations: 0 / 2.782 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/7.504, allocations: 3.953 kB / 2.782 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/7.504, allocations: 187.3 kB / 2.782 GB, free: 74.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/7.504, allocations: 92.94 kB / 2.782 GB, free: 73.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/7.504, allocations: 0 / 2.782 GB, free: 73.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/7.504, allocations: 19.94 kB / 2.782 GB, free: 73.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/7.504, allocations: 7.938 kB / 2.782 GB, free: 73.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/7.504, allocations: 4 kB / 2.782 GB, free: 73.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001386/7.504, allocations: 136.3 kB / 2.782 GB, free: 73.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.11e-07/7.505, allocations: 0 / 2.782 GB, free: 73.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004588/7.505, allocations: 55.98 kB / 2.782 GB, free: 73.68 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.001129/7.506, allocations: 1.181 MB / 2.784 GB, free: 72.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002015/7.506, allocations: 51.94 kB / 2.784 GB, free: 72.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/7.506, allocations: 0 / 2.784 GB, free: 72.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/7.506, allocations: 28 kB / 2.784 GB, free: 72.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/7.507, allocations: 39.86 kB / 2.784 GB, free: 72.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/7.508, allocations: 203.5 kB / 2.784 GB, free: 72.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/7.508, allocations: 0.7198 MB / 2.785 GB, free: 71.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001195/7.508, allocations: 12.89 kB / 2.785 GB, free: 71.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/7.508, allocations: 31.42 kB / 2.785 GB, free: 71.34 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/7.508, allocations: 0 / 2.785 GB, free: 71.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/7.547, allocations: 13.58 MB / 2.798 GB, free: 57.84 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/7.547, allocations: 176.8 kB / 2.798 GB, free: 57.61 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/10.59, allocations: 0 / 2.798 GB, free: 57.61 MB / 0.7761 GB