lbl-srg / modelica-buildings

Modelica Buildings library
250 stars 155 forks source link

Examples.SingleUTubeBoundaryCondition hangs #45

Closed mwetter closed 11 years ago

mwetter commented 11 years ago

When running dymola run.mos with Dymola 2012-FD01 on Linux, where run.mos contains the lines {{{ openModel("package.mo"); Modelica.Utilities.Files.remove("unitTests.log"); RunScript("Resources/Scripts/Dymola/Fluid/HeatExchangers/Boreholes/BaseClasses/Examples/SingleUTubeBoundaryCondition.mos"); // Save log file savelog("unitTests.log"); Modelica.Utilities.System.exit(); }}} then Dymola 2012-FD01 does not return. The same behavior has been observed when the example is run from the pull-down menu.

The example works with Dymola 2012 for Linux.

mwetter commented 11 years ago

[mwetter] Fixed bug in {{{freeArray.c}}}, which called {{{ free(table->n) }}} where {{{n}}} is an {{{int}}}. This caused Dymola 2012-FD01 to hang.