Modelica Library to Offshore Oilfield Simulation and Optimization