﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5367	Generated FMU missing events in other tools	Andreas Heuermann	Andreas Heuermann	"When exporting BouncingBall
{{{
model BouncingBallFMI20
  parameter Real e=0.7 ""coefficient of restitution"";
  parameter Real g=9.81 ""gravity acceleration"";
  Real h(start=1) ""height of ball"";
  Real v ""velocity of ball"";
  Real v_new;
equation
  der(v) = -g;
  der(h) = v;

  when h <= 0.0 then
    v_new = -e*pre(v);
    reinit(v, v_new);
  end when;
end BouncingBallFMI20;

}}}
as ModelExchange 2.0 FMU with `omc` and simulating with Dymola or FMUComplianceChecker the event triggered by `when h <= 0.0` is not found by those tools.

At least OMC and OMSimulator are simulating correctly.
Maybe our fmi2GetEventIndicators function is not correct any more."	defect	closed	blocker	1.16.0	FMI	v1.16.0-dev	fixed	fmi export	Lennart Ochel
