Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.569/4.569, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.958e-05/3.974e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9775/1.23, allocations: 133.4 MB / 0.8022 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.231, allocations: 78.2 kB / 0.8022 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/1.245, allocations: 3.276 MB / 0.8054 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/1.245, allocations: 2.625 kB / 0.8054 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.245, allocations: 3.844 kB / 0.8054 GB, free: 12.25 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.0006383/1.246, allocations: 440.2 kB / 0.8059 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.246, allocations: 11.53 kB / 0.8059 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/1.246, allocations: 34.41 kB / 0.8059 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/1.246, allocations: 26.67 kB / 0.8059 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/1.246, allocations: 236.2 kB / 0.8062 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.246, allocations: 0 / 0.8062 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.246, allocations: 7.219 kB / 0.8062 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/1.246, allocations: 84.98 kB / 0.8063 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.246, allocations: 0 / 0.8063 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.246, allocations: 3 kB / 0.8063 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.246, allocations: 7.875 kB / 0.8063 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/1.247, allocations: 31.06 kB / 0.8063 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/1.247, allocations: 396 kB / 0.8067 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/1.247, allocations: 31.86 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/1.247, allocations: 12.64 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/1.248, allocations: 3.25 kB / 0.8067 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/1.248, allocations: 75.12 kB / 0.8068 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/1.248, allocations: 0 / 0.8068 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002056/1.248, allocations: 69.41 kB / 0.8069 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.248, allocations: 86.81 kB / 0.8069 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/1.248, allocations: 220.1 kB / 0.8071 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.248, allocations: 25.7 kB / 0.8072 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/1.248, allocations: 130.3 kB / 0.8073 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.248, allocations: 7.344 kB / 0.8073 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.248, allocations: 0 / 0.8073 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/1.249, allocations: 327.3 kB / 0.8076 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/1.249, allocations: 9.219 kB / 0.8076 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/1.249, allocations: 34.31 kB / 0.8077 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/1.249, allocations: 12.97 kB / 0.8077 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.249, allocations: 0 / 0.8077 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000148/1.249, allocations: 76.3 kB / 0.8077 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.249, allocations: 7.969 kB / 0.8077 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.249, allocations: 0 / 0.8077 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.249, allocations: 3.844 kB / 0.8078 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.249, allocations: 17.06 kB / 0.8078 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.249, allocations: 0 / 0.8078 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/1.249, allocations: 21.94 kB / 0.8078 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.249, allocations: 0 / 0.8078 GB, free: 10.38 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.311e-05/1.249, allocations: 112.7 kB / 0.8079 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/1.249, allocations: 22.53 kB / 0.8079 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/1.249, allocations: 18.64 kB / 0.8079 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.25, allocations: 3.844 kB / 0.8079 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.25, allocations: 0 / 0.8079 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.25, allocations: 0 / 0.8079 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.25, allocations: 222 kB / 0.8082 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.25, allocations: 0 / 0.8082 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.25, allocations: 17.25 kB / 0.8082 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.25, allocations: 7.766 kB / 0.8082 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.25, allocations: 0 / 0.8082 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.25, allocations: 0 / 0.8082 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.25, allocations: 0 / 0.8082 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/1.25, allocations: 89.08 kB / 0.8083 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/1.25, allocations: 95.86 kB / 0.8084 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/1.25, allocations: 7.859 kB / 0.8084 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.25, allocations: 17.95 kB / 0.8084 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/1.25, allocations: 14.83 kB / 0.8084 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/1.251, allocations: 6.641 kB / 0.8084 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002144/1.251, allocations: 179.3 kB / 0.8086 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.7e-07/1.251, allocations: 3.969 kB / 0.8086 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003079/1.251, allocations: 25.47 kB / 0.8086 GB, free: 9.777 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.000972/1.252, allocations: 0.654 MB / 0.8092 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001591/1.252, allocations: 32.89 kB / 0.8093 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.252, allocations: 0 / 0.8093 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/1.252, allocations: 11.16 kB / 0.8093 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.253, allocations: 48.86 kB / 0.8093 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/1.253, allocations: 233.5 kB / 0.8095 GB, free: 25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/1.254, allocations: 0.7255 MB / 0.8103 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000134/1.254, allocations: 21.34 kB / 0.8103 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.254, allocations: 44.75 kB / 0.8103 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.893e-06/1.254, allocations: 0 / 0.8103 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/1.281, allocations: 3.221 MB / 0.8135 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/1.281, allocations: 151.4 kB / 0.8136 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/4.01, allocations: 7.75 kB / 0.8136 GB, free: 23.68 MB / 0.6511 GB