Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#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 Lennart Ochel, 9 years ago

Milestone: Future1.9.4
Resolution: fixed
Status: newclosed

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

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

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

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

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.