This paper presents the development of ADMLib, a new high-productivity and efficient Modelica package to model and simulate anaerobic digestion systems inside the structured modeling framework. Library components were organized into subpackages to encompass growth kinetics, non-biochemical reaction kinetics, acid-base, heat transfer, and inhibition processes, as well as the characteristics of substances and gas phase. A validation of the dynamic behavior response was performed where the implemented functions were used to simulate different bibliographic models. A brief performance analysis was carried out, in order to evaluate the component-based approach of ADMLib against the traditional differential algebraic equation (DAE) systems. The implementation testing demonstrated that the developed package was reliable, usable, and performant.