Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.388/4.388, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.028e-05/6.057e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 107.2 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.219, allocations: 133.8 MB / 0.8085 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.219, allocations: 79.19 kB / 0.8086 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01351/1.233, allocations: 3.271 MB / 0.8117 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.233, allocations: 4 kB / 0.8118 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.233, allocations: 7.875 kB / 0.8118 GB, free: 12.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006125/1.233, allocations: 429.5 kB / 0.8122 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.234, allocations: 11.53 kB / 0.8122 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/1.234, allocations: 33.81 kB / 0.8122 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/1.234, allocations: 26.42 kB / 0.8122 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/1.234, allocations: 235 kB / 0.8125 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.234, allocations: 6.906 kB / 0.8125 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/1.234, allocations: 3.969 kB / 0.8125 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/1.234, allocations: 77.81 kB / 0.8125 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.234, allocations: 3.844 kB / 0.8125 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/1.234, allocations: 7.625 kB / 0.8126 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.234, allocations: 2.531 kB / 0.8126 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/1.234, allocations: 29.69 kB / 0.8126 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/1.235, allocations: 400.3 kB / 0.813 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/1.235, allocations: 22.23 kB / 0.813 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/1.235, allocations: 15.98 kB / 0.813 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/1.235, allocations: 0 / 0.813 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/1.236, allocations: 85.2 kB / 0.8131 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/1.236, allocations: 0 / 0.8131 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002194/1.236, allocations: 67.64 kB / 0.8132 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.236, allocations: 77.11 kB / 0.8132 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/1.236, allocations: 224.8 kB / 0.8134 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.236, allocations: 29.7 kB / 0.8135 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/1.236, allocations: 129.9 kB / 0.8136 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.236, allocations: 7.875 kB / 0.8136 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.236, allocations: 0 / 0.8136 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.237, allocations: 331.8 kB / 0.8139 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/1.237, allocations: 7.375 kB / 0.8139 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/1.237, allocations: 30.56 kB / 0.814 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/1.237, allocations: 11.33 kB / 0.814 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.237, allocations: 0 / 0.814 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000156/1.237, allocations: 70.23 kB / 0.814 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.237, allocations: 10.94 kB / 0.814 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.237, allocations: 3.953 kB / 0.814 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.237, allocations: 0 / 0.814 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.237, allocations: 21.77 kB / 0.8141 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.237, allocations: 3.938 kB / 0.8141 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/1.237, allocations: 22.56 kB / 0.8141 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/1.237, allocations: 7.766 kB / 0.8141 GB, free: 10.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.941e-05/1.237, allocations: 103.9 kB / 0.8142 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/1.238, allocations: 15.62 kB / 0.8142 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/1.238, allocations: 27.11 kB / 0.8142 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.238, allocations: 3.953 kB / 0.8142 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.238, allocations: 0 / 0.8142 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.238, allocations: 0 / 0.8142 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/1.238, allocations: 222.8 kB / 0.8145 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.238, allocations: 0 / 0.8145 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/1.238, allocations: 15.45 kB / 0.8145 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.238, allocations: 0 / 0.8145 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/1.238, allocations: 0 / 0.8145 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.238, allocations: 7.812 kB / 0.8145 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.239, allocations: 3.953 kB / 0.8145 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/1.239, allocations: 89.59 kB / 0.8146 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/1.239, allocations: 98.58 kB / 0.8147 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/1.239, allocations: 2.906 kB / 0.8147 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.24, allocations: 21.09 kB / 0.8147 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/1.24, allocations: 10.58 kB / 0.8147 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.24, allocations: 4 kB / 0.8147 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002596/1.24, allocations: 180.7 kB / 0.8149 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.24, allocations: 0 / 0.8149 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003299/1.24, allocations: 23.12 kB / 0.8149 GB, free: 9.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006026/1.241, allocations: 0.662 MB / 0.8155 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001582/1.241, allocations: 29.34 kB / 0.8156 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.241, allocations: 3.516 kB / 0.8156 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/1.241, allocations: 11.16 kB / 0.8156 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/1.242, allocations: 43.91 kB / 0.8156 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.243, allocations: 243.4 kB / 0.8159 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/1.244, allocations: 0.7222 MB / 0.8166 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002194/1.244, allocations: 21.94 kB / 0.8166 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.244, allocations: 42.83 kB / 0.8166 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.244, allocations: 4 kB / 0.8166 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/1.271, allocations: 3.211 MB / 0.8198 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.271, allocations: 163.2 kB / 0.8199 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.061, allocations: 0 / 0.8199 GB, free: 23.59 MB / 0.6511 GB