]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/Test/FMI1/fmu_dummy/modelDescription_malformed.xml
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / Test / FMI1 / fmu_dummy / modelDescription_malformed.xml
diff --git a/org.simantics.fmil.core/native/FMILibrary/Test/FMI1/fmu_dummy/modelDescription_malformed.xml b/org.simantics.fmil.core/native/FMILibrary/Test/FMI1/fmu_dummy/modelDescription_malformed.xml
new file mode 100644 (file)
index 0000000..b9e52cf
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<fmiModelDescription\r
+  fmiVersion="1.0"\r
+  modelName="BouncingBall_malformed"\r
+  modelIdentifier="BouncingBall_malformed"\r
+  generationTool="None"\r
+  description="A bouncing ball model"\r
+  guid="123"\r
+  numberOfContinuousStates="2"\r
+  numberOfEventIndicators="1">\r
+  <TypeDefinitions>\r
+    <Type\r
+      name="Modelica.Blocks.Interfaces.RealOutput">\r
+      <RealType/>\r
+    </Type>\r
+  </TypeDefinitions>\r
+\r
+<ModelVariables>\r
+  <ScalarVariable name="HIGHT" valueReference="0" description="Hight of the ball">\r
+     <RealType/> <Real start="1.0" fixed="true"/> <Integer/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="HIGHT_SPEED" valueReference="1" description="Speed of the ball">\r
+     <Real start="4.0" fixed="true"/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="HIGHT_SPEED_ALIAS" valueReference="1" description="Speed of the ball">\r
+     <Real start="4.0" fixed="true"/> <DirectDependency><Name>xxx</Name> </DirectDependency>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant">\r
+     <Real start="-9.81"/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="BOUNCE_COF" valueReference="3" description="Bouncing coefficient">\r
+     <Real start="0.5" fixed="true"/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="LOGGER_TEST" valueReference="0" description="The logger will print the value of this variable when it is set.">\r
+     <String/>\r
+  </ScalarVariable>\r
+    <ScalarVariable name="LOGGER_TEST_INTEGER" valueReference="0" description="This is only used to test logger replace function #i0#">\r
+     <Integer/>\r
+  </ScalarVariable>\r
+    <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">\r
+     <Boolean/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="BAD_INPUT" valueReference="4" causality="input" description="Input without start value, the logger should warn about this">\r
+    <Real/>\r
+  </ScalarVariable>\r
+</ModelVariables>\r
+<ModelVariables>\r
+    <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">\r
+     <Boolean/>\r
+  </ScalarVariable>\r
+</ModelVariables>\r
+\r