Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.404/4.404, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.888e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8995/1.152, allocations: 131.5 MB / 0.8063 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.152, allocations: 74.78 kB / 0.8064 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002167/1.154, allocations: 0.6714 MB / 0.807 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.154, allocations: 0 / 0.807 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.154, allocations: 4 kB / 0.807 GB, free: 12.24 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.0004199/1.155, allocations: 335.3 kB / 0.8074 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.155, allocations: 7.719 kB / 0.8074 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/1.155, allocations: 36.31 kB / 0.8074 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/1.155, allocations: 0 / 0.8074 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/1.155, allocations: 163 kB / 0.8076 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.155, allocations: 5.406 kB / 0.8076 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/1.155, allocations: 4 kB / 0.8076 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/1.155, allocations: 38.08 kB / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.155, allocations: 0 / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.155, allocations: 3.375 kB / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.155, allocations: 5.453 kB / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/1.155, allocations: 11.53 kB / 0.8076 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/1.156, allocations: 271.5 kB / 0.8079 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/1.156, allocations: 25.48 kB / 0.8079 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/1.156, allocations: 12.33 kB / 0.8079 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/1.156, allocations: 3.75 kB / 0.8079 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/1.156, allocations: 31.69 kB / 0.8079 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/1.156, allocations: 0 / 0.8079 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002013/1.156, allocations: 54.42 kB / 0.808 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.156, allocations: 52.81 kB / 0.808 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/1.156, allocations: 92.03 kB / 0.8081 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.156, allocations: 27.3 kB / 0.8082 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/1.156, allocations: 80.14 kB / 0.8082 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/1.156, allocations: 7.188 kB / 0.8082 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/1.157, allocations: 0 / 0.8082 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/1.157, allocations: 319.9 kB / 0.8085 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/1.157, allocations: 7.938 kB / 0.8086 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/1.157, allocations: 7.625 kB / 0.8086 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/1.157, allocations: 6 kB / 0.8086 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.157, allocations: 0 / 0.8086 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/1.157, allocations: 40.08 kB / 0.8086 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.157, allocations: 9.547 kB / 0.8086 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.157, allocations: 3.938 kB / 0.8086 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.157, allocations: 0.6562 kB / 0.8086 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/1.157, allocations: 14.25 kB / 0.8086 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.157, allocations: 0 / 0.8086 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.157, allocations: 9.484 kB / 0.8086 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.157, allocations: 8.594 kB / 0.8087 GB, free: 10.59 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 6.255e-05/1.157, allocations: 104.9 kB / 0.8088 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/1.157, allocations: 7.781 kB / 0.8088 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/1.158, allocations: 46.06 kB / 0.8088 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.158, allocations: 4.031 kB / 0.8088 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.158, allocations: 1.938 kB / 0.8088 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.158, allocations: 1.594 kB / 0.8088 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/1.158, allocations: 157.6 kB / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.158, allocations: 3.938 kB / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/1.158, allocations: 14.84 kB / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.158, allocations: 0 / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/1.158, allocations: 0 / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.158, allocations: 1.734 kB / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.158, allocations: 0 / 0.809 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/1.158, allocations: 147.1 kB / 0.8091 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/1.158, allocations: 77.11 kB / 0.8092 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/1.158, allocations: 5.266 kB / 0.8092 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/1.159, allocations: 5.328 kB / 0.8092 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/1.159, allocations: 5.422 kB / 0.8092 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.159, allocations: 0.9062 kB / 0.8092 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.902e-05/1.159, allocations: 92.28 kB / 0.8093 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.159, allocations: 0 / 0.8093 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005079/1.159, allocations: 3.75 kB / 0.8093 GB, free: 9.93 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.0004005/1.16, allocations: 0.6738 MB / 0.81 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001152/1.16, allocations: 16.52 kB / 0.81 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.16, allocations: 0 / 0.81 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/1.16, allocations: 11.41 kB / 0.81 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/1.16, allocations: 2.234 kB / 0.81 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/1.161, allocations: 94.38 kB / 0.8101 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/1.161, allocations: 0.6763 MB / 0.8107 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.676e-05/1.161, allocations: 9.203 kB / 0.8107 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/1.161, allocations: 14.56 kB / 0.8108 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.162, allocations: 0 / 0.8108 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/1.216, allocations: 0.9991 MB / 0.8117 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.217, allocations: 156.4 kB / 0.8119 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.558, allocations: 3.938 kB / 0.8119 GB, free: 24.01 MB / 0.6511 GB