added external cosim c++ generation and lib