Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.199/4.199, allocations: 464.6 MB / 476.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.097e-05, allocations: 8 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.232, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.081, allocations: 131.9 MB / 0.8067 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.081, allocations: 73.28 kB / 0.8067 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01514/1.096, allocations: 3.602 MB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.096, allocations: 0 / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.096, allocations: 3.875 kB / 0.8102 GB, free: 12.14 MB / 0.6355 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.001028/1.097, allocations: 491 kB / 0.8107 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.097, allocations: 7.688 kB / 0.8107 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/1.097, allocations: 42.12 kB / 0.8108 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/1.097, allocations: 18.77 kB / 0.8108 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/1.098, allocations: 212.1 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.098, allocations: 7.438 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/1.098, allocations: 3.906 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/1.098, allocations: 121.4 kB / 0.8111 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.098, allocations: 0 / 0.8111 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.098, allocations: 6.5 kB / 0.8111 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/1.098, allocations: 7.719 kB / 0.8111 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/1.098, allocations: 81.41 kB / 0.8112 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/1.1, allocations: 0.511 MB / 0.8117 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/1.1, allocations: 84.36 kB / 0.8118 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/1.1, allocations: 69.86 kB / 0.8118 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/1.1, allocations: 3.953 kB / 0.8118 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.1, allocations: 33.38 kB / 0.8119 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/1.1, allocations: 0 / 0.8119 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004073/1.1, allocations: 154.6 kB / 0.812 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/1.1, allocations: 55.22 kB / 0.8121 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.101, allocations: 132.5 kB / 0.8122 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.101, allocations: 25.7 kB / 0.8122 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/1.101, allocations: 111.6 kB / 0.8123 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/1.101, allocations: 43.48 kB / 0.8124 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.101, allocations: 3.875 kB / 0.8124 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/1.101, allocations: 324.3 kB / 0.8127 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.101, allocations: 55.03 kB / 0.8127 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.101, allocations: 52.41 kB / 0.8128 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/1.101, allocations: 73.27 kB / 0.8129 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.101, allocations: 0 / 0.8129 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003273/1.102, allocations: 165.8 kB / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.102, allocations: 3.781 kB / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.102, allocations: 0 / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.102, allocations: 3.844 kB / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/1.102, allocations: 45.92 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.102, allocations: 3.969 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/1.103, allocations: 46.12 kB / 0.8131 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/1.103, allocations: 12.86 kB / 0.8131 GB, free: 10.33 MB / 0.6355 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 6.771e-05/1.103, allocations: 108.8 kB / 0.8132 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/1.103, allocations: 11.67 kB / 0.8132 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/1.103, allocations: 189 kB / 0.8134 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.103, allocations: 0 / 0.8134 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.103, allocations: 0 / 0.8134 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.103, allocations: 3.906 kB / 0.8134 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/1.104, allocations: 248.5 kB / 0.8137 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.104, allocations: 3 kB / 0.8137 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.104, allocations: 45.44 kB / 0.8137 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.104, allocations: 3.953 kB / 0.8137 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/1.104, allocations: 11.28 kB / 0.8137 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.104, allocations: 0 / 0.8137 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.104, allocations: 0 / 0.8137 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/1.104, allocations: 268.9 kB / 0.814 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/1.104, allocations: 87.5 kB / 0.8141 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.104, allocations: 3.953 kB / 0.8141 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/1.105, allocations: 52.33 kB / 0.8141 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/1.105, allocations: 12.83 kB / 0.8141 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/1.105, allocations: 6.688 kB / 0.8141 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.327e-05/1.105, allocations: 108.2 kB / 0.8142 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.105, allocations: 0 / 0.8142 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004055/1.105, allocations: 46.25 kB / 0.8143 GB, free: 9.617 MB / 0.6355 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.0006667/1.106, allocations: 0.8274 MB / 0.8151 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003725/1.107, allocations: 202.4 kB / 0.8153 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.107, allocations: 0 / 0.8153 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/1.107, allocations: 137.4 kB / 0.8154 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.107, allocations: 30.67 kB / 0.8154 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.108, allocations: 272.8 kB / 0.8157 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/1.109, allocations: 0.7192 MB / 0.8164 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001234/1.109, allocations: 21.31 kB / 0.8164 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/1.109, allocations: 35.31 kB / 0.8165 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.109, allocations: 0 / 0.8165 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.135, allocations: 3.089 MB / 0.8195 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.135, allocations: 157.3 kB / 0.8196 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.461, allocations: 0 / 0.8196 GB, free: 23.41 MB / 0.6511 GB