Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.086/4.086, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.389e-05, allocations: 7.094 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 98.72 MB / 0.6302 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.4528, allocations: 124.1 MB / 0.7515 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.4532, allocations: 71.95 kB / 0.7515 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002661/0.4559, allocations: 0.6103 MB / 0.7521 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4559, allocations: 0 / 0.7521 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.4559, allocations: 4 kB / 0.7521 GB, free: 9.09 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.000531/0.4565, allocations: 342.4 kB / 0.7525 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4565, allocations: 8.031 kB / 0.7525 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.4566, allocations: 42.5 kB / 0.7525 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4567, allocations: 3.984 kB / 0.7525 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.4568, allocations: 163 kB / 0.7527 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4569, allocations: 4 kB / 0.7527 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4569, allocations: 0 / 0.7527 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.457, allocations: 41.62 kB / 0.7527 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4571, allocations: 0 / 0.7527 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4571, allocations: 0 / 0.7527 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4571, allocations: 3.984 kB / 0.7527 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.4572, allocations: 12 kB / 0.7527 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.4578, allocations: 264.9 kB / 0.753 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.458, allocations: 26.58 kB / 0.753 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.458, allocations: 12.92 kB / 0.753 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4581, allocations: 4 kB / 0.753 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4581, allocations: 34.5 kB / 0.753 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/0.4581, allocations: 0 / 0.753 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/0.4583, allocations: 45.59 kB / 0.7531 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4584, allocations: 59.36 kB / 0.7531 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4585, allocations: 93 kB / 0.7532 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4586, allocations: 25.7 kB / 0.7533 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.4587, allocations: 80.14 kB / 0.7533 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.4587, allocations: 19.86 kB / 0.7534 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4587, allocations: 0 / 0.7534 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4589, allocations: 314.8 kB / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.4589, allocations: 4 kB / 0.7537 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.459, allocations: 8 kB / 0.7537 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.459, allocations: 0 / 0.7537 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.459, allocations: 0 / 0.7537 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.4592, allocations: 45.64 kB / 0.7537 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4592, allocations: 12.08 kB / 0.7537 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4593, allocations: 256 / 0.7537 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4593, allocations: 4 kB / 0.7537 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4595, allocations: 12 kB / 0.7537 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4595, allocations: 0 / 0.7537 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4596, allocations: 11.94 kB / 0.7537 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4596, allocations: 0 / 0.7537 GB, free: 7.207 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 9.881e-05/0.4598, allocations: 113 kB / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.4598, allocations: 0 / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.4599, allocations: 3.125 kB / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4599, allocations: 0 / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4599, allocations: 4 kB / 0.7539 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4599, allocations: 3.984 kB / 0.7539 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.4602, allocations: 165.5 kB / 0.754 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4602, allocations: 0 / 0.754 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4604, allocations: 11.98 kB / 0.754 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4604, allocations: 4 kB / 0.754 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.4604, allocations: 0 / 0.754 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4604, allocations: 0 / 0.754 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4604, allocations: 4 kB / 0.754 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4606, allocations: 147.3 kB / 0.7542 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4607, allocations: 81.11 kB / 0.7543 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.4608, allocations: 0 / 0.7543 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.461, allocations: 8.031 kB / 0.7543 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.461, allocations: 7.984 kB / 0.7543 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.461, allocations: 0 / 0.7543 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.4611, allocations: 83.28 kB / 0.7544 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.805e-06/0.4611, allocations: 0 / 0.7544 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004894/0.4616, allocations: 7.938 kB / 0.7544 GB, free: 6.488 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.000617/0.4623, allocations: 0.6812 MB / 0.755 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4624, allocations: 12 kB / 0.755 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4624, allocations: 0 / 0.755 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.4625, allocations: 8 kB / 0.755 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4628, allocations: 8.531 kB / 0.7551 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.4635, allocations: 94.7 kB / 0.7551 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.4639, allocations: 0.6809 MB / 0.7558 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.4639, allocations: 4 kB / 0.7558 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.464, allocations: 11.44 kB / 0.7558 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/0.464, allocations: 0 / 0.7558 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08762/0.5516, allocations: 1.009 MB / 0.7568 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.552, allocations: 160.3 kB / 0.757 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.708, allocations: 0 / 0.757 GB, free: 3.734 MB / 0.6355 GB