Opened 10 years ago

Closed 10 years ago

#2726 closed defect (fixed)

Failed to build simulator - working with arrays of records (not in function/algorithm)

Reported by: Andreas Hofmann Owned by: somebody
Priority: blocker Milestone: 1.9.2
Component: *unknown* Version: trunk
Keywords: Cc:

Description

Hi again,

since wbraun told me there are issues with arrays of records within algorithms/functions I did rework my model and got the whole thing within a normal model (all computation is parameter allocation).

The problem is the access of arrays within the for-loop.
This causes the compiler to fail creating the simulator.

Find attached an example model with the issue.

Best regards,
Andreas

Attachments (1)

foobar.mo (1.2 KB ) - added by Andreas Hofmann 10 years ago.

Download all attachments as: .zip

Change History (3)

by Andreas Hofmann, 10 years ago

Attachment: foobar.mo added

comment:1 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:2 by Mahder Alemseged Gebremedhin, 10 years ago

Resolution: fixed
Status: newclosed

This must be fixed since r24578. However your actual model (not the attached one) might still have issues and I think I might now why. If you still have the model and it does not work yet please create a new ticket with it so I can have a look.

Since the attached model works now I am gonna close this ticket.

Note: See TracTickets for help on using tickets.