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 3.86/3.86, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.004e-05, allocations: 4 kB / 0.4992 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5773, allocations: 92.68 MB / 0.5897 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.8084, allocations: 120.4 MB / 0.7073 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004107/0.8088, allocations: 91.92 kB / 0.7074 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002801/0.8117, allocations: 0.6283 MB / 0.708 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.469e-06/0.8117, allocations: 0 / 0.708 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8117, allocations: 3.938 kB / 0.708 GB, free: 5.082 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.0005333/0.8123, allocations: 338.5 kB / 0.7083 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.8123, allocations: 12.03 kB / 0.7083 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.8124, allocations: 34.56 kB / 0.7083 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.8125, allocations: 7.953 kB / 0.7084 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.8126, allocations: 167 kB / 0.7085 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8127, allocations: 0 / 0.7085 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.8127, allocations: 0 / 0.7085 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.8128, allocations: 41.69 kB / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8129, allocations: 0 / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8129, allocations: 0 / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8129, allocations: 0 / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.813, allocations: 11.95 kB / 0.7086 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.8137, allocations: 272.8 kB / 0.7088 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.8138, allocations: 26.61 kB / 0.7088 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.8139, allocations: 16.86 kB / 0.7089 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.8139, allocations: 0 / 0.7089 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.814, allocations: 34.56 kB / 0.7089 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 4.83e-06/0.814, allocations: 7.984 kB / 0.7089 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.8142, allocations: 45.59 kB / 0.7089 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8143, allocations: 51.41 kB / 0.709 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8144, allocations: 93 kB / 0.7091 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.8144, allocations: 33.69 kB / 0.7091 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.8145, allocations: 84.08 kB / 0.7092 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.8145, allocations: 11.94 kB / 0.7092 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.8146, allocations: 0 / 0.7092 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8147, allocations: 310.8 kB / 0.7095 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.8148, allocations: 4 kB / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.8148, allocations: 8 kB / 0.7095 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.8149, allocations: 4 kB / 0.7095 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8149, allocations: 0 / 0.7095 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001456/0.8151, allocations: 41.69 kB / 0.7096 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.8151, allocations: 8.094 kB / 0.7096 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8151, allocations: 4 kB / 0.7096 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8151, allocations: 0 / 0.7096 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.8153, allocations: 11.98 kB / 0.7096 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8154, allocations: 7.891 kB / 0.7096 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.8155, allocations: 8 kB / 0.7096 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.8155, allocations: 0 / 0.7096 GB, free: 3.199 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 9.538e-05/0.8156, allocations: 109 kB / 0.7097 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.8157, allocations: 7.906 kB / 0.7097 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.8157, allocations: 7.109 kB / 0.7097 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.8157, allocations: 0 / 0.7097 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8158, allocations: 0 / 0.7097 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8158, allocations: 3.953 kB / 0.7097 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.8161, allocations: 153.7 kB / 0.7099 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.8161, allocations: 0 / 0.7099 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.8163, allocations: 19.92 kB / 0.7099 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.8163, allocations: 256 / 0.7099 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8163, allocations: 4 kB / 0.7099 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.8163, allocations: 11.92 kB / 0.7099 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8163, allocations: 0 / 0.7099 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.8165, allocations: 143.5 kB / 0.71 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.8166, allocations: 77.11 kB / 0.7101 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.8166, allocations: 0 / 0.7101 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.8169, allocations: 16.02 kB / 0.7101 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.8169, allocations: 3.938 kB / 0.7101 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.817, allocations: 0 / 0.7101 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.365e-05/0.817, allocations: 83.28 kB / 0.7102 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8171, allocations: 0 / 0.7102 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005038/0.8176, allocations: 4 kB / 0.7102 GB, free: 2.477 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.0006181/0.8182, allocations: 0.6848 MB / 0.7109 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.8183, allocations: 16 kB / 0.7109 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8184, allocations: 0 / 0.7109 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.8184, allocations: 7.938 kB / 0.7109 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.8188, allocations: 9.359 kB / 0.7109 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.8193, allocations: 82.8 kB / 0.711 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.8197, allocations: 0.6848 MB / 0.7117 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.8197, allocations: 0 / 0.7117 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.8198, allocations: 11.44 kB / 0.7117 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.8198, allocations: 0 / 0.7117 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.8481, allocations: 1.013 MB / 0.7127 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.8484, allocations: 160.3 kB / 0.7128 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/3.006, allocations: 0 / 0.7128 GB, free: 15.72 MB / 0.6042 GB