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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.452/4.452, allocations: 404.1 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.001e-05, allocations: 8 kB / 0.4946 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6722, allocations: 92.69 MB / 0.5851 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.9194, allocations: 120.7 MB / 0.7029 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003853/0.9199, allocations: 83.94 kB / 0.703 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.007956/0.9279, allocations: 1.464 MB / 0.7044 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9279, allocations: 0 / 0.7044 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.9279, allocations: 0 / 0.7044 GB, free: 7.934 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.0008114/0.9288, allocations: 398.3 kB / 0.7048 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9288, allocations: 11.97 kB / 0.7048 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.9289, allocations: 11.86 kB / 0.7048 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.9291, allocations: 171 kB / 0.705 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.9291, allocations: 8 kB / 0.705 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9291, allocations: 4 kB / 0.705 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002059/0.9294, allocations: 43.98 kB / 0.705 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.9296, allocations: 77.66 kB / 0.7051 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9296, allocations: 3.984 kB / 0.7051 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.9297, allocations: 0 / 0.7051 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9297, allocations: 7.891 kB / 0.7051 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.9305, allocations: 309.2 kB / 0.7054 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.9313, allocations: 90.66 kB / 0.7055 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.9314, allocations: 28.8 kB / 0.7055 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.9315, allocations: 4 kB / 0.7055 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.9315, allocations: 38.52 kB / 0.7056 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.9315, allocations: 0 / 0.7056 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.9319, allocations: 85.72 kB / 0.7056 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.932, allocations: 59.41 kB / 0.7057 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.9321, allocations: 108.9 kB / 0.7058 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9322, allocations: 29.64 kB / 0.7058 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.9322, allocations: 100 kB / 0.7059 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.9323, allocations: 15.75 kB / 0.7059 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.9323, allocations: 0 / 0.7059 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9325, allocations: 318.8 kB / 0.7062 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.9326, allocations: 20 kB / 0.7063 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.9327, allocations: 20 kB / 0.7063 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.9328, allocations: 27.92 kB / 0.7063 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.9328, allocations: 0 / 0.7063 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002664/0.9331, allocations: 85.53 kB / 0.7064 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.9331, allocations: 4 kB / 0.7064 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.9331, allocations: 7.984 kB / 0.7064 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9331, allocations: 3.953 kB / 0.7064 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.9335, allocations: 27.97 kB / 0.7064 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9335, allocations: 320 / 0.7064 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.9338, allocations: 19.98 kB / 0.7065 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.9338, allocations: 4 kB / 0.7065 GB, free: 5.633 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.608e-05/0.9339, allocations: 101 kB / 0.7066 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002832/0.9342, allocations: 97.48 kB / 0.7067 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.9343, allocations: 11.86 kB / 0.7067 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.9346, allocations: 98.27 kB / 0.7068 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9347, allocations: 4 kB / 0.7068 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9347, allocations: 0 / 0.7068 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9347, allocations: 0 / 0.7068 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.935, allocations: 170.2 kB / 0.7069 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.935, allocations: 0 / 0.7069 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.9354, allocations: 31.91 kB / 0.707 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.9354, allocations: 0 / 0.707 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.9354, allocations: 7.984 kB / 0.707 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.9354, allocations: 7.953 kB / 0.707 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9354, allocations: 0 / 0.707 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.9358, allocations: 179.4 kB / 0.7071 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.9358, allocations: 81.02 kB / 0.7072 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.9359, allocations: 4 kB / 0.7072 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.9362, allocations: 23.98 kB / 0.7072 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.9364, allocations: 23.92 kB / 0.7073 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9364, allocations: 11.92 kB / 0.7073 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.9365, allocations: 87.28 kB / 0.7074 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9365, allocations: 0 / 0.7074 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004033/0.9369, allocations: 12 kB / 0.7074 GB, free: 4.609 MB / 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.0006818/0.9376, allocations: 0.7395 MB / 0.7081 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.9379, allocations: 51.98 kB / 0.7081 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9379, allocations: 3.938 kB / 0.7081 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.938, allocations: 39.92 kB / 0.7082 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.9384, allocations: 12.45 kB / 0.7082 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.9391, allocations: 142.1 kB / 0.7083 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.9394, allocations: 0.6929 MB / 0.709 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.9396, allocations: 16.17 kB / 0.709 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.9398, allocations: 27.42 kB / 0.7091 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/0.9398, allocations: 0 / 0.7091 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.9807, allocations: 1.891 MB / 0.7109 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003563/0.9812, allocations: 152.2 kB / 0.711 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.593/3.575, allocations: 0 / 0.711 GB, free: 0.7227 MB / 0.5886 GB