Generic OnOff and Generic level models


I was trying to add generic onoff server model to the dimming server example in order to On/OFF and Dim the LED on the nRF52 Dev board using nRF Mesh App. I added all the files, paths and modules into the example, increased the access model count, also increased element count and added onoff server and level server in different elements. It results in a mesh error. 

Individual models can be implemented but not both at a time. Any additional changes required to make this example work?

Thank you.