$sincos is not part of the SystemVerilog standard. The code you are using probably depends on some extra PLI libraries. But you can easily use DPI to import most match functions in the GNU libm
module top;
import "DPI-C" function void sincos(real angle, output real sin, cos);
real s,c, r;
initial begin
r = 0;
sincos(r,s,c);
$display(r,,s,,c);
r = 1.57;
sincos(r,s,c);
$display(r,,s,,c);
end
endmodule