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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.604/4.604, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.181e-05, allocations: 8 kB / 0.4946 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7088, allocations: 92.69 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.9628, allocations: 119.8 MB / 0.702 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.9632, allocations: 87.94 kB / 0.7021 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.002487/0.9658, allocations: 0.6282 MB / 0.7027 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9658, allocations: 0 / 0.7027 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.9658, allocations: 0 / 0.7027 GB, free: 9.691 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.0004882/0.9663, allocations: 338.5 kB / 0.703 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9664, allocations: 12.03 kB / 0.7031 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.9664, allocations: 11.94 kB / 0.7031 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.9666, allocations: 167 kB / 0.7032 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.9666, allocations: 0 / 0.7032 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.9666, allocations: 4 kB / 0.7032 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.433e-05/0.9667, allocations: 4 kB / 0.7032 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.9668, allocations: 37.69 kB / 0.7033 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9669, allocations: 0 / 0.7033 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.9669, allocations: 0 / 0.7033 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9669, allocations: 7.891 kB / 0.7033 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.9675, allocations: 245.4 kB / 0.7035 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.9676, allocations: 30.52 kB / 0.7035 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.9676, allocations: 8.922 kB / 0.7035 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.9676, allocations: 4.031 kB / 0.7036 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.9677, allocations: 38.56 kB / 0.7036 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.9677, allocations: 0 / 0.7036 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.9679, allocations: 33.7 kB / 0.7036 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.9679, allocations: 59.36 kB / 0.7037 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.968, allocations: 97 kB / 0.7038 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.9681, allocations: 25.7 kB / 0.7038 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.9681, allocations: 92.06 kB / 0.7039 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.9682, allocations: 7.938 kB / 0.7039 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.9682, allocations: 0 / 0.7039 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9684, allocations: 314.8 kB / 0.7042 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.9684, allocations: 7.938 kB / 0.7042 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.9684, allocations: 4 kB / 0.7042 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.9685, allocations: 8 kB / 0.7042 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9685, allocations: 0 / 0.7042 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.9686, allocations: 37.69 kB / 0.7042 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9686, allocations: 8.094 kB / 0.7043 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9686, allocations: 7.938 kB / 0.7043 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9687, allocations: 0 / 0.7043 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.9688, allocations: 8 kB / 0.7043 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9689, allocations: 0 / 0.7043 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.969, allocations: 19.94 kB / 0.7043 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.969, allocations: 0 / 0.7043 GB, free: 7.887 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 8.601e-05/0.9691, allocations: 105 kB / 0.7044 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001152/0.9692, allocations: 45.53 kB / 0.7044 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.9693, allocations: 8 kB / 0.7044 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.9693, allocations: 3.75 kB / 0.7044 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.9693, allocations: 0 / 0.7044 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9693, allocations: 3.953 kB / 0.7044 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.9693, allocations: 0 / 0.7044 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.9695, allocations: 134.2 kB / 0.7046 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9696, allocations: 4 kB / 0.7046 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.9697, allocations: 16.02 kB / 0.7046 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9697, allocations: 0 / 0.7046 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.9697, allocations: 0 / 0.7046 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9697, allocations: 0 / 0.7046 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.9698, allocations: 0 / 0.7046 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.9699, allocations: 139.5 kB / 0.7047 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.97, allocations: 88.89 kB / 0.7048 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.97, allocations: 0 / 0.7048 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.9702, allocations: 16.02 kB / 0.7048 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.9702, allocations: 0 / 0.7048 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.9703, allocations: 0 / 0.7048 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.9703, allocations: 83.53 kB / 0.7049 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9703, allocations: 0 / 0.7049 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003576/0.9707, allocations: 4 kB / 0.7049 GB, free: 7.164 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.0005554/0.9713, allocations: 0.6815 MB / 0.7056 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.9714, allocations: 12 kB / 0.7056 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9714, allocations: 0 / 0.7056 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.9715, allocations: 7.938 kB / 0.7056 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9717, allocations: 8.172 kB / 0.7056 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.9722, allocations: 94.27 kB / 0.7057 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.9726, allocations: 0.6768 MB / 0.7064 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.9726, allocations: 0 / 0.7064 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.9727, allocations: 7.438 kB / 0.7064 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/0.9727, allocations: 4 kB / 0.7064 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/1.01, allocations: 0.7182 MB / 0.7071 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003959/1.011, allocations: 157 kB / 0.7072 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.585/3.596, allocations: 0 / 0.7072 GB, free: 4.676 MB / 0.5886 GB