Here it is:
MethodError: no method matching parameter_values(::ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}})
Closest candidates are:
parameter_values(::ModelingToolkit.MTKParameters, !Matched::ModelingToolkit.ParameterIndex)
@ ModelingToolkit C:\Users\Bernt\.julia\packages\ModelingToolkit\353ne\src\systems\parameter_buffer.jl:318
parameter_values(::Any, !Matched::Any)
@ SymbolicIndexingInterface C:\Users\Bernt\.julia\packages\SymbolicIndexingInterface\RB8ao\src\value_provider_interface.jl:23
parameter_values(::Any, !Matched::SymbolicIndexingInterface.ParameterTimeseriesIndex, !Matched::Any)
@ SymbolicIndexingInterface C:\Users\Bernt\.julia\packages\SymbolicIndexingInterface\RB8ao\src\parameter_timeseries_collection.jl:98
...
Stacktrace:
[1] set_parameter!(sys::ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, val::Float64, idx::Nothing)
@ SymbolicIndexingInterface C:\Users\Bernt\.julia\packages\SymbolicIndexingInterface\RB8ao\src\value_provider_interface.jl:62
[2] (::SymbolicIndexingInterface.SetParameterIndex{Nothing})(prob::ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, val::Float64)
@ SymbolicIndexingInterface C:\Users\Bernt\.julia\packages\SymbolicIndexingInterface\RB8ao\src\parameter_indexing.jl:595
[3] (::SymbolicIndexingInterface.ParameterHookWrapper{SymbolicIndexingInterface.SetParameterIndex{Nothing}, Num})(prob::ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, args::Float64)
@ SymbolicIndexingInterface C:\Users\Bernt\.julia\packages\SymbolicIndexingInterface\RB8ao\src\parameter_indexing.jl:563
[4] (::ModelingToolkit.var"#309#324"{UnitRange{Int64}, UnitRange{Int64}, Vector{ModelingToolkit.ParameterIndex{SciMLStructures.Tunable, Tuple{Int64, Int64}}}, Vector{SymbolicUtils.BasicSymbolic{Real}}, ModelingToolkit.var"#307#322"{SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.AbstractStateGetIndexer}}, Nothing, Nothing, Nothing, ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.GetStateIndex{Int64}}}}, ODEFunction{true, SciMLBase.FullSpecialize, ModelingToolkit.var"#f#740"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x1693e76e, 0xc1c5f58d, 0xd3995334, 0x72760f7f, 0x68054973), Nothing}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x3128352d, 0x325aef3f, 0x55f369ce, 0x51f8a009, 0x7c5beb88), Nothing}}, UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, ModelingToolkit.ObservedFunctionCache{ODESystem}, Nothing, ODESystem, Nothing, Nothing}, NonlinearFunction{true, SciMLBase.FullSpecialize, ModelingToolkit.var"#f#564"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xdb662f8c, 0xa04d0075, 0x8580739c, 0xf64eb9c6, 0x2ec36ae2), Nothing}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfc23eb7e, 0x85194842, 0xc4beea70, 0x93ff1a17, 0xd9efaba5), Nothing}}, UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, ModelingToolkit.var"#generated_observed#567"{NonlinearSystem, Dict{Any, Any}}, Nothing, NonlinearSystem, Vector{Float64}}, SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.GetStateIndex{Int64}}}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(Symbol("##arg#6263267626277010193"), Symbol("##arg#1612620725223230266"), :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xb0c63428, 0xc3df6c9a, 0xed8eb5ad, 0x15f77e63, 0x6ee7c1f9), Nothing}, ForwardDiff.Chunk{1}, ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, Bool, GeneralizedFirstOrderAlgorithm{nothing, :TrustRegion, Missing, NonlinearSolve.GenericTrustRegionScheme{NonlinearSolve.RadiusUpdateSchemes.__Simple, Rational{Int64}, Rational{Int64}, Rational{Int64}, Rational{Int64}, Rational{Int64}, Nothing, Nothing, Nothing, Nothing}, Dogleg{NewtonDescent{Nothing, typeof(NonlinearSolve.DEFAULT_PRECS)}, SteepestDescent{Nothing, typeof(NonlinearSolve.DEFAULT_PRECS)}}, Nothing, Nothing, Nothing}, ODESystem})(u::Vector{Float64}, p::Dict{Num, Real}, t::Float64)
@ ModelingToolkit C:\Users\Bernt\.julia\packages\ModelingToolkit\353ne\src\systems\abstractsystem.jl:1977
[5] linearize(sys::ODESystem, lin_fun::ModelingToolkit.var"#309#324"{UnitRange{Int64}, UnitRange{Int64}, Vector{ModelingToolkit.ParameterIndex{SciMLStructures.Tunable, Tuple{Int64, Int64}}}, Vector{SymbolicUtils.BasicSymbolic{Real}}, ModelingToolkit.var"#307#322"{SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.AbstractStateGetIndexer}}, Nothing, Nothing, Nothing, ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.GetStateIndex{Int64}}}}, ODEFunction{true, SciMLBase.FullSpecialize, ModelingToolkit.var"#f#740"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x1693e76e, 0xc1c5f58d, 0xd3995334, 0x72760f7f, 0x68054973), Nothing}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x3128352d, 0x325aef3f, 0x55f369ce, 0x51f8a009, 0x7c5beb88), Nothing}}, UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, ModelingToolkit.ObservedFunctionCache{ODESystem}, Nothing, ODESystem, Nothing, Nothing}, NonlinearFunction{true, SciMLBase.FullSpecialize, ModelingToolkit.var"#f#564"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xdb662f8c, 0xa04d0075, 0x8580739c, 0xf64eb9c6, 0x2ec36ae2), Nothing}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfc23eb7e, 0x85194842, 0xc4beea70, 0x93ff1a17, 0xd9efaba5), Nothing}}, UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, ModelingToolkit.var"#generated_observed#567"{NonlinearSystem, Dict{Any, Any}}, Nothing, NonlinearSystem, Vector{Float64}}, SymbolicIndexingInterface.MultipleGetters{Vector{SymbolicIndexingInterface.GetStateIndex{Int64}}}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(Symbol("##arg#6263267626277010193"), Symbol("##arg#1612620725223230266"), :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xb0c63428, 0xc3df6c9a, 0xed8eb5ad, 0x15f77e63, 0x6ee7c1f9), Nothing}, ForwardDiff.Chunk{1}, ModelingToolkit.MTKParameters{Tuple{Vector{Float64}}, Tuple{}, Tuple{}, Tuple{}, Tuple{}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x75594a42, 0xbfd4c1c3, 0xf1899263, 0x472d7113, 0xbef2191e), Expr}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1,), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xc3216e66, 0x27d6214a, 0x820916f4, 0x84591f82, 0x2d8b6a7c), Expr}}, Bool, GeneralizedFirstOrderAlgorithm{nothing, :TrustRegion, Missing, NonlinearSolve.GenericTrustRegionScheme{NonlinearSolve.RadiusUpdateSchemes.__Simple, Rational{Int64}, Rational{Int64}, Rational{Int64}, Rational{Int64}, Rational{Int64}, Nothing, Nothing, Nothing, Nothing}, Dogleg{NewtonDescent{Nothing, typeof(NonlinearSolve.DEFAULT_PRECS)}, SteepestDescent{Nothing, typeof(NonlinearSolve.DEFAULT_PRECS)}}, Nothing, Nothing, Nothing}, ODESystem}; t::Float64, op::Dict{Num, Real}, allow_input_derivatives::Bool, p::SciMLBase.NullParameters)
@ ModelingToolkit C:\Users\Bernt\.julia\packages\ModelingToolkit\353ne\src\systems\abstractsystem.jl:2269
[6] linearize(sys::ODESystem, inputs::Vector{Num}, outputs::Vector{Num}; op::Dict{Num, Real}, t::Float64, allow_input_derivatives::Bool, zero_dummy_der::Bool, kwargs::@Kwargs{})
@ ModelingToolkit C:\Users\Bernt\.julia\packages\ModelingToolkit\353ne\src\systems\abstractsystem.jl:2320
[7] top-level scope
@ c:\Users\Bernt\OneDrive\Documents\booksBLSOL\Julia\Notebooks\J6_ModelingToolkit-intro.ipynb:1