Skip to content

Passed

tests / 08 testsuite-compliance / ModelicaCompliance.Equations.If.VarConditionDiffEqCount.VarConditionDiffEqCount (from omc OMCompiler v1.24.0-dev.89+g0c6cfc383b compliance suite 3.2)

Took 0.6 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_master/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