Removed the assert.
Corrected type of input argument.
Change algorithm to equation and corrected size declaration.
Corrected class of material
Merge pull request #299 from lbl-srg/openmodelica

Merge openmodelica branch