Opened 7 years ago

Closed 7 years ago

#4661 closed defect (fixed)

Discrete expressions not recognized by NF

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check

https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1.err

The following error is reported:

  [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS
   /OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2
   /Blocks/Sources.mo:3053:5-3062:13:writable]
  Error: Function argument y=booleanTable.nextTime is not a
  discrete expression.

Subsequently, pre() fails because of that.

Change History (3)

comment:1 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in 117eefb.

Last edited 7 years ago by Per Östlund (previous) (diff)

comment:2 by Per Östlund, 7 years ago

Resolution: fixed
Status: closedreopened

comment:3 by Per Östlund, 7 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in aa363fe. The model now fails in removeSimpleEquations.

Note: See TracTickets for help on using tickets.