Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.843/3.843, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.102e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5892, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.833, allocations: 121.3 MB / 0.7081 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.8334, allocations: 87.94 kB / 0.7082 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.007075/0.8405, allocations: 1.487 MB / 0.7097 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8405, allocations: 0 / 0.7097 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8405, allocations: 4 kB / 0.7097 GB, free: 3.438 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007462/0.8413, allocations: 383.5 kB / 0.71 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.8414, allocations: 8.031 kB / 0.71 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.8414, allocations: 38.56 kB / 0.7101 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.8415, allocations: 11.86 kB / 0.7101 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.8417, allocations: 178.9 kB / 0.7103 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.8417, allocations: 8 kB / 0.7103 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.8417, allocations: 4 kB / 0.7103 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.842, allocations: 81.66 kB / 0.7103 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.842, allocations: 0 / 0.7103 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.842, allocations: 4 kB / 0.7103 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8421, allocations: 0 / 0.7103 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.8422, allocations: 51.94 kB / 0.7104 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.843, allocations: 340.7 kB / 0.7107 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.8438, allocations: 98.59 kB / 0.7108 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.8439, allocations: 24.86 kB / 0.7108 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.844, allocations: 15.88 kB / 0.7109 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.844, allocations: 38.5 kB / 0.7109 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.844, allocations: 4 kB / 0.7109 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003292/0.8444, allocations: 85.58 kB / 0.711 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.8444, allocations: 55.41 kB / 0.711 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.8445, allocations: 109 kB / 0.7111 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8446, allocations: 25.7 kB / 0.7112 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.8446, allocations: 96.03 kB / 0.7112 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.8447, allocations: 19.75 kB / 0.7113 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.8447, allocations: 0 / 0.7113 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8448, allocations: 318.8 kB / 0.7116 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.8449, allocations: 27.94 kB / 0.7116 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.845, allocations: 28.14 kB / 0.7116 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.8451, allocations: 19.98 kB / 0.7116 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8452, allocations: 0 / 0.7116 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002638/0.8454, allocations: 85.59 kB / 0.7117 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.8455, allocations: 9.672 kB / 0.7117 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8455, allocations: 3.984 kB / 0.7117 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8455, allocations: 0 / 0.7117 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.8459, allocations: 35.97 kB / 0.7118 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8459, allocations: 0 / 0.7118 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.8461, allocations: 19.92 kB / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.8462, allocations: 0 / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.825e-05/0.8463, allocations: 112.9 kB / 0.7119 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.8463, allocations: 7.906 kB / 0.7119 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.8467, allocations: 106.5 kB / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8467, allocations: 0 / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8467, allocations: 0 / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8467, allocations: 0 / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.847, allocations: 209.5 kB / 0.7122 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.847, allocations: 0 / 0.7122 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.8474, allocations: 27.97 kB / 0.7122 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8474, allocations: 11.94 kB / 0.7122 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.8474, allocations: 0 / 0.7122 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.8474, allocations: 3.953 kB / 0.7122 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8474, allocations: 80 / 0.7122 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.8478, allocations: 183.5 kB / 0.7124 GB, free: 316 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.8478, allocations: 89 kB / 0.7125 GB, free: 208 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.8479, allocations: 4 kB / 0.7125 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.8481, allocations: 19.98 kB / 0.7125 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8483, allocations: 23.92 kB / 0.7126 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.8483, allocations: 4 kB / 0.7126 GB, free: 156 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.554e-05/0.8484, allocations: 99.2 kB / 0.7127 GB, free: 56 kB / 0.5886 GB Notification: Performance of sort global known variables: time 4.5e-07/0.8484, allocations: 0 / 0.7127 GB, free: 56 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003091/0.8487, allocations: 16.12 kB / 0.7127 GB, free: 40 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * 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.0006901/0.8494, allocations: 0.7433 MB / 0.7134 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.8497, allocations: 55.98 kB / 0.7134 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8497, allocations: 0 / 0.7134 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.8498, allocations: 43.92 kB / 0.7135 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.8501, allocations: 11.95 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.8507, allocations: 147.1 kB / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.851, allocations: 0.6965 MB / 0.7143 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.8512, allocations: 8.188 kB / 0.7143 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.8513, allocations: 27.42 kB / 0.7144 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.8513, allocations: 0 / 0.7144 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.8711, allocations: 2.246 MB / 0.7165 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/0.8715, allocations: 158.4 kB / 0.7167 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.112, allocations: 0 / 0.7167 GB, free: 11.81 MB / 0.6042 GB