﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1720	error FMU	mohamed	mohamed	"Dear all, \\

I tried to generate the Fmu file of a model whitin OMShell using the \\script: translateModelFMU(modelname) \\I have the following error generated: \\In function 'modelname_fmiInitialize': \\C:/OpenModelica1.8.1//include/omc/fmu_model_interface.c:559: error: too few arguments to function 'initialization' \\mingw32-make: *** [modelnamed_FMU.o] Error 1 \\ \\

Trying to fix this error(few arguments),and by reusing the same script I have this error: \\Error: Error building simulator. Buildlog: gcc  -I""C:/OpenModelica1.8.1//include/omc"" -O2 -falign-functions -msse2 -mfpmath=sse   \\-I""C:/OpenModelica1.8.1//include/omc"" -I.    -c -o ab_FMU.o ab_FMU.c \\gcc  -I""C:/OpenModelica1.8.1//include/omc"" -O2 -falign-functions -msse2 -mfpmath=sse   \\-I""C:/OpenModelica1.8.1//include/omc"" -I.    -c -o ab.o ab.c \\gcc  -I""C:/OpenModelica1.8.1//include/omc"" -O2 -falign-functions -msse2 -mfpmath=sse   \\-I""C:/OpenModelica1.8.1//include/omc"" -I.    -c -o ab_records.o ab_records.c \\g++ -shared -I. -o ab.dll ab_FMU.o ab.o ab_records.o  -I""C:/OpenModelica1.8.1//include/omc"" -I.      \\ -I""C:/OpenModelica1.8.1//include/omc"" -O2 -falign-functions -msse2 -mfpmath=sse  \\ -L""C:/OpenModelica1.8.1//lib/omc"" -lSimulationRuntimeC -linteractive -lregex -lexpat  \\-static-libgcc -luuid -lole32 -lws2_32  -Wl,-Bstatic -lf2c -Wl,-Bdynamic -Wl,--kill-at \\ab_FMU.o:ab_FMU.c:(.text+0x16a2): undefined reference to `functionAliasEquations' \\collect2: ld returned 1 exit status \\mingw32-make: *** [ab.dll] Error 1 \\ \\

Best regards, \\Mohamed, \\"	defect	closed	blocker	1.9.0	Code Generation		fixed		mohamed
