Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.135/4.135, allocations: 460.5 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.11e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2376, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8442/1.082, allocations: 131.1 MB / 0.8 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.082, allocations: 66.06 kB / 0.8 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003673/1.086, allocations: 1.158 MB / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.086, allocations: 0 / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.958e-06/1.086, allocations: 7.844 kB / 0.8012 GB, free: 12.44 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.0003484/1.086, allocations: 367.2 kB / 0.8015 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.086, allocations: 11.69 kB / 0.8015 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/1.086, allocations: 42.61 kB / 0.8016 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/1.086, allocations: 12.55 kB / 0.8016 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.087, allocations: 183.6 kB / 0.8018 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/1.087, allocations: 0 / 0.8018 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/1.087, allocations: 10.62 kB / 0.8018 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/1.087, allocations: 98.09 kB / 0.8019 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.087, allocations: 0 / 0.8019 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.087, allocations: 0 / 0.8019 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.087, allocations: 5.406 kB / 0.8019 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/1.087, allocations: 37.89 kB / 0.8019 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/1.088, allocations: 462 kB / 0.8023 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/1.088, allocations: 38.31 kB / 0.8024 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/1.088, allocations: 16.22 kB / 0.8024 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/1.088, allocations: 7.688 kB / 0.8024 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/1.088, allocations: 34.44 kB / 0.8024 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/1.088, allocations: 4.031 kB / 0.8024 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/1.088, allocations: 52.02 kB / 0.8025 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/1.088, allocations: 77.11 kB / 0.8026 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.088, allocations: 151.4 kB / 0.8027 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/1.088, allocations: 33.67 kB / 0.8027 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/1.088, allocations: 109.8 kB / 0.8028 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/1.088, allocations: 3.484 kB / 0.8028 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/1.088, allocations: 0 / 0.8028 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/1.089, allocations: 325.9 kB / 0.8032 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/1.089, allocations: 7.781 kB / 0.8032 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/1.089, allocations: 25.06 kB / 0.8032 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/1.089, allocations: 12.17 kB / 0.8032 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.089, allocations: 0 / 0.8032 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/1.089, allocations: 62.91 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.089, allocations: 7.75 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.089, allocations: 1.172 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.089, allocations: 0 / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.089, allocations: 3.875 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.089, allocations: 9.078 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/1.089, allocations: 3.938 kB / 0.8033 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.089, allocations: 8.062 kB / 0.8033 GB, free: 10.51 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 4.76e-05/1.089, allocations: 104.9 kB / 0.8034 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/1.089, allocations: 13.12 kB / 0.8034 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/1.089, allocations: 17.25 kB / 0.8034 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.089, allocations: 0 / 0.8034 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.089, allocations: 0 / 0.8034 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.089, allocations: 3.906 kB / 0.8034 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/1.09, allocations: 489.2 kB / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.09, allocations: 0 / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/1.09, allocations: 3.875 kB / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.09, allocations: 0 / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.09, allocations: 0 / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.09, allocations: 1.453 kB / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.09, allocations: 0 / 0.8039 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/1.09, allocations: 95.41 kB / 0.804 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/1.09, allocations: 91.08 kB / 0.8041 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.09, allocations: 0 / 0.8041 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/1.09, allocations: 0 / 0.8041 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/1.09, allocations: 13.23 kB / 0.8041 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/1.09, allocations: 0 / 0.8041 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001063/1.09, allocations: 128.6 kB / 0.8042 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.09, allocations: 4.031 kB / 0.8042 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002473/1.09, allocations: 15.16 kB / 0.8042 GB, free: 9.625 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.0007936/1.091, allocations: 0.6913 MB / 0.8049 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000114/1.091, allocations: 27.81 kB / 0.8049 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.091, allocations: 0 / 0.8049 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/1.091, allocations: 3.844 kB / 0.8049 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.092, allocations: 11.73 kB / 0.8049 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/1.092, allocations: 148.2 kB / 0.8051 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/1.092, allocations: 0.705 MB / 0.8058 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.238e-05/1.092, allocations: 7.172 kB / 0.8058 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/1.093, allocations: 27.5 kB / 0.8058 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.093, allocations: 0 / 0.8058 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.114, allocations: 1.541 MB / 0.8073 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.115, allocations: 165.4 kB / 0.8075 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.199, allocations: 0 / 0.8075 GB, free: 23.62 MB / 0.6511 GB