Skip to content

Possible memory leak #2613

@IrisMeasure

Description

@IrisMeasure

Bug description
Memory leaks may occur when using binary compiled with the IFX compiler in Intel oneAPI 2025.0.0 or 2025.0.1.
When running the OpenFAST binary (version 4.0.0, IEA Wind 15-MW RWT) compiled with the IFX compiler, memory usage gradually increases from ~1.5 GB to approximately ~10 GB (single precision, after ~1 hour) during the time-history analysis phase.
This phenomenon also occurs with 5MW_OC3Mnpl_DLL_WTurb_WavesIrr in the r-test, but since this model is much smaller, memory usage increases from ~30 MB to ~120 MB (after ~1 minute).
This does not occur when using the precompiled binary (openfast_x64.exe) from the release. I am uncertain if this behavior should be considered a memory leak, or if it is a designed feature of OpenFAST (in my use case, the IFX version of OpenFAST has faster computation speed).

To Reproduce
Steps to reproduce the behavior:

  1. Compile openfast_x64.exe with IFX compiler in Intel oneAPI 2025.0.0 or 2025.0.1;
  2. Run 5MW_OC3Mnpl_DLL_WTurb_WavesIrr with default settings.

Expected behavior
Memory usage does not increase significantly as the time-history analysis progresses when the binary is compiled with the IFX compiler.

OpenFAST Version
OpenFAST v4.0.0, git commit da685d4.

**************************************************************************************************
OpenFAST

Copyright (C) 2025 National Renewable Energy Laboratory
Copyright (C) 2025 Envision Energy USA LTD

This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.
**************************************************************************************************

OpenFAST-v4.0.0-dirty
Compile Info:
 - Compiler: Intel(R) Fortran Compiler 20250004
 - Architecture: 64 bit
 - Precision: single
 - OpenMP: No
 - Date: Jan 20 2025
 - Time: 12:41:32
Execution Info:
 - Date: 01/20/2025
 - Time: 20:27:12+0800

System Information (please complete the following information):

  • OS: Windows 11 24H2
  • Compilers:
    1. IFX compiler in Intel oneAPI 2025.0.0 (Intel(R) Fortran Compiler 20250000 in Compile info);
    2. IFX compiler in Intel oneAPI 2025.0.1 (Intel(R) Fortran Compiler 20250004 in Compile info).
  • Compiler settings:
    1. Default compiler settings in Visual Studio .sln file for compilers (i)(ii), single precision;
    2. Change the optimization level to o3 for compiler (ii), both single and double precisions.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions