I'm trying to do an AD conversion with ADC blocks and Simplified C Block to DSP 2837X. But it results in the following error.

I read that the Simplified C Block is compatible with the Sim Coder, what would be the problem?
Code below:
in[0] = x1;
out[0] = y1;
out[1]=y2;
if (x1 > 3.0)
{
y1=3;
y2=0;
}
else
{
y1=0;
y2=2.75;
}