Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.346/4.346, allocations: 460.5 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.247e-05, allocations: 11.98 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2525, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8678/1.12, allocations: 131 MB / 0.7999 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.121, allocations: 72.64 kB / 0.8 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001938/1.123, allocations: 0.6082 MB / 0.8006 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.123, allocations: 0 / 0.8006 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.096e-06/1.123, allocations: 4 kB / 0.8006 GB, free: 12.85 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.0003697/1.123, allocations: 337.7 kB / 0.8009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.123, allocations: 11.69 kB / 0.8009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/1.123, allocations: 31.5 kB / 0.8009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/1.123, allocations: 6.953 kB / 0.8009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/1.123, allocations: 163.7 kB / 0.8011 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/1.123, allocations: 4.078 kB / 0.8011 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/1.123, allocations: 4 kB / 0.8011 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/1.123, allocations: 42.7 kB / 0.8012 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.123, allocations: 0 / 0.8012 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.124, allocations: 0 / 0.8012 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.124, allocations: 3.938 kB / 0.8012 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/1.124, allocations: 12.98 kB / 0.8012 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/1.124, allocations: 267.6 kB / 0.8014 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.24e-05/1.124, allocations: 25.58 kB / 0.8014 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/1.124, allocations: 11.95 kB / 0.8015 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/1.124, allocations: 1.406 kB / 0.8015 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.124, allocations: 33.19 kB / 0.8015 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.124, allocations: 0 / 0.8015 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/1.124, allocations: 50.3 kB / 0.8015 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/1.124, allocations: 59.2 kB / 0.8016 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/1.125, allocations: 93.64 kB / 0.8017 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/1.125, allocations: 25.7 kB / 0.8017 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/1.125, allocations: 89.02 kB / 0.8018 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/1.125, allocations: 7.781 kB / 0.8018 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/1.125, allocations: 3.938 kB / 0.8018 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/1.125, allocations: 312.4 kB / 0.8021 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/1.125, allocations: 10.34 kB / 0.8021 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/1.125, allocations: 7.344 kB / 0.8021 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/1.125, allocations: 0 / 0.8021 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.125, allocations: 3.844 kB / 0.8021 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.655e-05/1.125, allocations: 42.84 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.125, allocations: 7.688 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.125, allocations: 1.641 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.125, allocations: 0 / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/1.125, allocations: 13.31 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.125, allocations: 1.453 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/1.125, allocations: 13.27 kB / 0.8022 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/1.125, allocations: 0 / 0.8022 GB, free: 11.2 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 5.589e-05/1.125, allocations: 106.1 kB / 0.8023 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.125, allocations: 7.781 kB / 0.8023 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/1.125, allocations: 7.078 kB / 0.8023 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.125, allocations: 0 / 0.8023 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.125, allocations: 4 kB / 0.8023 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.125, allocations: 1.078 kB / 0.8023 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/1.126, allocations: 159.6 kB / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.126, allocations: 0 / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/1.126, allocations: 16.64 kB / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.126, allocations: 0 / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.126, allocations: 256 / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.126, allocations: 0 / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.126, allocations: 4 kB / 0.8025 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/1.126, allocations: 152.1 kB / 0.8026 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/1.126, allocations: 78.98 kB / 0.8027 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/1.126, allocations: 3.969 kB / 0.8027 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.126, allocations: 6.703 kB / 0.8027 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/1.126, allocations: 1.734 kB / 0.8027 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/1.126, allocations: 3.844 kB / 0.8027 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.096e-05/1.126, allocations: 85.97 kB / 0.8028 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.126, allocations: 0 / 0.8028 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000288/1.127, allocations: 3.844 kB / 0.8028 GB, free: 10.56 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.0003174/1.127, allocations: 0.6705 MB / 0.8035 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.127, allocations: 23.97 kB / 0.8035 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.127, allocations: 0 / 0.8035 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/1.127, allocations: 7.312 kB / 0.8035 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/1.127, allocations: 14.23 kB / 0.8035 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/1.128, allocations: 89.16 kB / 0.8036 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.128, allocations: 0.6812 MB / 0.8043 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.717e-05/1.128, allocations: 1.672 kB / 0.8043 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.128, allocations: 14.12 kB / 0.8043 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of SimCode: time 6.92e-07/1.128, allocations: 0 / 0.8043 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/1.147, allocations: 1.016 MB / 0.8053 GB, free: 24.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.147, allocations: 162.3 kB / 0.8054 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.338, allocations: 0 / 0.8054 GB, free: 24.65 MB / 0.6511 GB