Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.342/4.342, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 5.43e-05/5.435e-05, allocations: 4.594 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2507, allocations: 98.72 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.4957, allocations: 126.4 MB / 0.7536 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004295/0.4962, allocations: 75.95 kB / 0.7537 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5114, allocations: 3.224 MB / 0.7568 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5114, allocations: 0 / 0.7568 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.5115, allocations: 8 kB / 0.7569 GB, free: 4.242 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.0007189/0.5122, allocations: 442 kB / 0.7573 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5123, allocations: 15.97 kB / 0.7573 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.5123, allocations: 38.55 kB / 0.7573 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.5124, allocations: 19.77 kB / 0.7573 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.5128, allocations: 227.8 kB / 0.7576 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.5129, allocations: 4 kB / 0.7576 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5129, allocations: 8 kB / 0.7576 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.5132, allocations: 89.59 kB / 0.7577 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5132, allocations: 0 / 0.7577 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.5132, allocations: 4 kB / 0.7577 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5133, allocations: 4 kB / 0.7577 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.5134, allocations: 28 kB / 0.7577 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.5143, allocations: 392.5 kB / 0.7581 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.5144, allocations: 30.53 kB / 0.7581 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.5145, allocations: 12.92 kB / 0.7581 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5145, allocations: 0 / 0.7581 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.5147, allocations: 85.05 kB / 0.7582 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.5148, allocations: 0 / 0.7582 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002344/0.515, allocations: 65.5 kB / 0.7583 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5151, allocations: 77.11 kB / 0.7583 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.5155, allocations: 225 kB / 0.7585 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5155, allocations: 25.7 kB / 0.7586 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5156, allocations: 132 kB / 0.7587 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.5157, allocations: 7.891 kB / 0.7587 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.5157, allocations: 0 / 0.7587 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5159, allocations: 330.8 kB / 0.759 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.5159, allocations: 8 kB / 0.759 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.516, allocations: 31.44 kB / 0.7591 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.5161, allocations: 11.92 kB / 0.7591 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5161, allocations: 4 kB / 0.7591 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001847/0.5163, allocations: 73.48 kB / 0.7591 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5163, allocations: 8 kB / 0.7591 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.5163, allocations: 144 / 0.7591 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5164, allocations: 0 / 0.7591 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.5166, allocations: 23.91 kB / 0.7592 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5166, allocations: 0 / 0.7592 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.5168, allocations: 27.92 kB / 0.7592 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5168, allocations: 0 / 0.7592 GB, free: 1.59 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 9.729e-05/0.5169, allocations: 109 kB / 0.7593 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.517, allocations: 19.77 kB / 0.7593 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.5171, allocations: 17.23 kB / 0.7593 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5171, allocations: 4 kB / 0.7593 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5171, allocations: 0 / 0.7593 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5171, allocations: 3.938 kB / 0.7593 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.5173, allocations: 213.6 kB / 0.7595 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5174, allocations: 4 kB / 0.7596 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.5175, allocations: 15.98 kB / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5176, allocations: 3.953 kB / 0.7596 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5176, allocations: 0 / 0.7596 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/0.5176, allocations: 8 kB / 0.7596 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5176, allocations: 0 / 0.7596 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.5178, allocations: 88.88 kB / 0.7597 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.5179, allocations: 104.9 kB / 0.7598 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.518, allocations: 3.953 kB / 0.7598 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5182, allocations: 11.98 kB / 0.7598 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.5182, allocations: 11.98 kB / 0.7598 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.5183, allocations: 4 kB / 0.7598 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002702/0.5186, allocations: 177.4 kB / 0.76 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5186, allocations: 3.938 kB / 0.76 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003353/0.5189, allocations: 31.91 kB / 0.76 GB, free: 0.6797 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.0007697/0.5197, allocations: 0.661 MB / 0.7606 GB, free: 16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.5199, allocations: 27.98 kB / 0.7607 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5199, allocations: 0 / 0.7607 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.52, allocations: 8 kB / 0.7607 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.5204, allocations: 36.36 kB / 0.7607 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.5212, allocations: 235.5 kB / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.5215, allocations: 0.7355 MB / 0.7617 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.5217, allocations: 16.55 kB / 0.7617 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5218, allocations: 39.42 kB / 0.7617 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.5218, allocations: 0 / 0.7617 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.5528, allocations: 3.214 MB / 0.7648 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.5532, allocations: 150.3 kB / 0.765 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.214, allocations: 0 / 0.765 GB, free: 11.49 MB / 0.6511 GB