Opened 7 years ago
Closed 7 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 )
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 , 7 years ago
| Cc: | added |
|---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 7 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.

The model works again when reverting the last two commits to the new frontend:
https://github.com/OpenModelica/OMCompiler/commit/2e848178051cefdfd24f4451bcff7d6217182cdc
https://github.com/OpenModelica/OMCompiler/commit/5468d69debda8e7b19eba4f3d4c312ce7cfe2042