Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.957/3.957, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.935e-05/5.94e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6635, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.9347, allocations: 121.1 MB / 0.7079 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.9351, allocations: 91.92 kB / 0.708 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.9521, allocations: 3.617 MB / 0.7115 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9522, allocations: 4 kB / 0.7115 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.9522, allocations: 0 / 0.7115 GB, free: 1.512 MB / 0.5886 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.001228/0.9534, allocations: 482.7 kB / 0.712 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9535, allocations: 8.031 kB / 0.712 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.9536, allocations: 42.56 kB / 0.712 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.9537, allocations: 19.77 kB / 0.712 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.954, allocations: 212.2 kB / 0.7122 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.954, allocations: 4 kB / 0.7122 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.9541, allocations: 7.938 kB / 0.7123 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.9545, allocations: 132.7 kB / 0.7124 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9545, allocations: 0 / 0.7124 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.9545, allocations: 0 / 0.7124 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.9545, allocations: 0 / 0.7124 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.9548, allocations: 83.94 kB / 0.7125 GB, free: 456 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.9563, allocations: 0.5198 MB / 0.713 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.9566, allocations: 82.5 kB / 0.713 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.9568, allocations: 68.78 kB / 0.7131 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.9568, allocations: 8 kB / 0.7131 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.9569, allocations: 30.56 kB / 0.7132 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/0.9569, allocations: 0 / 0.7132 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004891/0.9574, allocations: 161.5 kB / 0.7133 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.9574, allocations: 55.41 kB / 0.7134 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.9576, allocations: 132 kB / 0.7135 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.9577, allocations: 25.7 kB / 0.7135 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.9578, allocations: 116.4 kB / 0.7136 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.9578, allocations: 47.27 kB / 0.7137 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.9579, allocations: 0 / 0.7137 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9581, allocations: 326.8 kB / 0.714 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.9582, allocations: 55.98 kB / 0.714 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9584, allocations: 55.92 kB / 0.7141 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.9586, allocations: 63.91 kB / 0.7141 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9586, allocations: 0 / 0.7141 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003975/0.959, allocations: 157.6 kB / 0.7143 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.959, allocations: 4 kB / 0.7143 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.9591, allocations: 4 kB / 0.7143 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9591, allocations: 4 kB / 0.7143 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.9595, allocations: 43.95 kB / 0.7143 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9596, allocations: 0 / 0.7143 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.9599, allocations: 55.8 kB / 0.7144 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.96, allocations: 8 kB / 0.7144 GB, free: 14.33 MB / 0.6042 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 (7): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001003/0.9601, allocations: 108.9 kB / 0.7145 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.9602, allocations: 15.91 kB / 0.7145 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.9607, allocations: 190.3 kB / 0.7147 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.9607, allocations: 0 / 0.7147 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9607, allocations: 0 / 0.7147 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.9607, allocations: 0 / 0.7147 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.9611, allocations: 253.4 kB / 0.7149 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.9611, allocations: 4 kB / 0.715 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.9616, allocations: 51.95 kB / 0.715 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9616, allocations: 0 / 0.715 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.9616, allocations: 7.938 kB / 0.715 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9616, allocations: 3.938 kB / 0.715 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9616, allocations: 0 / 0.715 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.9621, allocations: 275.1 kB / 0.7153 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.9622, allocations: 88.92 kB / 0.7154 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.9622, allocations: 0 / 0.7154 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.9627, allocations: 47.95 kB / 0.7154 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.9628, allocations: 11.98 kB / 0.7154 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.9628, allocations: 4 kB / 0.7154 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001098/0.9629, allocations: 113.4 kB / 0.7155 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9629, allocations: 4 kB / 0.7155 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003933/0.9633, allocations: 35.94 kB / 0.7156 GB, free: 13.04 MB / 0.6042 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): 5 * 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.0009459/0.9643, allocations: 0.8293 MB / 0.7164 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.9648, allocations: 203.4 kB / 0.7166 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.9648, allocations: 0 / 0.7166 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.965, allocations: 139.3 kB / 0.7167 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.9654, allocations: 21.27 kB / 0.7167 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.9662, allocations: 276 kB / 0.717 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.9666, allocations: 0.724 MB / 0.7177 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.9667, allocations: 15.97 kB / 0.7177 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.9669, allocations: 39.42 kB / 0.7177 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.9669, allocations: 4 kB / 0.7178 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.9887, allocations: 3.095 MB / 0.7208 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.9891, allocations: 157.7 kB / 0.7209 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.34, allocations: 4 kB / 0.7209 GB, free: 7.453 MB / 0.6042 GB