﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2788	Enumerated types causing errors	klenk@…	Willi Braun	"When I attempt to simulate the model Test.SimpleEngine_pass from the attached file, I get the follow error.  This model works with omc r21000, but does not work with the latest nightly version of omc r21957.  I see similar errors in all of my models that use enumerated types.

Warning: The initial conditions are not fully specified. Use +d=initialization for more information.                                                          
Error: Error building simulator. Build log: clang  -fPIC     -I""/usr/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o G18802.o G18802.c      
clang  -fPIC     -I""/usr/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o G18802_functions.o G18802_functions.c                              
clang  -fPIC     -I""/usr/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o G18802_records.o G18802_records.c                                  
clang  -fPIC     -I""/usr/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o G18802_01exo.o G18802_01exo.c                                      
clang  -fPIC     -I""/usr/include/omc/c"" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME  -c -o G18802_02nls.o G18802_02nls.c                                      
G18802_02nls.c:50:43: error: no member named 'nominal' in 'struct INTEGER_ATTRIBUTE'                                                                          
  nlsData->nominal[i] = $P$ATTRIBUTE$PReq.nominal;                                                                                                            
                        ~~~~~~~~~~~~~~~~~ ^                                                                                                                   
G18802_02nls.c:70:43: error: no member named 'nominal' in 'struct INTEGER_ATTRIBUTE'                                                                          
  nlsData->nominal[i] = $P$ATTRIBUTE$PReq.nominal;                                                                                                            
                        ~~~~~~~~~~~~~~~~~ ^                                                                                                                   
2 errors generated.                                                                                                                                           
make: *** [G18802_02nls.o] Error 1                                                                                            "	defect	assigned	high	Future	Code Generation	trunk			Lennart Ochel Willi Braun
