#3080 closed defect (fixed)
XML code generation doesn't work for Clock equations
| Reported by: | anonymous | Owned by: | Lennart Ochel |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.4 |
| Component: | Code Generation | Version: | trunk |
| Keywords: | Cc: |
Description
$ omc +s --simCodeTarget=XML Example.mo
class Example
Real x;
initial equation
x = 0.0;
equation
when Clock() then
x = 1.0 + previous(x);
end when;
end Example;
Error processing file: Example.mo
[CodegenXML.tpl:3816:14-3816:14:writable] Error: Template error: expTypeShortXml:<function>() => Clock
Change History (3)
comment:1 by , 10 years ago
| Milestone: | Future → 1.9.4 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

In the meantime the xml file gets generated without any error message.