]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/Test/FMI2/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 / FMI2 / fmu_dummy / modelDescription_malformed.xml
diff --git a/org.simantics.fmil.core/native/FMILibrary/Test/FMI2/fmu_dummy/modelDescription_malformed.xml b/org.simantics.fmil.core/native/FMILibrary/Test/FMI2/fmu_dummy/modelDescription_malformed.xml
new file mode 100644 (file)
index 0000000..f00b687
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<fmiModelDescription\r
+  fmiVersion="2.0"\r
+  modelName="BouncingBall_malformed"\r
+  generationTool="None"\r
+  description="A bouncing ball model"\r
+  guid="123"\r
+  numberOfEventIndicators="1">\r
+  <ModelExchange modelIdentifier="BouncingBall2_malformed" />\r
+  <TypeDefinitions>\r
+    <SimpleType\r
+      name="Modelica.Blocks.Interfaces.RealOutput">\r
+      <Real/>\r
+    </SimpleType>\r
+  </TypeDefinitions>\r
+\r
+<ModelVariables>\r
+  <ScalarVariable name="HIGHT" valueReference="0" initial="exact" causality="output" description="Hight of the ball">\r
+    <Real start="1.0" />\r
+  </ScalarVariable>\r
+  <ScalarVariable name="HIGHT_SPEED" valueReference="1" initial="exact" description="Speed of the ball">\r
+     <Real start="4.0" />\r
+        </ScalarVariable>\r
+  <ScalarVariable name="HIGHT_SPEED alias" valueReference="1" description="Speed of the ball">\r
+     <Real />\r
+        </ScalarVariable>\r
+  <ScalarVariable name="HIGHT_ACC" valueReference="4" description="Speed of the ball">\r
+     <Real />\r
+  </ScalarVariable>\r
+  <ScalarVariable name="A variable" valueReference="100" initial="exact" description="Speed of the ball">\r
+     <Real start="4.0" />\r
+  </ScalarVariable>\r
+  <ScalarVariable name="A bad alias" valueReference="100" initial="exact" description="Speed of the ball">\r
+     <Real start="4.0" />\r
+  </ScalarVariable>\r
+  <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant" initial="exact">\r
+     <Real start="-9.81"/>\r
+  </ScalarVariable>\r
+  <ScalarVariable name="BOUNCE_COF" valueReference="3" description="Bouncing coefficient">\r
+     <Real start="0.5" />\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
+  <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
+</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
+<ModelStructure>\r
+</ModelStructure>\r