In fmiExtensions.jl the typing of the input arguments as ::FMICore.FMU2Component causes errors.
Removing the type of comp resolves the issue:
Line 46:
function fmiEvaluateEq(comp, eq::Integer)::fmi2Status
Line 82:
function fmiEvaluateRes(comp, eq::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}
Line 121:
function fmiEvaluateJacobian(comp, eqNumber::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}
In
fmiExtensions.jlthe typing of the input arguments as::FMICore.FMU2Componentcauses errors.Removing the type of
compresolves the issue:Line 46:
function fmiEvaluateEq(comp, eq::Integer)::fmi2StatusLine 82:
function fmiEvaluateRes(comp, eq::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}Line 121:
function fmiEvaluateJacobian(comp, eqNumber::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}