﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3956	no member named 'method' in 'struct NONLINEAR_SYSTEM_DATA'	robert@…	somebody	"When building a model (still struggling with creating a simple example to attach to the ticket) with algebraic loops in it I got the following error message from clang:

ASM1Plant_02nls.c:698:26: error: no member named 'method' in 'struct NONLINEAR_SYSTEM_DATA'
  nonLinearSystemData[0].method = 0;
  ~~~~~~~~~~~~~~~~~~~~~~ ^
ASM1Plant_02nls.c:710:26: error: no member named 'method' in 'struct NONLINEAR_SYSTEM_DATA'
  nonLinearSystemData[1].method = 0;
  ~~~~~~~~~~~~~~~~~~~~~~ ^
33 warnings and 2 errors generated.
<builtin>: recipe for target 'ASM1Plant_02nls.o' failed
make: *** [ASM1Plant_02nls.o] Error 1
make: *** Waiting for unfinished jobs....

Checking the omc/c/simulation_data.h file revealed that there is a 'method' member in LINEAR_SYSTEM_DATA, there is one in in MIXED_SYSTEM_DATA both with a 'not used yet' comment, however, the NONLINEAR_SYSTEM_DATA struct misses the mentioned member. 

I experienced the behavior in OMC version OpenModelica 1.10.0~dev-723-g6da1434 on Ubuntu 16.04, using clang version 3.8.0-2ubuntu3 (tags/RELEASE_380/final). "	defect	closed	normal	Future	Run-time	v1.10.0-dev-nightly	invalid		
