﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2782	Code generation fails on Jacobian columns	Bill Janssen	Volker Waurich	"I'm seeing a compile error (using r21903 on OS X), which seems to be down to incorrect code generation:

{{{
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4231:50: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac4_column'
  linearSystemData[0].analyticalJacobianColumn = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac4_column;
                                                 ^
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4232:51: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac4'
  linearSystemData[0].initialAnalyticalJacobian = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac4;
                                                  ^
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4243:50: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac5_column'
  linearSystemData[1].analyticalJacobianColumn = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac5_column;
                                                 ^
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4244:51: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac5'
  linearSystemData[1].initialAnalyticalJacobian = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac5;
                                                  ^
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4255:50: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac6_column'
  linearSystemData[2].analyticalJacobianColumn = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_functionJacNLSJac6_column;
                                                 ^
C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.c:4256:51: error: use of undeclared identifier 'C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac6'
  linearSystemData[2].initialAnalyticalJacobian = C2M2L_Decl_Mechanics_MultiBody_Joints_Tests_Test_Universal_Joint_initialAnalyticJacobianNLSJac6;
                                                  ^
6 errors generated.
make: *** [C2M2L_Decl.Mechanics.MultiBody.Joints.Tests.Test_Universal_Joint_03lsy.o] Error 1
}}}

Unfortunately, this model is too large and too IP-encumbered to share with you.  I am hoping you can figure out what the problem is from these error messages."	defect	closed	high	1.9.4	Code Generation	trunk	fixed		
