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.933/3.933, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.859e-05, allocations: 4 kB / 0.4992 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6597, allocations: 92.68 MB / 0.5897 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/0.9342, allocations: 121.3 MB / 0.7081 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004943/0.9348, allocations: 91.94 kB / 0.7082 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.9457, allocations: 1.483 MB / 0.7097 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9458, allocations: 0 / 0.7097 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.9458, allocations: 0 / 0.7097 GB, free: 3.383 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.001082/0.9469, allocations: 390.3 kB / 0.7101 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.947, allocations: 12.03 kB / 0.7101 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.9471, allocations: 38.5 kB / 0.7101 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.9472, allocations: 11.86 kB / 0.7101 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.9475, allocations: 179 kB / 0.7103 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.9475, allocations: 0 / 0.7103 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.9476, allocations: 8 kB / 0.7103 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.9479, allocations: 77.66 kB / 0.7104 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9479, allocations: 0 / 0.7104 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.948, allocations: 0 / 0.7104 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.948, allocations: 8 kB / 0.7104 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.9483, allocations: 51.88 kB / 0.7104 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.9494, allocations: 332.7 kB / 0.7107 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.9505, allocations: 98.59 kB / 0.7108 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.9507, allocations: 28.86 kB / 0.7109 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.9508, allocations: 8.109 kB / 0.7109 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.9508, allocations: 34.55 kB / 0.7109 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 4.328e-06/0.9509, allocations: 0 / 0.7109 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005013/0.9514, allocations: 85.58 kB / 0.711 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.9514, allocations: 59.34 kB / 0.711 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.9516, allocations: 113 kB / 0.7111 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.9517, allocations: 25.7 kB / 0.7112 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.9518, allocations: 92.05 kB / 0.7113 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.9519, allocations: 23.73 kB / 0.7113 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.9519, allocations: 0 / 0.7113 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.9521, allocations: 318.8 kB / 0.7116 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.9523, allocations: 23.98 kB / 0.7116 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.9524, allocations: 23.94 kB / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.9526, allocations: 24.22 kB / 0.7117 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9526, allocations: 4 kB / 0.7117 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004423/0.9531, allocations: 93.56 kB / 0.7118 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.9531, allocations: 7.953 kB / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9531, allocations: 0 / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.9532, allocations: 0 / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.9537, allocations: 31.97 kB / 0.7118 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.9538, allocations: 0 / 0.7118 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.9541, allocations: 23.97 kB / 0.7118 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.9542, allocations: 4 kB / 0.7118 GB, free: 0.9766 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 0.0001632/0.9543, allocations: 112.5 kB / 0.7119 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.9544, allocations: 15.78 kB / 0.7119 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.955, allocations: 106.2 kB / 0.712 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.955, allocations: 3.984 kB / 0.712 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.955, allocations: 4 kB / 0.712 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9551, allocations: 0 / 0.712 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.9555, allocations: 205.5 kB / 0.7122 GB, free: 492 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9556, allocations: 0 / 0.7122 GB, free: 492 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.9562, allocations: 27.97 kB / 0.7123 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.9562, allocations: 0 / 0.7123 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.9563, allocations: 4 kB / 0.7123 GB, free: 460 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.9563, allocations: 3.953 kB / 0.7123 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9563, allocations: 4 kB / 0.7123 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.9569, allocations: 183.5 kB / 0.7125 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.957, allocations: 81.02 kB / 0.7125 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.9571, allocations: 7.984 kB / 0.7125 GB, free: 144 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.9575, allocations: 11.98 kB / 0.7126 GB, free: 132 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.9577, allocations: 27.92 kB / 0.7126 GB, free: 104 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.9577, allocations: 8 kB / 0.7126 GB, free: 96 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001339/0.9579, allocations: 91.27 kB / 0.7127 GB, free: 4 kB / 0.5886 GB Notification: Performance of sort global known variables: time 8.41e-07/0.9579, allocations: 4 kB / 0.7127 GB, free: 0 / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005836/0.9585, allocations: 16.05 kB / 0.7127 GB, free: 15.98 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: 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.001117/0.9597, allocations: 0.7356 MB / 0.7134 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.9601, allocations: 59.97 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9601, allocations: 3.938 kB / 0.7135 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.9604, allocations: 39.92 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.9609, allocations: 17.81 kB / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.9619, allocations: 143.1 kB / 0.7137 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.9624, allocations: 0.7011 MB / 0.7143 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.9627, allocations: 8.188 kB / 0.7144 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.9629, allocations: 27.42 kB / 0.7144 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/0.9629, allocations: 0 / 0.7144 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.9906, allocations: 2.233 MB / 0.7166 GB, free: 12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.991, allocations: 157.1 kB / 0.7167 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.392, allocations: 0 / 0.7167 GB, free: 11.77 MB / 0.6042 GB