Opened 9 years ago

Closed 7 years ago

#3780 closed defect (worksforme)

wrong array dimension size unless Evaluate=true is set

Reported by: Michael Wetter Owned by: somebody
Priority: normal Milestone: Future
Component: *unknown* Version:
Keywords: Cc:

Description

The test model
Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength
fails with

base_array.c: array dimension size for dimension 0 is -1 < 0!
Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength: util/string_array.c:96: void copy_string_array_data(const string_array_t, string_array_t *): Assertion `base_array_ok(dest)' failed.
Aborted

If {{Evaluate=true}}} is set as in commit
https://github.com/lbl-srg/modelica-buildings/commit/697fff65a8001318636921c4fb85b5a0b0318d96
then the model works.

I will fix this in the Buildings library, but wanted to report it so it can be corrected in OpenModelica too.

Change History (1)

comment:1 by Francesco Casella, 7 years ago

Resolution: worksforme
Status: newclosed

https://test.openmodelica.org/libraries/Buildings/BuildModelRecursive.html reports this model to run correctly as of 09 Oct 2017.

Note: See TracTickets for help on using tickets.