You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
IncludeDirectory points to a directory that does not exist #17
for example IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3, IBPSA.Utilities.Cryptographics.sha and IBPSA.Utilities.IO.Files.BaseClasses.FileWriter.
This directory does not exist. The C sources are in IBPSA/Resources/C-Sources. A tool that uses the annotation cannot find getTimeSpan.c or cryptographicsHash.c, and the model does not compile. In OpenModelica, 70 example models fail this way when they are exported as FMUs. #16 reports the same compile error; the file exists, but the annotation names the wrong directory.
Also, these files call functions without the necessary #include. Recent compilers (Clang 16 and later, GCC 14 and later) stop with an error:
File
Undeclared functions
fileWriterStructure.c
free, malloc, realloc, strcmp, strcpy, strlen
getTimeSpan.c
free, malloc, strcat, strcpy, strlen
jsonWriterInit.c
free, malloc, realloc, strcmp, strcpy, strlen
Expected:
IncludeDirectory="modelica://BuildSysPro/IBPSA/Resources/C-Sources" in the seven annotations.
#include <stdlib.h> and #include <string.h> in the three files.
Activity
jeromeferrari commentedon Nov 12, 2026
thank you Martin,
this has been fixed in version 4.0 that should be published soon.
FYI, we plan to clean BSP from this big IBPSA folder in early 2027.