Running command: "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.418/3.418, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.709e-05, allocations: 4 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7012/0.881, allocations: 108.5 MB / 0.6083 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.8814, allocations: 71.97 kB / 0.6084 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.9017, allocations: 4.086 MB / 0.6124 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9017, allocations: 0 / 0.6124 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9018, allocations: 0 / 0.6124 GB, free: 8.223 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006519/0.9024, allocations: 402.2 kB / 0.6127 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.9025, allocations: 16.02 kB / 0.6128 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.9026, allocations: 34.56 kB / 0.6128 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.9026, allocations: 15.8 kB / 0.6128 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.9029, allocations: 183.5 kB / 0.613 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.9029, allocations: 4 kB / 0.613 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.9029, allocations: 11.94 kB / 0.613 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.9031, allocations: 61.67 kB / 0.613 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9031, allocations: 0 / 0.613 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.9032, allocations: 0 / 0.613 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.9032, allocations: 8 kB / 0.6131 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.9033, allocations: 32 kB / 0.6131 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.9041, allocations: 396 kB / 0.6135 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.9042, allocations: 46.56 kB / 0.6135 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.9043, allocations: 16.86 kB / 0.6135 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.9044, allocations: 85.06 kB / 0.6136 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.9044, allocations: 34.56 kB / 0.6136 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.9045, allocations: 0 / 0.6136 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002366/0.9047, allocations: 65.61 kB / 0.6137 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.9048, allocations: 55.39 kB / 0.6138 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.9049, allocations: 123.2 kB / 0.6139 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.905, allocations: 33.69 kB / 0.6139 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.9051, allocations: 104.8 kB / 0.614 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.9051, allocations: 3.906 kB / 0.614 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.9051, allocations: 8 kB / 0.614 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9053, allocations: 314.8 kB / 0.6143 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.9053, allocations: 8 kB / 0.6143 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.9054, allocations: 12 kB / 0.6143 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.9054, allocations: 15.92 kB / 0.6144 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9054, allocations: 0 / 0.6144 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001718/0.9056, allocations: 69.55 kB / 0.6144 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.9057, allocations: 4 kB / 0.6144 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9057, allocations: 4 kB / 0.6144 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9057, allocations: 0 / 0.6144 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.9059, allocations: 15.92 kB / 0.6144 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.9059, allocations: 0 / 0.6144 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.906, allocations: 0 / 0.6144 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.906, allocations: 4 kB / 0.6144 GB, free: 5.828 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.906e-05/0.9061, allocations: 109 kB / 0.6145 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.9061, allocations: 11.86 kB / 0.6146 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.9064, allocations: 77.64 kB / 0.6146 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9064, allocations: 0 / 0.6146 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.9064, allocations: 3.984 kB / 0.6146 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9064, allocations: 0 / 0.6146 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.9067, allocations: 185.6 kB / 0.6148 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9067, allocations: 0 / 0.6148 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.9069, allocations: 11.98 kB / 0.6148 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9069, allocations: 4 kB / 0.6148 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.9069, allocations: 7.953 kB / 0.6148 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9069, allocations: 3.938 kB / 0.6148 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9069, allocations: 0 / 0.6148 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.9072, allocations: 159.5 kB / 0.615 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.9072, allocations: 85 kB / 0.6151 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.9073, allocations: 0 / 0.6151 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9074, allocations: 7.953 kB / 0.6151 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.9075, allocations: 8 kB / 0.6151 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.9075, allocations: 0 / 0.6151 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001001/0.9076, allocations: 104.6 kB / 0.6152 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9076, allocations: 3.938 kB / 0.6152 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004946/0.9081, allocations: 75.83 kB / 0.6153 GB, free: 4.887 MB / 0.4948 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 (4): * Single equations (assignments): 4 * 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.0008272/0.9089, allocations: 0.766 MB / 0.616 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.9091, allocations: 31.98 kB / 0.616 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9091, allocations: 0 / 0.616 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.9092, allocations: 19.94 kB / 0.6161 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.9095, allocations: 16.08 kB / 0.6161 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.9101, allocations: 167.3 kB / 0.6162 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.9105, allocations: 0.6965 MB / 0.6169 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.817e-05/0.9105, allocations: 11.92 kB / 0.6169 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.9106, allocations: 27.38 kB / 0.617 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.9106, allocations: 0 / 0.617 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.9333, allocations: 2.671 MB / 0.6196 GB, free: 492 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.9337, allocations: 153.5 kB / 0.6197 GB, free: 260 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.379, allocations: 0 / 0.6197 GB, free: 260 kB / 0.4948 GB