Opened 9 years ago

Closed 7 years ago

#3600 closed defect (worksforme)

Hierarchical stream connectors are not handled correctly

Reported by: Francesco Casella Owned by: somebody
Priority: high Milestone: 2.0.0
Component: Frontend Version:
Keywords: Stream connectors Cc: alberto.leva@…

Description (last modified by Francesco Casella)

If a hierarchical connector contains N > 1 stream connectors, the compiler complains:

Invalid stream connector XXX: A stream connector must have exactly one flow variable, this connector has N flow variables.

This is incorrect: each individual connector has its own flow variable, and these should not be mixed up when generating the expressions for inStream() and actualStream() involving them.

In order to handle hierarchical stream connectors, one should not just flatten them out. Separate connection sets should be built for each individual stream connector in the hierarchical connector

The attached package demonstrates the problem

Attachments (1)

TestConnector.mo (1.3 KB ) - added by Francesco Casella 9 years ago.
Test package

Download all attachments as: .zip

Change History (7)

by Francesco Casella, 9 years ago

Attachment: TestConnector.mo added

Test package

comment:1 by Francesco Casella, 9 years ago

Description: modified (diff)

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:4 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:5 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:6 by Francesco Casella, 7 years ago

Milestone: 1.12.02.0.0
Resolution: worksforme
Status: newclosed

Works with the new front-end (-d=newInst), which will become the default front-end with version 2.0.0

Note: See TracTickets for help on using tickets.