﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6424	linear_model.py : two syntax errors	anonymous	arunkumar palanisamy	"Good morning, 

after call of linearize with --linearizationDumpLanguage=python there is two syntax erros 

def linearized_model() should be terminate by : so 
def linearized_model():

No ""end"" at the end of file in python

In file : OpenModelica-master/OMCompiler/Compiler/Template/CodegenC.tpl

template functionlinearmodelPython from line 4806 to 4845 

in particular line 4821 :
   return ""def linearized_model()\n""

become   return ""def linearized_model():\n""

lines 4837-3488 
   ""  return (n, m, p, x0, u0, A, B, C, D)\n""
   ""end"";

become ""  return (n, m, p, x0, u0, A, B, C, D)\n"";

Best regards
"	defect	assigned	low		*unknown*	1.16.2		Linearized_model python	
