Opened 13 years ago
Closed 13 years ago
#1823 closed defect (fixed)
Error when using constant in connector
| Reported by: | julian.wyszynski | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.0 |
| Component: | Frontend | Version: | |
| Keywords: | Cc: |
Description
The model "model3" in the attached package connectError.mo is working in Dymola but not in OMShell giving out "Error building simulator". If you change the "constant" into "parameter" in the Connector the problem is solved.
Is it forbidden to use constants in Connector class?
Attachments (1)
Change History (3)
by , 13 years ago
| Attachment: | connectError.mo added |
|---|
comment:1 by , 13 years ago
| Component: | Backend → Frontend |
|---|---|
| Owner: | changed from to |
| Status: | new → accepted |
This is due to the constants not being evaluated while generating the assertion.
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Fixed in r13006 with regression test added: trunk/testsuite/mosfiles/ConstantConnect.mo and trunk/testsuite/mosfiles/ConstantConnect.mos
Note:
See TracTickets
for help on using tickets.

Package showing error