﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6228	Updated SUNDIALS KINSOL failing on Cpp runtime	Andreas Heuermann	Andreas Heuermann	"With the update of SUNDIALS to 5.4.0 we got some [https://libraries.openmodelica.org/branches/history/newInst/2020-11-09%2020:32:27..2020-11-10%2020:33:05.html new failing test] from MSL with the Cpp runtime.

Let's look at the example Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 from MSL 3.2.1:

{{{
loadModel(Modelica,{""3.2.1""}); getErrorString();
setCommandLineOptions(""-d=newInst --simCodeTarget=Cpp""); getErrorString();
simulate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1); getErrorString();
}}}

KINSOL will fail with `KIN_LSETUP_FAIL -11 The linear solver’s setup function failed in an unrecoverable manner.`
The Cpp runtime before the [https://github.com/OpenModelica/OpenModelica/commit/cafcb06c93f4c91a97aee51abb0e86f69ed5769a SUNDIALS upgrade PR] passed this test."	defect	reopened	blocker	1.19.0	Cpp Run-time	v1.17.0-dev		sundials, kinsol	Niklas Worschech
