First time here? Check out the Help page!
1 | initial version |
Digging into the source code, this fatal error line only appears in SQLiteProcedures.cc if the variable ok
is set to false
. Above this line, ok
is initialized to true
, and then followed by series of 5 if
checks that can reset ok
to false
and result in the fatal error you are seeing. The order of these checks are:
I would recommend opening the SQL file after a failed run to search for any error messages. You can open this in a text editor, but it would be easier to navigate in a database GUI. A free tool like sqliteman, or a free trial of a commercial tool like RazorSQL are some options.
@Kyle Benne seems to be the last person to alter this source code, maybe he can chime in. It is definitely interesting that just by running the same IDF a number of times, this fatal error eventually goes away on its own. I'm guessing that for the initial runs that fail, the SQLite file is locked or EnergyPlus cannot open it.