First time here? Check out the Help page!

Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

ReadVarESO(EnergyPlus9.4, Windows): Could not print backtrace, libbacktrace could not find executable to open

asked 3 years ago

ep_user's avatar

updated 3 years ago

I am running a simulation on Windows using EnergyPlus 9.4.0. At the end of simulation, i got some weird message:

ReadVarsESO program starting. At line 988 of file D:\a\EnergyPlus\EnergyPlus\src\ReadVars\ReadVarsESO.f90 (unit = 22, file = 'C:\Users\projects\xprojects\code_simu\code..\simulation\output\EPout.csv') Fortran runtime error: Cannot write to file opened for READ

Error termination. Backtrace:

Could not print backtrace: libbacktrace could not find executable to open

0 0xffffffff

1 0xffffffff

2 0xffffffff

3 0xffffffff

4 0xffffffff

5 0xffffffff

6 0xffffffff

7 0xffffffff

8 0xffffffff

9 0xffffffff

10 0xffffffff

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 3 years ago

updated 3 years ago

No idea if it's the cause, but I noticed the path C:\Users\projects\xprojects\code_simu\code..\simulation\output\EPout.csv. Sometimes when the file path is really long on Windows, it can cause weird behavior. Maybe you can try moving your simulation files so they aren't buried within so many subdirectories?

EDIT:

I actually just hit this error myself. Another possibility is that the EPout.csv file from a previous run is open in an application (like Excel) and therefore EnergyPlus can't write the new file. That would explain why the error says "Cannot write to file opened for READ".

Preview: (hide)
link

Comments

I'll take a guess at the "code.." folder name. @ep_user, try a clean path with no special characters.

rraustad's avatar rraustad  ( 3 years ago )

Ah, an open excel file, that makes more sense.

rraustad's avatar rraustad  ( 3 years ago )

thanks. You are right. I opened an EPout.csv while my model is running. @shorowit

ep_user's avatar ep_user  ( 3 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 2,586 times

Last updated: May 19 '21