Hello everyone,
Docker image: arm64v8/python:3.8-slim-buster, EnergyPlus: 9.4.0, EnergyPlusToFMU: 3.1.0.
I'm cloning E+ from github and afterwards compiling it in a docker container using cmake. Additionally, I copied the folder of EnergyPlusToFMU inside of the docker. The docker container is running in a Raspberry Pi 4, which means that everything is running over an ARMv8 64 bits architecture.
When I execute the command to make the conversion of the idf file to the FMU (python EnergyPlusToFMU/Scripts/EnergyPlusToFMU.py -i /usr/local/IDD/Energy+.idd -w /usr/src/app/eplusmodels/example/troisrivieres.epw -a 2 /usr/src/app/eplusmodels/example/examplehouse.idf) the process starts, finds some warnings, and after a while stops. I do not think that the warnings are important, so, I will skip directly to the error.
The error that currently appears is the following:
/usr/bin/ld: /usr/src/app/EnergyPlusToFMU/Scripts/../SourceCode/v20/fmusdk-shared/parser/linux64/libxml2.so.2: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
ERROR from script file {utilManageCompileLink.py}
Failed to link object files into {examplehouse.so}
Checking in internet I found some things that seem to be related to the architecture of the processor, but I do not know if that is the case for the error I'm having. To be honest, I have no clue what is causing the problem.
Note: For some reason the installation of EnergyPlus did not install the Energy+.idd file inside the docker container. To solve this problem, I copied the file manually (I took it from a windows installation). However, I believe that this is not related to the problem I'm having since the conversion starts without problems.
Note 2: If the construction of the Docker is required I can post it here.
I will highly appreciate any light on this problem,
Kind regards,
Juan