﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5557	RT-Simulation failed due to getBestJumpBuffer() function	Arinomo <trista.arinomo@…>	Lennart Ochel	"Tried to simulate a FMU that included a lookup table with external table. Text file was included in FMUroot/resources/... when exporting the model in OM.

Running it in a rt-simulation was unseccessful and from further de-bugging i've got

{{{
 #0 0x0808a123 in getBestJumpBuffer ()
 #1  0x0808a85d in va_throwStreamPrint ()
 #2  0x0808b722 in OpenModelica_Simulation_ModelicaVFormatError ()
 #3  0x0808b7c5 in ModelicaFormatError ()
 #4  0x080573dc in ModelicaIO_readRealTable ()
 #5  0x0805001e in ModelicaStandardTables_CombiTable1D_init2 ()
 #6  0x08092b9b in omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor ()
 #7  0x0809312e in FMUwithExternalTable_eqFunction_13 ()
 #8  0x0809358f in FMUwithExternalTable_updateBoundParameters_0 ()
 #9  0x080936e6 in FMUwithExternalTable_updateBoundParameters ()
 #10 0x08083ef4 in FMUwithExternalTable_fmi2ExitInitializationMode ()
 #11 0x080814bd in FMUwithExternalTable_DSFMUStartMdl ()
 #12 0x080807cd in ApSimEngineOnStart(DsCErrorListPool&) ()
 #13 0x08080c3c in DsCApplicationMain::onStart(DsCErrorListPool&) ()
 #14 0xb8544b60 in ?? ()
}}}

dSPACE support suggested the error is due to getBestJumpBuffer function.

I've looked into omc_error.c file to find a clue if some macro needs to be define/undefine as it a common fixed when implementing FMU from OM in dSPCACE environment, but still no solution found.

At the begining of {{{omc_error.c}}} there is a {{{setjmp.h}}} that being included but i seems can not found this h-file inside the FMU source file?

could the missing h-file that resulted in error? it's seems strange becaue when compiling the rt-application, there was no indication/error about missing h-file.

maybe someone has some pointer, would be much appriciated.
 "	discussion	closed	blocker	2.0.0	FMI	v1.14.0-dev-nightly	fixed		Andreas Heuermann Niklas Worschech
