Opened 10 years ago
Last modified 9 years ago
#3045 assigned defect
Erroneous Nominal min and max for swArc component — at Initial Version
Reported by: | anonymous | Owned by: | somebody |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | Backend | Version: | trunk |
Keywords: | indexReduction | Cc: |
Description
The enclosed component "sparkGeneration", when run with #23772 creates the error message shown below.
It seems there is an error in the translation of component Modelica.Electrical.Analog.Ideal.CloserWithArc.
ERROR MESSAGE
"C:\OpenModelica
MinGW\bin\mingw32-make.exe" -j4 -f sparkGeneration.makefile
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o sparkGeneration.o sparkGeneration.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o sparkGeneration_functions.o sparkGeneration_functions.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o sparkGeneration_records.o sparkGeneration_records.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o sparkGeneration_01exo.o sparkGeneration_01exo.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o sparkGeneration_02nls.o sparkGeneration_02nls.c
sparkGeneration.c: In function 'sparkGeneration_eqFunction_48':
sparkGeneration.c:154: error: 'BOOLEAN_ATTRIBUTE' has no member named 'min'
sparkGeneration.c:154: error: 'BOOLEAN_ATTRIBUTE' has no member named 'max'
mingw32-make: * [sparkGeneration.o] Error 1
mingw32-make: * Waiting for unfinished jobs....
sparkGeneration_02nls.c: In function 'initializeStaticNLSData23':
sparkGeneration_02nls.c:77: error: 'BOOLEAN_ATTRIBUTE' has no member named 'nominal'
sparkGeneration_02nls.c:78: error: 'BOOLEAN_ATTRIBUTE' has no member named 'min'
sparkGeneration_02nls.c:79: error: 'BOOLEAN_ATTRIBUTE' has no member named 'max'
sparkGeneration_02nls.c: In function 'initializeStaticNLSData48':
sparkGeneration_02nls.c:178: error: 'BOOLEAN_ATTRIBUTE' has no member named 'nominal'
sparkGeneration_02nls.c:179: error: 'BOOLEAN_ATTRIBUTE' has no member named 'min'
sparkGeneration_02nls.c:180: error: 'BOOLEAN_ATTRIBUTE' has no member named 'max'
mingw32-make: * [sparkGeneration_02nls.o] Error 1
Compilation process exited with code 2