Opened 6 years ago

Closed 6 years ago

#5151 closed defect (fixed)

Internal error NFCeval.evalBuiltinCall: unimplemented case for inferredClock

Reported by: Rüdiger Franke Owned by: Per Östlund
Priority: blocker Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc: Adrian Pop

Description (last modified by Rüdiger Franke)

The following model was passing the new frontend until recently:

  model NewNFBug
    input Real u;
    Real x(start = 1, fixed = true);
    Real ud = sample(u, Clock(0.1));
  equation
    der(x) = ud;
  end NewNFBug;

Today it produces the error:

[OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1540:9-1541:51:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for inferredClock

Change History (5)

comment:1 by Per Östlund, 6 years ago

Cc: Adrian Pop added

comment:3 by Rüdiger Franke, 6 years ago

Description: modified (diff)

comment:4 by Rüdiger Franke, 6 years ago

Description: modified (diff)

comment:5 by Per Östlund, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in 689e959.

Note: See TracTickets for help on using tickets.