Opened 11 years ago

Last modified 11 years ago

#2310 closed defect

referenced a variable that was not declared as a <variable> — at Initial Version

Reported by: Lennart Ochel Owned by: probably noone
Priority: critical Milestone: 1.9.0
Component: Code Generation Version: trunk
Keywords: Cc: Adeel Asghar, Martin Sjölund

Description

This model should probably be simulated without errors:

model foo
  Real a;
  Real b;
initial equation
  pre(a) = b^2;
equation
  der(a) = time;
  when initial() then
    b = pre(a);
  end when;
end foo;

output:

assert            | assert  | Referenced a variable that was not declared as a <variable>


Process crashed

Change History (0)

Note: See TracTickets for help on using tickets.