Opened 19 years ago

Last modified 14 years ago

#73 closed defect (wontfix)

OMC cannot handle Modelica.Blocks.Sources.TimeTable

Reported by: gerdin Owned by: gerdin
Priority: critical Milestone:
Component: Version:
Keywords: Cc: gerdin, Adrian Pop

Description

Read comments.

Change History (3)

comment:1 by gerdin, 19 years ago

(The version should be 1.4.0, but it was not available for selection.)

It seems like the compiler cannot handle the component
"Modelica.Blocks.Sources.TimeTable".

I tried the code

model tabletest

Modelica.Blocks.Sources.TimeTable x;

equation

end tabletest;

and omc returned the error

*
lower_statement_input_outputs finished yet
-build_model failed
*

The code works in Dymola.

comment:2 by Peter Aronsson, 18 years ago

This is because this model uses Dymola specific code for storing table of data
on file. It should probably not be in the standard library. This can be
implemented using ExternalObjects instead. See mosfiles/ExtObj.*

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

This works using omlibrary (the MSL that comes with OpenModelica). It did not work in standard MSL, so I assume Adrian made some changes to it. Regardless, I close this as WONTFIX.

Note: See TracTickets for help on using tickets.