Skip to content

Passed

tests / testsuite-compliance / ModelicaCompliance.Equations.If.VarConditionDiffEqCount.VarConditionDiffEqCount (from omc OMCompiler v1.22.0-dev.87+gd24e65c5a7 compliance suite 3.2)

Took 0.26 sec.

Standard Output

Failed to build model: ModelicaCompliance.Equations.If.VarConditionDiffEqCountError: Too few equations, under-determined system. The model has 1 equation(s) and 2 variable(s).
[/var/lib/jenkins2/ws/OpenModelica_PR-10604/libraries/.openmodelica/libraries/ModelicaCompliance 3.2.0-master/Equations/If/VarConditionDiffEqCount.mo:6:3-6:38:writable] Warning: Variable x does not have any remaining equation to be solved in.
  The original equations were:
  Equation 1: if x < 1.0 then
  y = y + x
  x = time
else
  x = 1.0
end if, which needs to solve for y