<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Marcus,<br>
      That message is a warning and it may be that the actual error
    occurs before the warning is written. You can probably test whether
    Type340 is the problem by running a simulation that has only a
    Type340 in it, then adding a second and trying to rerun the
    simulation. If the problem is indeed in Type340 then the simplest
    (but somewhat dirty) fix is to open the Type340 code, make a copy of
    it and give the "new" type a new number, then compile the copy into
    a new DLL. You'll have to make a copy of the Type340 proforma as
    well. The preferred fix is to contact the Type's author and see if
    they are aware of the problem.<br>
    kind regards,<br>
     David<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/26/2015 08:57, Marcus Gustafsson
      wrote:<br>
    </div>
    <blockquote
      cite="mid:531f7b23f8c044da8a443e8293788919@ex2013mbx2.ad.du.se"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Batang";
        panose-1:2 3 6 0 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {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 70.85pt 70.85pt 70.85pt;}
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">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’m working with a project that I got from
          a colleague at another institution. I have modified the file
          to work with a larger multi-zone building (6 zones compared to
          the original 2). The simulations worked just fine when I got
          the file, but now, after making these changes, the simulation
          stops at the first time step and I get the following message:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">*** Warning at time       :        
          0.000000<o:p></o:p></p>
        <p class="MsoNormal">    Generated by Unit     :   247<o:p></o:p></p>
        <p class="MsoNormal">    Generated by Type     :   340<o:p></o:p></p>
        <p class="MsoNormal">    TRNSYS Message    409 : The
          setStorageVars subroutine was called with an array size
          greater than that requested from the call by setStorageSize
          routine. Only the variables located at and below the limit
          requested by setStorageSize will be stored for this
          simulation. Please check the formulation of the specified
          TYPE, rebuild the dynamic link library and re-run the
          simulation<o:p></o:p></p>
        <p class="MsoNormal">    Reported information  : Not available<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Now, there are two units of this type in
          this file, none of which I have touched. Does anyone know what
          this error means and how to get around it?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best regards,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#002060;mso-fareast-language:EN-GB">Marcus
              Gustafsson<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB">PhD
            student<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:2.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB">Solar
            Energy Research Center (SERC)      Dalarna University<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB">Fluid
            and Climate Technology                  KTH Royal Institute
            of Technology<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:2.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB">+46
            (0)23-778563<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB"
            lang="SV"><a moz-do-not-send="true" href="mailto:mgu@du.se"><span
                style="color:blue" lang="EN-GB">mgu@du.se</span></a></span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB"
            lang="SV"><a moz-do-not-send="true"
              href="mailto:marcug@kth.se"><span style="color:blue"
                lang="EN-GB">marcug@kth.se</span></a></span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></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>