<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Daniela,</p>
<p> Which version of TRNSYS are you using? Perhaps version 16? v16
was compiled using the Compaq Visual Fortran compiler, which
automatically deallocated arrays when exiting a subroutine. When
you went back into the subroutine again, you could allocate an
array again. When the Compaq compiler was merged with the Intel
compiler, that behavior went away so we had to change the code to
specifically deallocate arrays on exiting subroutines. <br>
</p>
<p> I think what you need to do is to edit the GROW() subroutine
(which you will find in DynamicData.for) and deallocate all the
temporary arrays that are allocated in it. The list of arrays that
you need to deallocate can be found right below the comment line:</p>
<p>C allocate temporary arrays which have the same dimensions as
the incoming arrays</p>
<p>I am not sure that this is the only fix that you need to make in
recompiling the TRNdll!</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 09/07/2017 04:35, Daniela Carina
Vásconez Núńez via TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6797E5C5F94D474DB3D381BBBCCFEE580943146C@AGENDA4.upvnet.upv.es">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0cm;
margin-right:0cm;
margin-bottom:8.0pt;
margin-left:0cm;
line-height:106%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello everybody,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am working in a model
with the Type 581 (4 Interpolation variables) and Type 56
(Building).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Firstly, the simulation
generates the following error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><img
style="width:5.875in;height:1.2708in" id="Imagen_x0020_2"
src="cid:image001.jpg@01D327CD.604F6030"
moz-do-not-send="true" height="122" width="564"></span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Then, I changed the
MAXARRAYSIZE of Type 581 in READIN.FOR and rebuilder the
Trnsys dynamic link library (trndll.dll). However, when I
tried to simulate the Type 581+ Type 56, the following error
was generated:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><img
style="width:4.6354in;height:2.0833in" id="Imagen_x0020_1"
src="cid:image002.jpg@01D327CD.604F6030"
moz-do-not-send="true" height="200" width="445"></span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to know how
can I solve this issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance for
any help.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Daniela<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ph.D.</span><span
lang="EN-US"> Student.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>