Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.834/3.834, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.638e-05, allocations: 8 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.667, allocations: 92.69 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.8942, allocations: 120.4 MB / 0.7073 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.8946, allocations: 79.95 kB / 0.7073 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003312/0.8979, allocations: 0.9099 MB / 0.7082 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8979, allocations: 0 / 0.7082 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.898, allocations: 7.828 kB / 0.7082 GB, free: 4.781 MB / 0.5886 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.0004124/0.8984, allocations: 346.4 kB / 0.7086 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8984, allocations: 12.03 kB / 0.7086 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.8985, allocations: 34.55 kB / 0.7086 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.8986, allocations: 11.95 kB / 0.7086 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.8988, allocations: 190.8 kB / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.8989, allocations: 4 kB / 0.7088 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.8989, allocations: 4 kB / 0.7088 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.8991, allocations: 97.23 kB / 0.7089 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.8991, allocations: 7.922 kB / 0.7089 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8992, allocations: 4 kB / 0.7089 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.8992, allocations: 0 / 0.7089 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.8993, allocations: 43.94 kB / 0.709 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.9001, allocations: 0.6401 MB / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.9002, allocations: 177.1 kB / 0.7098 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.9003, allocations: 84.12 kB / 0.7098 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.9003, allocations: 79.28 kB / 0.7099 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.9004, allocations: 105.8 kB / 0.71 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.9004, allocations: 3.938 kB / 0.71 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.038e-05/0.9005, allocations: 37.61 kB / 0.7101 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.9006, allocations: 126.7 kB / 0.7102 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.9009, allocations: 154.8 kB / 0.7103 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.9009, allocations: 29.69 kB / 0.7103 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.901, allocations: 99.98 kB / 0.7104 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.901, allocations: 3.938 kB / 0.7104 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.901, allocations: 0 / 0.7104 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9012, allocations: 326.8 kB / 0.7108 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.9012, allocations: 4 kB / 0.7108 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.9013, allocations: 22.58 kB / 0.7108 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.9013, allocations: 4 kB / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9013, allocations: 4 kB / 0.7108 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001553/0.9015, allocations: 53.53 kB / 0.7108 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.9015, allocations: 12.09 kB / 0.7109 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9016, allocations: 0 / 0.7109 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9016, allocations: 0 / 0.7109 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.9017, allocations: 4 kB / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9017, allocations: 4 kB / 0.7109 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.9018, allocations: 11.91 kB / 0.7109 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.9018, allocations: 7.984 kB / 0.7109 GB, free: 1.82 MB / 0.5886 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.0001046/0.9019, allocations: 180.2 kB / 0.7111 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.902, allocations: 116.8 kB / 0.7112 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.9021, allocations: 108.6 kB / 0.7113 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.673e-05/0.9022, allocations: 184.2 kB / 0.7114 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.623e-05/0.9023, allocations: 180.8 kB / 0.7116 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/0.9024, allocations: 180.3 kB / 0.7118 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.9027, allocations: 425.6 kB / 0.7122 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.988e-05/0.9028, allocations: 108.9 kB / 0.7123 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.9028, allocations: 105 kB / 0.7124 GB, free: 156 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.9029, allocations: 182.6 kB / 0.7126 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.903, allocations: 180.2 kB / 0.7127 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.739e-05/0.9031, allocations: 176.3 kB / 0.7129 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-05/0.9032, allocations: 184.2 kB / 0.7131 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.9034, allocations: 315.6 kB / 0.7134 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.9035, allocations: 186.1 kB / 0.7136 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.9036, allocations: 184.2 kB / 0.7137 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.9038, allocations: 101 kB / 0.7138 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.9039, allocations: 180.3 kB / 0.714 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.9039, allocations: 112.9 kB / 0.7141 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000168/0.9041, allocations: 129.1 kB / 0.7142 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9041, allocations: 0 / 0.7142 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000292/0.9044, allocations: 7.938 kB / 0.7142 GB, free: 14.15 MB / 0.6042 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.0005199/0.905, allocations: 0.8202 MB / 0.7151 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.9051, allocations: 7.938 kB / 0.7151 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9051, allocations: 4 kB / 0.7151 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.9051, allocations: 0 / 0.7151 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.9055, allocations: 0.5265 MB / 0.7156 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.906, allocations: 203.6 kB / 0.7158 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.9064, allocations: 0.6965 MB / 0.7165 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.9065, allocations: 7.984 kB / 0.7165 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.9065, allocations: 19.44 kB / 0.7165 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.9065, allocations: 0 / 0.7165 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.9292, allocations: 1.394 MB / 0.7178 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.9296, allocations: 174 kB / 0.718 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.143, allocations: 0 / 0.718 GB, free: 10.21 MB / 0.6042 GB