Re: FMU 2.0 cannot be generated from E+toFMU V3.0

115 views
Skip to first unread message

Thierry Nouidui

unread,
Jan 14, 2021, 3:49:47 AM1/14/21
to Joser, energyplus-fmu
This is very strange.

Are you able to generate 1.0 FMUs from the latest version of E+ToFMU?
Do you have right permissions on that machine?

Thanks!

On Wed, Jan 13, 2021 at 11:09 PM Joser <joserc...@gmail.com> wrote:
Hi, I´m learning PyFMI for co-simulating E+ and HVAC FMUs. I´ve been able to create FMU 1.0 from earlier E+toFMUs versions and do co-simulation using dymola as master. However, in PyFMI the master algorithm only supports 2.0 FMUs:
"pyfmi.fmi.FMUException: The Master algorithm currently only supports CS 2.0 FMUs"

E+toFMU V3.0 adds supports for the FMI for Co-Simulation version 2.0. However, when I try to generate the E+ FMU2.0 I got the following error:  

""Failed to link "_london_office.dll"
ERROR from script file {utilManageCompileLink.pyc}
Failed to link object files into {_fmu_export_schedule.dll}""

Does anyone know why? Or why it´s allowing me to create 1.0 FMUs and not 2.0
I´m working in 64win, using VS 14.0
Thanks

--
You received this message because you are subscribed to the Google Groups "energyplus-fmu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyplus-fm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/1cb96224-d1c8-4253-a3b5-1bbd950af60cn%40googlegroups.com.


--
Prof. Thierry Nouidui
Nouidui Consulting Group
https://nouidui.com/index.php/consulting/

Joser

unread,
Jan 14, 2021, 10:23:44 PM1/14/21
to energyplus-fmu
Dear Thierry, yes, I´m able to create FMU 1.0  and make some tests with dymola as master.

But when I specify ""-a 2 "" for FMU 2.0  I receive an error. I think it has to be with the compiler or linker or maybe the code´s not identifying my system as x64 and thus, E+toFMU is choosing the win32 source code for generating the proper libraries...

""""Reading input and weather file for EnergyPlusToFMU program.
! makeFMULib.pyc -- Link with the libxml2.lib located in {C:\EnergyPlusToFMU-v3.0.0\Scripts\..\SourceCode\v20\fmusdk-shared\parser\win32\libxml2.lib}
......
......
C:\EnergyPlusToFMU-v3.0.0\Scripts\..\SourceCode\v20\fmusdk-shared\parser\win32\libxml2.lib : warning LNK4272: el tipo de máquina de biblioteca 'x86' está en conflicto con el tipo de máquina de destino 'x64'
_fmu_export_schedule.dll : fatal error LNK1120: 12 externos sin resolver
Failed to link "_fmu_export_schedule.dll"
ERROR from script file {utilManageCompileLink.pyc}
Failed to link object files into {_fmu_export_schedule.dll}""""

I tried VS 12.0, 14.0, v.2019, linking the respective .bat files in V3.0 scripts, and also switching to x64 dev prompt (as suggested by user:yapan in an earlier post in this group); however without success. 

I will appreciate any insight. I'm currently using win x64, E+9.3.0/9.0.1, VS 2019, python 2.7
Thanks!
José

Joser

unread,
Jan 15, 2021, 2:09:22 PM1/15/21
to energyplus-fmu
Hi Thierry,

Following this issue, I realized that I´ve had a preinstalled x86 version of python on my computer. I removed it and installed 2.7 x86-64 version

By doing that, I was finally able to generate an  FMU 2.0 from E+ with its respective 64 binaries




Pascal Yamb

unread,
May 30, 2024, 3:55:37 AM5/30/24
to energyplus-fmu

Buy your psychedelic products fast and safe delivery 


https://t.me/healingmeds

https://t.me/healingmeds

https://t.me/healingmeds


> ✔US-US Delivery 

> ✔Fast Shipping 

> ✔Secure Payment Options 

> ✔100% Satisfaction Guaranteed 

> ✔3 Days Refund Policy 

> ✔100% Money-Back if any issue with the product 

> ✔Shipping Service: Express/Standard/Economy 

> ✔Estimated Delivery Time: Express & 3-5  Days 

> ✔Discounts: Get up to 20% off 


https://t.me/healingmeds

https://t.me/healingmeds

https://t.me/healingmeds

Reply all
Reply to author
Forward
0 new messages