﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2776	Process crashed: Simulation process exited with code 0 on FMU import	rfranke@…	Willi Braun	"The attached package contains a model that runs in OpenModelica 1.9.1+dev (r21825), but fails if exported and re-imported through FMI.

The package contains the model `Calculations.Components.OverallPumpEfficiency`, which divides the delivered pump power by the applied shaft power. The model is wrapped into `Calculations.PumpEfficiencyMeter`. The latter runs correctly in `Calculations.PumpEfficiencyMeterTest`. 

The alternative model `Calculations.PumpEfficiencyMeterTestFMU` does the same, but re-imports Calculations.PumpEfficiencyMeter as FMU. The initialization fails with a division by zero -- the input P_shaft must be assigned a value before the equations can be evaluated!

Moreover: the translation raises warnings of the form:
{{{
[/tmp/OpenModelica_rfranke/OMEdit/Calculations_PumpEfficiencyMeter_me_FMU.mo:23:3-23:88] Warning: Parameter calculations_pumpefficiencymeter_me_fmu1.eta_o_D_deliver has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value.
}}}
Shouldn't the FMU importer assign a value
{{{
  parameter Real eta_o_D_deliver = 0.5;
}}}
instead of a fixed start value
{{{
  parameter Real eta_o_D_deliver(start = 0.5, fixed = true);
}}}
"	defect	closed	high	1.9.2	FMI	trunk	fixed		Willi Braun
