Add redeclare replaceable

- Use redeclare replaceable instead of redeclare since the classes are redeclared again
- See also https://trac.openmodelica.org/OpenModelica/wiki/WritingCompliantLibraries)