can't retrieve the results back from JModelica to Python
问题 Following this question, I'm trying to compile and simulate a Modelica model with JModelica. The model is: package friction1D function coulombFriction input Real relVel; input Real shearForce; input Real normalForce; input Real statfricco; input Real kinfricco; input Real inertia; input Real relAcc; output Real fricForce; algorithm if (relVel == 0) and (abs(shearForce - inertia * relAcc) < statfricco * normalForce) then fricForce := shearForce - inertia * relAcc; else fricForce := kinfricco *