Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.015/4.015, allocations: 432.8 MB / 444.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.338e-05, allocations: 4.406 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 98.72 MB / 0.6302 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4364, allocations: 124.2 MB / 0.7515 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4368, allocations: 67.95 kB / 0.7516 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004043/0.4408, allocations: 1.157 MB / 0.7527 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4409, allocations: 4 kB / 0.7527 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.4409, allocations: 4 kB / 0.7527 GB, free: 8.484 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.0004267/0.4413, allocations: 362.2 kB / 0.7531 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.4414, allocations: 12.03 kB / 0.7531 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.4415, allocations: 34.56 kB / 0.7531 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.4415, allocations: 11.86 kB / 0.7531 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4417, allocations: 190.8 kB / 0.7533 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4417, allocations: 4 kB / 0.7533 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.4418, allocations: 12 kB / 0.7533 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.442, allocations: 88.5 kB / 0.7534 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.442, allocations: 3.938 kB / 0.7534 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.442, allocations: 3.984 kB / 0.7534 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.442, allocations: 7.938 kB / 0.7534 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.4422, allocations: 39.98 kB / 0.7535 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.4429, allocations: 456.5 kB / 0.7539 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.443, allocations: 37.34 kB / 0.7539 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.4431, allocations: 21.78 kB / 0.7539 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.4431, allocations: 0 / 0.7539 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4432, allocations: 30.56 kB / 0.754 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.4432, allocations: 0 / 0.754 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.4434, allocations: 53.53 kB / 0.754 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4434, allocations: 81.11 kB / 0.7541 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.4436, allocations: 154.1 kB / 0.7542 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4437, allocations: 29.7 kB / 0.7543 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.4438, allocations: 108.2 kB / 0.7544 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.4438, allocations: 7.844 kB / 0.7544 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4438, allocations: 3.938 kB / 0.7544 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.444, allocations: 326.8 kB / 0.7547 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.444, allocations: 8 kB / 0.7547 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.4441, allocations: 17.72 kB / 0.7547 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.4441, allocations: 23.92 kB / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4441, allocations: 0 / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.4443, allocations: 57.61 kB / 0.7548 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4443, allocations: 4 kB / 0.7548 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4443, allocations: 0 / 0.7548 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4443, allocations: 0 / 0.7548 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.4444, allocations: 11.98 kB / 0.7548 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4445, allocations: 0 / 0.7548 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.4445, allocations: 8.062 kB / 0.7548 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4445, allocations: 0 / 0.7548 GB, free: 6.062 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 7.82e-05/0.4446, allocations: 108.9 kB / 0.7549 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.4447, allocations: 7.906 kB / 0.7549 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.4447, allocations: 16.56 kB / 0.755 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4448, allocations: 4 kB / 0.755 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4448, allocations: 0 / 0.755 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4448, allocations: 3.984 kB / 0.755 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.4453, allocations: 486.7 kB / 0.7554 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4453, allocations: 0 / 0.7554 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.4454, allocations: 4 kB / 0.7554 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4454, allocations: 0 / 0.7554 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4455, allocations: 3.984 kB / 0.7554 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4455, allocations: 0 / 0.7554 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4455, allocations: 3.938 kB / 0.7554 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4456, allocations: 95.64 kB / 0.7555 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.4457, allocations: 93 kB / 0.7556 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4457, allocations: 0 / 0.7556 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.4458, allocations: 0 / 0.7556 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.4458, allocations: 0 / 0.7556 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4458, allocations: 11.89 kB / 0.7556 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000142/0.446, allocations: 130.8 kB / 0.7558 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.446, allocations: 0 / 0.7558 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002662/0.4463, allocations: 11.94 kB / 0.7558 GB, free: 4.984 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.0004617/0.4467, allocations: 0.7036 MB / 0.7565 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.4469, allocations: 19.94 kB / 0.7565 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4469, allocations: 0 / 0.7565 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.4469, allocations: 8 kB / 0.7565 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.4471, allocations: 13.05 kB / 0.7565 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.4475, allocations: 140.2 kB / 0.7566 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4479, allocations: 0.7007 MB / 0.7573 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.488e-05/0.4479, allocations: 8.422 kB / 0.7573 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.448, allocations: 23.42 kB / 0.7573 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.448, allocations: 0 / 0.7573 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.4678, allocations: 1.539 MB / 0.7588 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.4682, allocations: 163.4 kB / 0.759 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.669, allocations: 0 / 0.759 GB, free: 1.578 MB / 0.6355 GB