Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.16/4.16, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.255e-05/4.272e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6406, allocations: 92.68 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.88, allocations: 120.4 MB / 0.7072 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/0.8805, allocations: 87.94 kB / 0.7073 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002261/0.8828, allocations: 0.6283 MB / 0.7079 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8828, allocations: 0 / 0.7079 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8828, allocations: 0 / 0.7079 GB, free: 5.152 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004814/0.8833, allocations: 343.2 kB / 0.7083 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.8834, allocations: 12.03 kB / 0.7083 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.8835, allocations: 30.56 kB / 0.7083 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.8835, allocations: 7.891 kB / 0.7083 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.8837, allocations: 163.1 kB / 0.7085 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.8837, allocations: 3.938 kB / 0.7085 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8837, allocations: 4 kB / 0.7085 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.8839, allocations: 37.69 kB / 0.7085 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8839, allocations: 0 / 0.7085 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8839, allocations: 0 / 0.7085 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.8839, allocations: 4 kB / 0.7085 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.884, allocations: 15.95 kB / 0.7085 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.8846, allocations: 268.9 kB / 0.7088 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.8846, allocations: 30.34 kB / 0.7088 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.8847, allocations: 12.92 kB / 0.7088 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8847, allocations: 0 / 0.7088 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.8848, allocations: 38.56 kB / 0.7089 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.8848, allocations: 0 / 0.7089 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.8849, allocations: 41.66 kB / 0.7089 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.885, allocations: 51.41 kB / 0.709 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.8851, allocations: 101 kB / 0.7091 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.8851, allocations: 29.64 kB / 0.7091 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.8852, allocations: 92.11 kB / 0.7092 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.8852, allocations: 3.906 kB / 0.7092 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.8853, allocations: 0 / 0.7092 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8854, allocations: 314.8 kB / 0.7095 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.8854, allocations: 4 kB / 0.7095 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.8855, allocations: 4 kB / 0.7095 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.8855, allocations: 8 kB / 0.7095 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8855, allocations: 0 / 0.7095 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.8857, allocations: 49.75 kB / 0.7095 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8857, allocations: 4 kB / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-06/0.8857, allocations: 0 / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8857, allocations: 0 / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.8859, allocations: 11.98 kB / 0.7096 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.8859, allocations: 3.953 kB / 0.7096 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.886, allocations: 8 kB / 0.7096 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.886, allocations: 4.031 kB / 0.7096 GB, free: 3.27 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: 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 7.753e-05/0.8861, allocations: 108.9 kB / 0.7097 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.8862, allocations: 7.906 kB / 0.7097 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.8862, allocations: 7.125 kB / 0.7097 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8862, allocations: 0 / 0.7097 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8862, allocations: 0 / 0.7097 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8862, allocations: 3.953 kB / 0.7097 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.8865, allocations: 157.7 kB / 0.7098 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8865, allocations: 7.922 kB / 0.7098 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8866, allocations: 12 kB / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8866, allocations: 3.938 kB / 0.7099 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.8866, allocations: 3.984 kB / 0.7099 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8866, allocations: 0 / 0.7099 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8867, allocations: 0 / 0.7099 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.8868, allocations: 139.5 kB / 0.71 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.8869, allocations: 77.11 kB / 0.7101 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.8869, allocations: 8.031 kB / 0.7101 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.8871, allocations: 11.98 kB / 0.7101 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.8871, allocations: 3.938 kB / 0.7101 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.8871, allocations: 4 kB / 0.7101 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.8872, allocations: 83.53 kB / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8872, allocations: 0 / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002626/0.8875, allocations: 4 kB / 0.7102 GB, free: 2.547 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: 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.0005159/0.888, allocations: 0.6848 MB / 0.7108 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.8881, allocations: 15.94 kB / 0.7109 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8881, allocations: 0 / 0.7109 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.8882, allocations: 11.98 kB / 0.7109 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.8885, allocations: 10.39 kB / 0.7109 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.8889, allocations: 86.64 kB / 0.711 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.8892, allocations: 0.677 MB / 0.7116 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.8892, allocations: 0 / 0.7116 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.8893, allocations: 11.44 kB / 0.7116 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/0.8893, allocations: 0 / 0.7116 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.9115, allocations: 1.029 MB / 0.7126 GB, free: 4 kB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.9119, allocations: 165.7 kB / 0.7128 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/3.183, allocations: 0 / 0.7128 GB, free: 15.77 MB / 0.6042 GB