Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.551e-05, allocations: 5.094 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.136, allocations: 131.5 MB / 0.8063 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.136, allocations: 66.75 kB / 0.8063 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00373/1.14, allocations: 1.164 MB / 0.8075 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/1.14, allocations: 0 / 0.8075 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.868e-06/1.14, allocations: 3.844 kB / 0.8075 GB, free: 11.7 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.000349/1.14, allocations: 362.3 kB / 0.8078 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.14, allocations: 11.69 kB / 0.8078 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/1.14, allocations: 43.73 kB / 0.8079 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/1.14, allocations: 7.875 kB / 0.8079 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.14, allocations: 192.7 kB / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.14, allocations: 7.406 kB / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/1.14, allocations: 3.844 kB / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/1.141, allocations: 93.83 kB / 0.8082 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.141, allocations: 0 / 0.8082 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.141, allocations: 3 kB / 0.8082 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.141, allocations: 6.172 kB / 0.8082 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/1.141, allocations: 39.09 kB / 0.8082 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/1.141, allocations: 454.2 kB / 0.8086 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/1.142, allocations: 44.09 kB / 0.8087 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/1.142, allocations: 9.719 kB / 0.8087 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/1.142, allocations: 7.844 kB / 0.8087 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/1.142, allocations: 36.75 kB / 0.8087 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/1.142, allocations: 0 / 0.8087 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001872/1.142, allocations: 48.61 kB / 0.8088 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.142, allocations: 77.11 kB / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.142, allocations: 153.7 kB / 0.809 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/1.142, allocations: 32.22 kB / 0.809 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.142, allocations: 112.3 kB / 0.8091 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/1.142, allocations: 7.5 kB / 0.8091 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/1.142, allocations: 7.656 kB / 0.8091 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/1.142, allocations: 317.5 kB / 0.8095 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/1.142, allocations: 7.781 kB / 0.8095 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/1.142, allocations: 20.59 kB / 0.8095 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/1.142, allocations: 14.16 kB / 0.8095 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.142, allocations: 0 / 0.8095 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001226/1.143, allocations: 69.58 kB / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.143, allocations: 7.688 kB / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.143, allocations: 0 / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.143, allocations: 0 / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.143, allocations: 7.844 kB / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.143, allocations: 0 / 0.8096 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/1.143, allocations: 4.156 kB / 0.8096 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/1.143, allocations: 3.906 kB / 0.8096 GB, free: 9.789 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.103e-05/1.143, allocations: 114.2 kB / 0.8097 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/1.143, allocations: 15.64 kB / 0.8097 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/1.143, allocations: 14.84 kB / 0.8097 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.143, allocations: 2.953 kB / 0.8097 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.143, allocations: 3.844 kB / 0.8097 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.143, allocations: 0 / 0.8097 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/1.144, allocations: 477.7 kB / 0.8102 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.144, allocations: 2.672 kB / 0.8102 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/1.144, allocations: 3.875 kB / 0.8102 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.144, allocations: 0 / 0.8102 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.144, allocations: 0 / 0.8102 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.144, allocations: 3.938 kB / 0.8102 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.144, allocations: 3.844 kB / 0.8102 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/1.144, allocations: 93.06 kB / 0.8103 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/1.144, allocations: 94.64 kB / 0.8104 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.144, allocations: 0 / 0.8104 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/1.144, allocations: 3.844 kB / 0.8104 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/1.144, allocations: 0 / 0.8104 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.144, allocations: 0 / 0.8104 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001081/1.144, allocations: 133.3 kB / 0.8105 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.144, allocations: 0 / 0.8105 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002771/1.144, allocations: 11.78 kB / 0.8105 GB, free: 8.91 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.0007616/1.145, allocations: 0.7014 MB / 0.8112 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.145, allocations: 18.66 kB / 0.8112 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.145, allocations: 0 / 0.8112 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/1.145, allocations: 10.97 kB / 0.8112 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/1.145, allocations: 9.953 kB / 0.8112 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/1.146, allocations: 149.4 kB / 0.8114 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.146, allocations: 0.702 MB / 0.8121 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.133e-05/1.146, allocations: 6.953 kB / 0.8121 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/1.146, allocations: 27.36 kB / 0.8121 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.146, allocations: 0 / 0.8121 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/1.166, allocations: 1.545 MB / 0.8136 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/1.166, allocations: 163.1 kB / 0.8138 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.529, allocations: 4 kB / 0.8138 GB, free: 22.89 MB / 0.6511 GB