﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4759	Issue with code genereated from the NF regarding when conditions	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.err Modelica.Blocks.Examples.Interaction1]. The following error occurs:
{{{
Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.o Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.c
Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.c:237:69: error: assigning to 'modelica_boolean' (aka 'signed char') from incompatible type 'boolean_array' (aka 'struct base_array_s')
  data->localData[0]->booleanVars[3] /* $whenCondition4 DISCRETE */ = tmp14;
                                                                    ^ ~~~~~
}}}

There is probably something wrong in the NF-generated DAE structure concerning conditions in when statements, that breaks the template later on."	defect	closed	high	2.0.0	New Instantiation		fixed		
