-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMU instantiation in SPAWN fails if installation directory has space, even though the problem has been addressed in the past. #3993
Comments
@Mov0
and then run the model. Note that this is not needed in OMEdit as OMEdit runs in a temporary directory. Also, the CI tests work with a space in the installation directory (such as
but here again the working directory is outside of Buildings x.y.z .The issue is caused inside the function call to the FMI library, which is invoked at Line 822 in 49c32a9
It turns out that for this function to work, the working directory must not have spaces, whereas the installation directory can have spaces.
So, the proper test should be whether the current working directory contains a space in its name, and not whether the library installation folder has a space. |
Todo
This will not be ported to EnergyPlus 9.6.0 and hence not for the maintenance branch as the new test is more stringent and could break old models that may work with some Modelica tools. |
* Improved test for spaces in directory names that can fail Spawn simulation For #3993
Describe the bug
If the Buildings library is installed in a directory with spaces, such as in
Buildings 11.0.0
, then creating the fmu for Spawn fails. The problem was addressed in #2507 but is still present with Buildings 11.0.0.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The examples for SPAWN should run with a fresh installation of the Buildings library.
Screenshots
Version
The text was updated successfully, but these errors were encountered: