﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2686	error type: error when building simulator	Adrian Pop	Mahder Alemseged Gebremedhin	"Hello!
I have already sent you another question a couple of hours ago. Here comes the next one:

The error message that shows is

""error when building the simulator
gcc   -falign-functions -msse2 -mfpmath=sse     -I""C:/Users/SRL1LO/Downloads/OpenModelica/build/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o example2.testmodel.o example2.testmodel.c

gcc   -falign-functions -msse2 -mfpmath=sse     -I""C:/Users/SRL1LO/Downloads/OpenModelica/build/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o example2.testmodel_functions.o example2.testmodel_functions.c

gcc   -falign-functions -msse2 -mfpmath=sse     -I""C:/Users/SRL1LO/Downloads/OpenModelica/build/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o example2.testmodel_records.o example2.testmodel_records.c

gcc   -falign-functions -msse2 -mfpmath=sse     -I""C:/Users/SRL1LO/Downloads/OpenModelica/build/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o example2.testmodel_01exo.o example2.testmodel_01exo.c

example2.testmodel.c: In function 'example2_testmodel_eqFunction_3':

example2.testmodel.c:115: error: expected expression before 'modelica_integer'

example2.testmodel.c:115: error: expected ')' before '$Pi$rB$Psignal'

mingw32-make: *** [example2.testmodel.o] Error 1

mingw32-make: *** Waiting for unfinished jobs.... ""

As in the previously sent model,I simplified a complexe model to better show the problem. 

Please simulate ""testmodel"" that can be found in the package ""example2"".

The type used in the package consists of an integer(signal) and of an enumeration (dataType), that represents the datatype of the integer. 
An input (InputConnector), output (OutputConnector) and a source  of that type can be found in the package aswell. 

"	defect	closed	high	1.16.0	Code Generation	trunk	fixed		Mahder Alemseged Gebremedhin
