Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.219/4.219, allocations: 460.5 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.333e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9031/1.177, allocations: 131.1 MB / 0.8 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.177, allocations: 70.08 kB / 0.8 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003651/1.181, allocations: 1.155 MB / 0.8012 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/1.181, allocations: 0 / 0.8012 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.181, allocations: 0 / 0.8012 GB, free: 12.89 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003318/1.181, allocations: 373.2 kB / 0.8015 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.181, allocations: 11.38 kB / 0.8015 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/1.182, allocations: 46.86 kB / 0.8016 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/1.182, allocations: 15.58 kB / 0.8016 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.182, allocations: 176.7 kB / 0.8018 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/1.182, allocations: 3.875 kB / 0.8018 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/1.182, allocations: 11.12 kB / 0.8018 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/1.182, allocations: 93.89 kB / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.182, allocations: 0 / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.182, allocations: 0 / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.182, allocations: 0 / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/1.182, allocations: 45.8 kB / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/1.183, allocations: 460.1 kB / 0.8023 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/1.183, allocations: 36.31 kB / 0.8024 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/1.183, allocations: 17.55 kB / 0.8024 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/1.183, allocations: 2.734 kB / 0.8024 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/1.183, allocations: 30.56 kB / 0.8024 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.594e-06/1.183, allocations: 3.938 kB / 0.8024 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/1.183, allocations: 56.11 kB / 0.8025 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/1.183, allocations: 77.11 kB / 0.8026 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/1.183, allocations: 151.4 kB / 0.8027 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.183, allocations: 29.39 kB / 0.8027 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/1.183, allocations: 113.7 kB / 0.8028 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/1.184, allocations: 1.172 kB / 0.8028 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.184, allocations: 0 / 0.8028 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/1.184, allocations: 331.3 kB / 0.8032 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/1.184, allocations: 6.812 kB / 0.8032 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/1.184, allocations: 21 kB / 0.8032 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/1.184, allocations: 10.84 kB / 0.8032 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.184, allocations: 0 / 0.8032 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/1.184, allocations: 62.38 kB / 0.8032 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.184, allocations: 6.594 kB / 0.8033 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.184, allocations: 4 kB / 0.8033 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.184, allocations: 3.812 kB / 0.8033 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.184, allocations: 14.67 kB / 0.8033 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.184, allocations: 3.938 kB / 0.8033 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/1.184, allocations: 7.906 kB / 0.8033 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.184, allocations: 0 / 0.8033 GB, free: 10.97 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.476e-05/1.184, allocations: 108.6 kB / 0.8034 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/1.184, allocations: 8.844 kB / 0.8034 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/1.184, allocations: 18.58 kB / 0.8034 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.184, allocations: 7.938 kB / 0.8034 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.184, allocations: 0 / 0.8034 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.184, allocations: 0 / 0.8034 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/1.185, allocations: 484.5 kB / 0.8039 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.185, allocations: 0 / 0.8039 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/1.185, allocations: 7.844 kB / 0.8039 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.185, allocations: 3.875 kB / 0.8039 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/1.185, allocations: 4.062 kB / 0.8039 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.185, allocations: 0 / 0.8039 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.185, allocations: 0 / 0.8039 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/1.185, allocations: 92.61 kB / 0.804 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/1.185, allocations: 87.94 kB / 0.8041 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/1.185, allocations: 3.438 kB / 0.8041 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/1.185, allocations: 4.031 kB / 0.8041 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/1.185, allocations: 7.891 kB / 0.8041 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/1.185, allocations: 3.844 kB / 0.8041 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001089/1.185, allocations: 125.5 kB / 0.8042 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.185, allocations: 0 / 0.8042 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002627/1.186, allocations: 15.16 kB / 0.8042 GB, free: 10.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000732/1.186, allocations: 0.6919 MB / 0.8049 GB, free: 25.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.187, allocations: 19.09 kB / 0.8049 GB, free: 25.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.187, allocations: 0 / 0.8049 GB, free: 25.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/1.187, allocations: 7.188 kB / 0.8049 GB, free: 25.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/1.187, allocations: 15.7 kB / 0.8049 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/1.187, allocations: 145.7 kB / 0.8051 GB, free: 25.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.188, allocations: 0.6999 MB / 0.8058 GB, free: 24.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.344e-05/1.188, allocations: 14.97 kB / 0.8058 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/1.188, allocations: 23.67 kB / 0.8058 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/1.188, allocations: 4 kB / 0.8058 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/1.207, allocations: 1.532 MB / 0.8073 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.208, allocations: 170.1 kB / 0.8075 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.456, allocations: 4 kB / 0.8075 GB, free: 24.07 MB / 0.6511 GB