Opened 6 years ago

Last modified 6 years ago

#5149 new defect

Discrete integer input causes internal error when generating code (but validated without any errors)

Reported by: anatoly.trosinenko@… Owned by: Lennart Ochel
Priority: high Milestone: Future
Component: Backend Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

How to reproduce

Either compile the following model to FMU or simulate:

model TestInt
  discrete input Integer inInt;
end TestInt;

What is expected

Compiled without error or with some meaningful error.

What really happens

[/build/openmodelica-FcUrBU/openmodelica-1.13.0~dev-1491-g87333c1/OMCompiler/Compiler/BackEnd/BackendDAECreate.mo:1121:9-1121:82:writable] Error: Internal error function lowerKnownVarkind failed
Error: Internal error BackendDAECreate.lowerKnownVar failed for   discrete input Integer inInt;
Error: Internal error BackendDAECreate.lowerVar failed for   discrete input Integer inInt;

Attachments (1)

TestInt.mo (58 bytes ) - added by anatoly.trosinenko@… 6 years ago.

Download all attachments as: .zip

Change History (2)

by anatoly.trosinenko@…, 6 years ago

Attachment: TestInt.mo added

comment:1 by anatoly.trosinenko@…, 6 years ago

Summary: Discrete integer input causes intenal error when generating code (but validated without any errors)Discrete integer input causes internal error when generating code (but validated without any errors)
Note: See TracTickets for help on using tickets.