[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Error Trnsys-GenOpt



99% of the time a project that works in TRNSYS but fails to run in TRNOPT/GenOpt is due to a file path.  Make sure EVERY file path in your project is given an absolute path i.e. c:\TRNSYS16\Projects\file.dat and not just a local path i.e. file.dat

Jeff Thornton 
TESS

Sent from my iPhone

> On Oct 21, 2016, at 10:24 AM, Ma via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:
> 
> Dear all,
> 
> I am trying to run a simple GenOpt-Trnsys simulation, but it stops with Pop-up windows like: "TNREXE I/O error 32" and "Fatal error encountered in TRNSYS. Check the listing file for more information."
> 
> There ist a following error message in the GenOpt logfile:
> 
> "Error message:
> **************
> java.lang.Exception:
> 
> Exception in executing the simulation program
> 
> Simulation working directory : 'C:\Hus\genopt\example\GenOptTrns\tmp-genopt-run-1'
> Command string               : 'C:\Trnsys17\Exe\TRNExe.exe "C:\Hus\genopt\example\GenOptTrns\tmp-genopt-run-1\GenOptRun.dck" /h'
> Exception message:
> 
> Error in executing the simulation program
> Exit value of the simulation program: 1
> Working directory                   : 'C:\Hus\genopt\example\GenOptTrns\tmp-genopt-run-1'.
> Current command String              : 'C:\Trnsys17\Exe\TRNExe.exe "C:\Hus\genopt\example\GenOptTrns\tmp-genopt-run-1\GenOptRun.dck" /h'.
> Error stream of simulation program  : Simulation program did not return an error stream.
> 
> GenOpt terminated with error."
> 
> 
> The corresponding Trnsys LST file message in the "...run-1" folder is as follows:
> 
> " ***** ERROR *****        TRNSYS ERROR # 300
> UNABLE TO START PROGRAM IN CALLPROGRAM UTILITY
> PLEASE CHECK PATH AND PROGRAM NAME, THIS MAY BE A PROBLEM IN TYPE 66
> 
> *** Fatal Error at time   :         0.000000
>    Generated by Unit     : Not applicable or not available
>    Generated by Type     : Not applicable or not available
>    TRNSYS Message    294 : Unable to start a required program with the CallProgram utility. This may be a problem with Type66 or Type56/TRNBuild.
>    Reported information  : Not available
> 
> *** Fatal Error at time   :         0.000000
>    Generated by Unit     :     5
>    Generated by Type     :    56
>    Message               : Wrong version of gentrn.dll was used. TYPE 56 expects version 190.000, but TRNBuild used gentrn.dll version  89.000was loaded.
> 
> *** An error has forced TRNSYS to abort"
> 
> 
> The simulation of this building model just with Trnsys, without the GenOpt optimization, works well.
> 
> Can anybody help me?
> 
> Kind regards,
> Ma
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users@lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org