LPS-50359 add TreeModel boilerplate when generating CLP model