Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.406/4.406, allocations: 460.4 MB / 472.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.947e-05/4.976e-05, allocations: 4 kB / 0.5682 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 106.2 MB / 0.6719 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9499/1.203, allocations: 131.7 MB / 0.8005 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.203, allocations: 78.33 kB / 0.8006 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002998/1.206, allocations: 0.915 MB / 0.8015 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.207, allocations: 0 / 0.8015 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/1.207, allocations: 0 / 0.8015 GB, free: 12.37 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003204/1.207, allocations: 353.4 kB / 0.8018 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.207, allocations: 11.47 kB / 0.8018 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/1.207, allocations: 35.59 kB / 0.8019 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/1.207, allocations: 11.67 kB / 0.8019 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.207, allocations: 195.5 kB / 0.8021 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/1.207, allocations: 3.812 kB / 0.8021 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.207, allocations: 14.92 kB / 0.8021 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/1.208, allocations: 93.61 kB / 0.8022 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.208, allocations: 0 / 0.8022 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/1.208, allocations: 2.328 kB / 0.8022 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.208, allocations: 3.844 kB / 0.8022 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/1.208, allocations: 40.95 kB / 0.8022 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/1.208, allocations: 0.6396 MB / 0.8028 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/1.208, allocations: 174.6 kB / 0.803 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.208, allocations: 80.14 kB / 0.8031 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/1.208, allocations: 79.22 kB / 0.8031 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.208, allocations: 105.8 kB / 0.8032 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.056e-06/1.208, allocations: 0 / 0.8032 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.062e-05/1.209, allocations: 39.03 kB / 0.8033 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.209, allocations: 126.7 kB / 0.8034 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/1.209, allocations: 158.7 kB / 0.8036 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/1.209, allocations: 25.7 kB / 0.8036 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/1.209, allocations: 113.8 kB / 0.8037 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/1.209, allocations: 0 / 0.8037 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.209, allocations: 0 / 0.8037 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/1.209, allocations: 325 kB / 0.804 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/1.209, allocations: 6.812 kB / 0.804 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/1.209, allocations: 27.5 kB / 0.804 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/1.209, allocations: 7.812 kB / 0.804 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.209, allocations: 0 / 0.804 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/1.209, allocations: 51.41 kB / 0.8041 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.209, allocations: 11.56 kB / 0.8041 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.209, allocations: 0 / 0.8041 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.209, allocations: 1.594 kB / 0.8041 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/1.209, allocations: 11.88 kB / 0.8041 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.21, allocations: 4.453 kB / 0.8041 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/1.21, allocations: 0 / 0.8041 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/1.21, allocations: 5.594 kB / 0.8041 GB, free: 9.84 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: 0 () * 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 0.0004522/1.21, allocations: 183.5 kB / 0.8043 GB, free: 25.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/1.21, allocations: 108.7 kB / 0.8044 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/1.21, allocations: 115.1 kB / 0.8045 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.205e-05/1.21, allocations: 180.3 kB / 0.8047 GB, free: 25.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/1.21, allocations: 185 kB / 0.8049 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-05/1.21, allocations: 180.2 kB / 0.805 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/1.211, allocations: 424.1 kB / 0.8054 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-05/1.211, allocations: 104.9 kB / 0.8055 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/1.211, allocations: 108.9 kB / 0.8056 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-05/1.211, allocations: 181.5 kB / 0.8058 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.211, allocations: 180.2 kB / 0.806 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.709e-05/1.211, allocations: 184 kB / 0.8062 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-05/1.211, allocations: 177.6 kB / 0.8063 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/1.211, allocations: 311.8 kB / 0.8066 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.212, allocations: 194 kB / 0.8068 GB, free: 22.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/1.212, allocations: 177.2 kB / 0.807 GB, free: 22.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.212, allocations: 115.3 kB / 0.8071 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.212, allocations: 176.3 kB / 0.8073 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/1.212, allocations: 106.5 kB / 0.8074 GB, free: 22.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001673/1.212, allocations: 126.9 kB / 0.8075 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.212, allocations: 0 / 0.8075 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003409/1.212, allocations: 6.344 kB / 0.8075 GB, free: 22.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005521/1.213, allocations: 0.8206 MB / 0.8083 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001055/1.213, allocations: 10.56 kB / 0.8083 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.213, allocations: 0 / 0.8083 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/1.213, allocations: 3.938 kB / 0.8083 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/1.214, allocations: 0.5224 MB / 0.8088 GB, free: 20.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/1.214, allocations: 206.8 kB / 0.809 GB, free: 20.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/1.214, allocations: 0.6983 MB / 0.8097 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.773e-05/1.214, allocations: 6.312 kB / 0.8097 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/1.215, allocations: 19.3 kB / 0.8097 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.215, allocations: 0 / 0.8097 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/1.238, allocations: 1.406 MB / 0.8111 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/1.238, allocations: 161 kB / 0.8112 GB, free: 19.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.532, allocations: 3.938 kB / 0.8112 GB, free: 19.59 MB / 0.6511 GB