﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1688	Reinit of non-state variables	Martin Sjölund	Lennart Ochel	"The following model is accepted by OpenModelica, but should not:
{{{
model M
  Real r = time;
equation
  when sample(0,0.1) then
    reinit(r, 2*time);
  end when;
end M;
}}}

The appropriate error should be:
{{{Cannot use reinit() on r as it cannot be selected as a state variable}}}"	defect	assigned	high	Future	Backend				Adrian Pop Martin Sjölund Jens Frenkel
