﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4192	Cannot set discrete inputs for Co-Simulation FMU	anatoly.trosinenko@…	Lennart Ochel	"When building CS FMU version 2, I cannot set Integer and Boolean inputs between steps. FMU Checker cannot pass input csv to the model too.

== How to reproduce ==

1. Set up the following FMU generation parameters
   * Version: 2.0
   * Type: Co-Simulation
2. Build the following test model to FMU:
{{{
#!modelica
model DiscreteInput
  input Integer int;
end DiscreteInput;
}}}
3. Pass the following input to this FMU using FMU Checker ver. 2.0.3
{{{
""time"",""int""
0.0,0
0.1,1
0.2,2
}}}
{{{
fmuCheck.linux64 -l 6 -i input.csv DiscreteInput.fmu
}}}

== What is expected ==

The FMU passes validation.

== What really happens ==

An error occurres when setting Integer inputs:
{{{
[FMU][logStatusError][FMU status:Error] fmi2SetInteger: Illegal call sequence. fmi2SetInteger is not allowed in Continuous-Time Mode state.
}}}
See the log attached for details.
"	defect	closed	high	1.12.0	FMI	v1.12.0	fixed		
