Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.655e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2812, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.175, allocations: 131.5 MB / 0.8063 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.176, allocations: 72.44 kB / 0.8063 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003905/1.18, allocations: 1.158 MB / 0.8075 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.066e-06/1.18, allocations: 0 / 0.8075 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.18, allocations: 5.016 kB / 0.8075 GB, free: 11.81 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.0003872/1.18, allocations: 372.8 kB / 0.8078 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.18, allocations: 7.844 kB / 0.8078 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/1.18, allocations: 44.45 kB / 0.8079 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/1.18, allocations: 11.69 kB / 0.8079 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/1.18, allocations: 181.9 kB / 0.808 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.18, allocations: 3.844 kB / 0.8081 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/1.181, allocations: 7.625 kB / 0.8081 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/1.181, allocations: 93.91 kB / 0.8081 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.181, allocations: 0 / 0.8081 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.181, allocations: 3.625 kB / 0.8082 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.181, allocations: 5.594 kB / 0.8082 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/1.181, allocations: 33.78 kB / 0.8082 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/1.182, allocations: 468.5 kB / 0.8086 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/1.182, allocations: 36.28 kB / 0.8087 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/1.182, allocations: 13.59 kB / 0.8087 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/1.182, allocations: 4 kB / 0.8087 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/1.182, allocations: 39.28 kB / 0.8087 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/1.182, allocations: 0 / 0.8087 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/1.182, allocations: 46.11 kB / 0.8088 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.182, allocations: 80.89 kB / 0.8088 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/1.182, allocations: 150.9 kB / 0.809 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/1.182, allocations: 33.27 kB / 0.809 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/1.182, allocations: 108 kB / 0.8091 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/1.182, allocations: 13.44 kB / 0.8091 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-06/1.182, allocations: 3.875 kB / 0.8091 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/1.182, allocations: 317.4 kB / 0.8094 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/1.182, allocations: 7.344 kB / 0.8095 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/1.182, allocations: 24.81 kB / 0.8095 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/1.183, allocations: 11.53 kB / 0.8095 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.183, allocations: 0 / 0.8095 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/1.183, allocations: 62.67 kB / 0.8095 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.183, allocations: 7.781 kB / 0.8096 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.183, allocations: 0 / 0.8096 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.183, allocations: 6.75 kB / 0.8096 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.183, allocations: 7.719 kB / 0.8096 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.183, allocations: 0 / 0.8096 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/1.183, allocations: 3.938 kB / 0.8096 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.183, allocations: 11.94 kB / 0.8096 GB, free: 9.887 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.26e-05/1.183, allocations: 101 kB / 0.8097 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/1.183, allocations: 18.42 kB / 0.8097 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/1.183, allocations: 14.55 kB / 0.8097 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.183, allocations: 96 / 0.8097 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.183, allocations: 3.844 kB / 0.8097 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.183, allocations: 3.984 kB / 0.8097 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/1.184, allocations: 486.6 kB / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.184, allocations: 0 / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/1.184, allocations: 3.969 kB / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.184, allocations: 0 / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/1.184, allocations: 2.906 kB / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.184, allocations: 0 / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.184, allocations: 0 / 0.8102 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/1.184, allocations: 97.61 kB / 0.8103 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/1.184, allocations: 93.33 kB / 0.8104 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/1.184, allocations: 0 / 0.8104 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/1.184, allocations: 0 / 0.8104 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/1.184, allocations: 3.875 kB / 0.8104 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/1.184, allocations: 0 / 0.8104 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001252/1.184, allocations: 132.8 kB / 0.8105 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.184, allocations: 4.031 kB / 0.8105 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002469/1.184, allocations: 7.688 kB / 0.8105 GB, free: 9.012 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.0007731/1.185, allocations: 0.6951 MB / 0.8112 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.185, allocations: 26.28 kB / 0.8112 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.185, allocations: 0 / 0.8112 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/1.185, allocations: 7.781 kB / 0.8112 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/1.186, allocations: 8.875 kB / 0.8112 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/1.186, allocations: 148.8 kB / 0.8114 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/1.186, allocations: 0.7056 MB / 0.8121 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.102e-05/1.186, allocations: 4.094 kB / 0.8121 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/1.186, allocations: 24.52 kB / 0.8121 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.186, allocations: 0 / 0.8121 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/1.211, allocations: 1.546 MB / 0.8136 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/1.211, allocations: 172.5 kB / 0.8138 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.419, allocations: 0 / 0.8138 GB, free: 22.99 MB / 0.6511 GB