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.781/3.781, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.799e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6501, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.892, allocations: 120.4 MB / 0.7072 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.8923, allocations: 83.94 kB / 0.7073 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003175/0.8955, allocations: 0.9099 MB / 0.7082 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8956, allocations: 0 / 0.7082 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.8956, allocations: 4 kB / 0.7082 GB, free: 4.793 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.0003889/0.896, allocations: 356.5 kB / 0.7085 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8961, allocations: 12.03 kB / 0.7086 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.8961, allocations: 38.56 kB / 0.7086 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.8962, allocations: 11.89 kB / 0.7086 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.8964, allocations: 190.8 kB / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.8964, allocations: 4 kB / 0.7088 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8965, allocations: 4 kB / 0.7088 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.8967, allocations: 100.2 kB / 0.7089 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8967, allocations: 0 / 0.7089 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8967, allocations: 4 kB / 0.7089 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.8968, allocations: 0 / 0.7089 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.8969, allocations: 47.88 kB / 0.7089 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.8976, allocations: 0.6401 MB / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.8978, allocations: 169.1 kB / 0.7097 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.8978, allocations: 84.08 kB / 0.7098 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.8978, allocations: 75.28 kB / 0.7099 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.8979, allocations: 113.8 kB / 0.71 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.8979, allocations: 0 / 0.71 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 8.345e-05/0.898, allocations: 33.61 kB / 0.71 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.8981, allocations: 126.7 kB / 0.7101 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.8983, allocations: 151.9 kB / 0.7103 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.8984, allocations: 25.7 kB / 0.7103 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.8985, allocations: 108 kB / 0.7104 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.8985, allocations: 4 kB / 0.7104 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.8985, allocations: 7.938 kB / 0.7104 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8986, allocations: 318.8 kB / 0.7107 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.8987, allocations: 11.92 kB / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.8987, allocations: 18.58 kB / 0.7108 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.8987, allocations: 8 kB / 0.7108 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8988, allocations: 4 kB / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001538/0.8989, allocations: 57.53 kB / 0.7108 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.899, allocations: 8 kB / 0.7108 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.899, allocations: 96 / 0.7108 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.899, allocations: 3.984 kB / 0.7108 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.8991, allocations: 4 kB / 0.7108 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8991, allocations: 0 / 0.7108 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.8992, allocations: 7.906 kB / 0.7108 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.8992, allocations: 4 kB / 0.7109 GB, free: 1.832 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.000105/0.8993, allocations: 188.2 kB / 0.711 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.8994, allocations: 116.9 kB / 0.7111 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.8995, allocations: 112.6 kB / 0.7112 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/0.8995, allocations: 180.2 kB / 0.7114 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-05/0.8996, allocations: 176.8 kB / 0.7116 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-05/0.8997, allocations: 188.3 kB / 0.7118 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.9, allocations: 429.5 kB / 0.7122 GB, free: 380 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.9001, allocations: 104.9 kB / 0.7123 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.9001, allocations: 108.9 kB / 0.7124 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.9003, allocations: 186.6 kB / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.9003, allocations: 180.2 kB / 0.7127 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-05/0.9004, allocations: 180.3 kB / 0.7129 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/0.9005, allocations: 180.3 kB / 0.7131 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.9007, allocations: 315.6 kB / 0.7134 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.9008, allocations: 190 kB / 0.7136 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.9009, allocations: 180.3 kB / 0.7137 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.9011, allocations: 105 kB / 0.7138 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.9012, allocations: 180.2 kB / 0.714 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.9012, allocations: 105 kB / 0.7141 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001657/0.9014, allocations: 124.9 kB / 0.7142 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9014, allocations: 0 / 0.7142 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002796/0.9017, allocations: 8 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.0005204/0.9022, allocations: 0.8278 MB / 0.715 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.9024, allocations: 12 kB / 0.715 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9024, allocations: 0 / 0.715 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.9024, allocations: 4.125 kB / 0.7151 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.9028, allocations: 0.5263 MB / 0.7156 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.9033, allocations: 201.8 kB / 0.7158 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.9037, allocations: 0.6965 MB / 0.7164 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.9038, allocations: 4 kB / 0.7164 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.9038, allocations: 27.42 kB / 0.7165 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.423e-06/0.9039, allocations: 0 / 0.7165 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.9287, allocations: 1.403 MB / 0.7178 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.9291, allocations: 162.3 kB / 0.718 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.234, allocations: 0 / 0.718 GB, free: 10.2 MB / 0.6042 GB