Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.315/4.315, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.972e-05/4.959e-05, allocations: 4 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2892, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9243/1.214, allocations: 132.1 MB / 0.8068 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.214, allocations: 77.92 kB / 0.8069 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002984/1.217, allocations: 0.9106 MB / 0.8078 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/1.217, allocations: 3.938 kB / 0.8078 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.217, allocations: 10.11 kB / 0.8078 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003107/1.217, allocations: 349.2 kB / 0.8081 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.217, allocations: 7.656 kB / 0.8081 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/1.217, allocations: 41.47 kB / 0.8082 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/1.217, allocations: 10.75 kB / 0.8082 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/1.218, allocations: 184.9 kB / 0.8083 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/1.218, allocations: 3.875 kB / 0.8083 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.218, allocations: 7.188 kB / 0.8084 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.218, allocations: 100.2 kB / 0.8084 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.218, allocations: 4.656 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.218, allocations: 3.688 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.218, allocations: 3.969 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/1.218, allocations: 42.66 kB / 0.8085 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/1.219, allocations: 0.6466 MB / 0.8091 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/1.219, allocations: 172 kB / 0.8093 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/1.219, allocations: 84.08 kB / 0.8094 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/1.219, allocations: 75.28 kB / 0.8094 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.219, allocations: 113.7 kB / 0.8096 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/1.219, allocations: 0 / 0.8096 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001093/1.219, allocations: 36.89 kB / 0.8096 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.219, allocations: 126.7 kB / 0.8097 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/1.219, allocations: 156.3 kB / 0.8099 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/1.219, allocations: 25.7 kB / 0.8099 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/1.219, allocations: 104.7 kB / 0.81 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/1.219, allocations: 4 kB / 0.81 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.219, allocations: 0 / 0.81 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/1.219, allocations: 321.3 kB / 0.8103 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/1.219, allocations: 0 / 0.8103 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/1.22, allocations: 28.33 kB / 0.8103 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/1.22, allocations: 6.906 kB / 0.8103 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.22, allocations: 7.969 kB / 0.8103 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001406/1.22, allocations: 59.12 kB / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.22, allocations: 3.875 kB / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.22, allocations: 0 / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.22, allocations: 0 / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/1.22, allocations: 7.781 kB / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.22, allocations: 0 / 0.8104 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/1.22, allocations: 7.75 kB / 0.8104 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/1.22, allocations: 0 / 0.8104 GB, free: 9.633 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 6.898e-05/1.22, allocations: 191 kB / 0.8106 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/1.22, allocations: 108.9 kB / 0.8107 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/1.22, allocations: 112.5 kB / 0.8108 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/1.22, allocations: 186.4 kB / 0.811 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004799/1.221, allocations: 180.4 kB / 0.8112 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.801e-05/1.221, allocations: 180.3 kB / 0.8113 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/1.221, allocations: 427.5 kB / 0.8117 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/1.221, allocations: 101 kB / 0.8118 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/1.221, allocations: 101 kB / 0.8119 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/1.221, allocations: 187 kB / 0.8121 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/1.221, allocations: 180.2 kB / 0.8123 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-05/1.222, allocations: 187.1 kB / 0.8125 GB, free: 23.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.921e-05/1.222, allocations: 184.1 kB / 0.8126 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.222, allocations: 311 kB / 0.8129 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.222, allocations: 188.8 kB / 0.8131 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/1.222, allocations: 180.3 kB / 0.8133 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.222, allocations: 108.8 kB / 0.8134 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.222, allocations: 185.5 kB / 0.8136 GB, free: 22.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/1.222, allocations: 101 kB / 0.8137 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001486/1.223, allocations: 128.1 kB / 0.8138 GB, free: 22.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.223, allocations: 0 / 0.8138 GB, free: 22.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002972/1.223, allocations: 3.812 kB / 0.8138 GB, free: 22.1 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.0006065/1.224, allocations: 0.8108 MB / 0.8146 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001022/1.224, allocations: 18.12 kB / 0.8146 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.224, allocations: 0 / 0.8146 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/1.224, allocations: 192 / 0.8146 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/1.224, allocations: 0.5298 MB / 0.8151 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/1.225, allocations: 198.4 kB / 0.8153 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/1.225, allocations: 0.6956 MB / 0.816 GB, free: 19.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.862e-05/1.225, allocations: 3.875 kB / 0.816 GB, free: 19.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/1.225, allocations: 33.45 kB / 0.816 GB, free: 19.86 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.225, allocations: 0 / 0.816 GB, free: 19.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/1.25, allocations: 1.398 MB / 0.8174 GB, free: 19.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.251, allocations: 165.7 kB / 0.8175 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.511, allocations: 1.094 kB / 0.8175 GB, free: 19.39 MB / 0.6511 GB