#2071 closed defect (worksforme)
Template error: ExpressionDumpTpl.dumpExp: Unknown expression.
Reported by: | Christian Schubert | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Code Generation | Version: | trunk |
Keywords: | Template Unknown expression | Cc: | Adrian Pop, Jens Frenkel, Martin Sjölund |
Description
Hi,
our very simple model of a Pendulum does not work with the current trunk (r15241) anymore, because of
[lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1470:5-1473:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Interfaces.mo:14:5-21:19:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1470:5-1473:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Interfaces.mo:14:5-21:19:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1474:5-1476:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1470:5-1473:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Interfaces.mo:14:5-21:19:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1474:5-1476:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Interfaces.mo:14:5-21:19:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1474:5-1476:72:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Interfaces.mo:14:5-21:19:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:673:5-677:65:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:678:5-679:69:writable] Error: Template error: Unknown operation [lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Frames.mo:10:5-10:73:writable] Error: Template error: Unknown operation Error: Template error: ExpressionDumpTpl.dumpExp: Unknown expression. Error: Template error: A template call failed (a call with 1 parameter). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates preserve pure 'match'/non-failing semantics).}}}
You'll find the needed files to reproduce this problem attached.
Attachments (2)
Change History (4)
by , 12 years ago
Attachment: | Pendulum.mo added |
---|
by , 12 years ago
Attachment: | Pendulum_10.mos added |
---|
comment:1 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Do make clean or checkout a clean trunk and you'll see that it actually works.