fix for deprecated function calls
fix for deprecated function calls

FFroehlich/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,FFroehlich/AMICI,paulstapor/AMICI,FFroehlich/AMICI,paulstapor/AMICI,paulstapor/AMICI,paulstapor/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI