Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.353/4.353, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.4e-05, allocations: 17.34 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 107.2 MB / 0.6779 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8995/1.126, allocations: 131.4 MB / 0.8062 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.126, allocations: 72.16 kB / 0.8063 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001913/1.128, allocations: 0.6071 MB / 0.8069 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/1.128, allocations: 0 / 0.8069 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.128, allocations: 3.938 kB / 0.8069 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003948/1.129, allocations: 346.5 kB / 0.8072 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.129, allocations: 7.688 kB / 0.8072 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/1.129, allocations: 35.97 kB / 0.8072 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/1.129, allocations: 3.906 kB / 0.8072 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/1.129, allocations: 169.3 kB / 0.8074 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.129, allocations: 0 / 0.8074 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.129, allocations: 6.938 kB / 0.8074 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/1.129, allocations: 33.95 kB / 0.8074 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.129, allocations: 0 / 0.8074 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.129, allocations: 0 / 0.8074 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.129, allocations: 4.188 kB / 0.8074 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/1.129, allocations: 11.12 kB / 0.8075 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/1.13, allocations: 271.6 kB / 0.8077 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/1.13, allocations: 30.98 kB / 0.8077 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/1.13, allocations: 15.94 kB / 0.8078 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/1.13, allocations: 0 / 0.8078 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/1.13, allocations: 34.56 kB / 0.8078 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/1.13, allocations: 0 / 0.8078 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/1.13, allocations: 41.97 kB / 0.8078 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/1.13, allocations: 54.22 kB / 0.8079 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/1.13, allocations: 93.8 kB / 0.808 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.13, allocations: 29.45 kB / 0.808 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/1.13, allocations: 85.67 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/1.13, allocations: 3.906 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.13, allocations: 7.969 kB / 0.8081 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/1.13, allocations: 319.5 kB / 0.8084 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/1.13, allocations: 6.781 kB / 0.8084 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/1.13, allocations: 3.281 kB / 0.8084 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/1.13, allocations: 7.969 kB / 0.8084 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.13, allocations: 0 / 0.8084 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.273e-05/1.131, allocations: 41.48 kB / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.131, allocations: 6.344 kB / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.131, allocations: 4.094 kB / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.131, allocations: 0 / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/1.131, allocations: 14.91 kB / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.131, allocations: 0 / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/1.131, allocations: 10.81 kB / 0.8085 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/1.131, allocations: 3.969 kB / 0.8085 GB, free: 10.49 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 (2): * Single equations (assignments): 2 * 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 4.912e-05/1.131, allocations: 107.8 kB / 0.8086 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/1.131, allocations: 4 kB / 0.8086 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/1.131, allocations: 4.484 kB / 0.8086 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.131, allocations: 7.844 kB / 0.8086 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.131, allocations: 3.938 kB / 0.8086 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.131, allocations: 0.875 kB / 0.8086 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/1.131, allocations: 170.5 kB / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.131, allocations: 0 / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/1.131, allocations: 11.08 kB / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.131, allocations: 0 / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.131, allocations: 7.844 kB / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.131, allocations: 4.234 kB / 0.8088 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.131, allocations: 4 kB / 0.8088 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/1.132, allocations: 137.7 kB / 0.8089 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/1.132, allocations: 80.48 kB / 0.809 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.132, allocations: 0 / 0.809 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.132, allocations: 14.7 kB / 0.809 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.132, allocations: 1.5 kB / 0.809 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/1.132, allocations: 0 / 0.809 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.961e-05/1.132, allocations: 86 kB / 0.8091 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.132, allocations: 0 / 0.8091 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002801/1.132, allocations: 3.875 kB / 0.8091 GB, free: 9.855 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 (2): * Single equations (assignments): 2 * 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.0003132/1.132, allocations: 0.6807 MB / 0.8098 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.133, allocations: 11.09 kB / 0.8098 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.133, allocations: 0 / 0.8098 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/1.133, allocations: 10.97 kB / 0.8098 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1.133, allocations: 0 / 0.8098 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/1.133, allocations: 102.4 kB / 0.8099 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/1.134, allocations: 0.6838 MB / 0.8106 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.435e-05/1.134, allocations: 1.688 kB / 0.8106 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/1.134, allocations: 10.12 kB / 0.8106 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.134, allocations: 0 / 0.8106 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/1.155, allocations: 1.016 MB / 0.8116 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.155, allocations: 162.7 kB / 0.8117 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.376, allocations: 0 / 0.8117 GB, free: 23.93 MB / 0.6511 GB