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

Re: [TRNSYS-users] Range check error & Array Bounds Exceeded.



Jochen,

When the debugger stops and tells you about the first-chance exception it
should point at the line that generates the error. I guess that line assigns
a value to an element of an array that does not exist. The most obvious
would be something like x(10) in an x array that is sized to 9 elements but
it could also be that you are assigning V(i) where i is negative, zero (or
too large as mentioned before).
Good luck.

Michaël Kummert
École Polytechnique de Montréal

-----Original Message-----
From: Jochen Doell [mailto:jochen.doell@ise.fraunhofer.de] 
Sent: October 21, 2010 08:07
To: trnsys-users@cae.wisc.edu
Subject: [TRNSYS-users] Range check error & Array Bounds Exceeded.

Dear all,

I am trying to recompile a TRNSYS 14.2 type to TRNSYS 16 (plus implement 
some changes)
I did everything that is necessary, my Compaq Compiler does not give any 
errors or warnings (anymore).

But when I try to run TRNSYS 16 with only the new type, I get a "Range 
check error" and TRNSYS aborts.

When applying the debugging method as described by Michaël Kummert (on 5 
Feb 2003) I receive the message
"First-chance exception in TRNExe.exe (TYPEXXX.DLL): 0xC000008C: Array 
Bounds Exceeded." in my CVF compiler.

I checked the Storage array, it is sized slightly too big which should 
not give any problems (?). Does anyone have other hints where to look 
for the error?

Best regards & thanks in advance,
Jochen Döll

-- 
_________________________________________________

Dipl.-Ing. (FH) Jochen Döll
Dept. Thermal Systems and Buildings

Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany

Phone:	+49 (761) 4588-5468
Fax:	+49 (761) 4588-9000
Mail:	jochen.doell@ise.fraunhofer.de
Web:	www.ise.fraunhofer.de
_________________________________________________

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users