Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.352/4.352, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.511e-05/4.519e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 107.1 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8431/1.118, allocations: 131.9 MB / 0.8066 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.118, allocations: 71.22 kB / 0.8067 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006298/1.124, allocations: 1.466 MB / 0.8081 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.777e-06/1.124, allocations: 0 / 0.8081 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.275e-06/1.125, allocations: 3.938 kB / 0.8081 GB, free: 11.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006796/1.125, allocations: 386.1 kB / 0.8085 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.125, allocations: 7.719 kB / 0.8085 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/1.125, allocations: 44.53 kB / 0.8085 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/1.125, allocations: 7.75 kB / 0.8086 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.126, allocations: 184.7 kB / 0.8087 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.126, allocations: 3.875 kB / 0.8087 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/1.126, allocations: 6.812 kB / 0.8087 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/1.126, allocations: 77.06 kB / 0.8088 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.126, allocations: 3.938 kB / 0.8088 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/1.126, allocations: 0 / 0.8088 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.126, allocations: 0 / 0.8088 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/1.126, allocations: 50.14 kB / 0.8089 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/1.127, allocations: 353.9 kB / 0.8092 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/1.128, allocations: 88.06 kB / 0.8093 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/1.128, allocations: 32.59 kB / 0.8093 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/1.128, allocations: 0 / 0.8093 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.128, allocations: 38.12 kB / 0.8094 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.128, allocations: 0 / 0.8094 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003287/1.128, allocations: 88.2 kB / 0.8094 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/1.128, allocations: 59.11 kB / 0.8095 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.128, allocations: 110.1 kB / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/1.128, allocations: 25.7 kB / 0.8096 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/1.128, allocations: 102 kB / 0.8097 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/1.128, allocations: 19.41 kB / 0.8097 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.128, allocations: 4 kB / 0.8097 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/1.129, allocations: 317.3 kB / 0.81 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/1.129, allocations: 19.75 kB / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/1.129, allocations: 19.53 kB / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/1.129, allocations: 21.05 kB / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.129, allocations: 0 / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002291/1.129, allocations: 90.28 kB / 0.8102 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.129, allocations: 7.812 kB / 0.8102 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.129, allocations: 3.938 kB / 0.8102 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.129, allocations: 0 / 0.8102 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.129, allocations: 30.97 kB / 0.8102 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.129, allocations: 3.688 kB / 0.8102 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/1.13, allocations: 21.2 kB / 0.8103 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.13, allocations: 0 / 0.8103 GB, free: 9.969 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: 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 6.93e-05/1.13, allocations: 116.2 kB / 0.8104 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/1.13, allocations: 7.594 kB / 0.8104 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/1.13, allocations: 104.7 kB / 0.8105 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.13, allocations: 2.812 kB / 0.8105 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.13, allocations: 3.844 kB / 0.8105 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.13, allocations: 0 / 0.8105 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/1.13, allocations: 194.2 kB / 0.8107 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.13, allocations: 2.859 kB / 0.8107 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.131, allocations: 32.14 kB / 0.8107 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.131, allocations: 2.625 kB / 0.8107 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.131, allocations: 10.75 kB / 0.8107 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.131, allocations: 0 / 0.8107 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.131, allocations: 0 / 0.8107 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/1.131, allocations: 188 kB / 0.8109 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/1.131, allocations: 84.86 kB / 0.811 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/1.131, allocations: 11.38 kB / 0.811 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/1.131, allocations: 20.83 kB / 0.811 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.132, allocations: 22.75 kB / 0.811 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/1.132, allocations: 2.906 kB / 0.811 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.274e-05/1.132, allocations: 93.62 kB / 0.8111 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.132, allocations: 0 / 0.8111 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003349/1.132, allocations: 22.72 kB / 0.8111 GB, free: 9.277 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: 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.0008505/1.133, allocations: 0.7392 MB / 0.8119 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002232/1.133, allocations: 53.97 kB / 0.8119 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.133, allocations: 0 / 0.8119 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.133, allocations: 40.31 kB / 0.8119 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.134, allocations: 12.91 kB / 0.812 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/1.134, allocations: 153.4 kB / 0.8121 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.135, allocations: 0.6957 MB / 0.8128 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001235/1.135, allocations: 11.88 kB / 0.8128 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.135, allocations: 28.3 kB / 0.8128 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/1.135, allocations: 0 / 0.8128 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/1.159, allocations: 2.245 MB / 0.815 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.16, allocations: 158.1 kB / 0.8152 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.465, allocations: 0 / 0.8152 GB, free: 23.26 MB / 0.6511 GB