#ifdef OMC_BASE_FILE
#define OMC_FILE OMC_BASE_FILE
#else
#define OMC_FILE "ExpressionDumpTpl.c"
#endif
#include "omc_simulation_settings.h"
#include "ExpressionDumpTpl.h"
#define _OMC_LIT0_data ", "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,2,_OMC_LIT0_data);
#define _OMC_LIT0 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT0}};
#define _OMC_LIT1 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,1,1) {_OMC_LIT1}};
#define _OMC_LIT2 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,1,3) {&Tpl_StringToken_ST__NEW__LINE__desc,}};
#define _OMC_LIT3 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT2,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3}};
#define _OMC_LIT4 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)
#define _OMC_LIT5_data "\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,1,_OMC_LIT5_data);
#define _OMC_LIT5 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)
#define _OMC_LIT6_data " (local)"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,8,_OMC_LIT6_data);
#define _OMC_LIT6 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT6}};
#define _OMC_LIT7 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)
#define _OMC_LIT8_data " (global)"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,9,_OMC_LIT8_data);
#define _OMC_LIT8 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT8}};
#define _OMC_LIT9 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,3,3) {&Tpl_Text_MEM__TEXT__desc,MMC_REFSTRUCTLIT(mmc_nil),MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT10 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)
#define _OMC_LIT11_data " "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,1,_OMC_LIT11_data);
#define _OMC_LIT11 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT11}};
#define _OMC_LIT12 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)
#define _OMC_LIT13_data "function "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,9,_OMC_LIT13_data);
#define _OMC_LIT13 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT13}};
#define _OMC_LIT14 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)
#define _OMC_LIT15_data "("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,1,_OMC_LIT15_data);
#define _OMC_LIT15 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT15}};
#define _OMC_LIT16 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)
#define _OMC_LIT17_data ")"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,1,_OMC_LIT17_data);
#define _OMC_LIT17 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT17}};
#define _OMC_LIT18 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)
#define _OMC_LIT19_data "{"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,1,_OMC_LIT19_data);
#define _OMC_LIT19 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT19}};
#define _OMC_LIT20 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)
#define _OMC_LIT21_data "}"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,1,_OMC_LIT21_data);
#define _OMC_LIT21 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT21}};
#define _OMC_LIT22 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)
#define _OMC_LIT23_data "}, {"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,4,_OMC_LIT23_data);
#define _OMC_LIT23 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT23}};
#define _OMC_LIT24 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,1,1) {_OMC_LIT24}};
#define _OMC_LIT25 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT25,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3}};
#define _OMC_LIT26 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)
#define _OMC_LIT27_data "{{"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,2,_OMC_LIT27_data);
#define _OMC_LIT27 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT27}};
#define _OMC_LIT28 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)
#define _OMC_LIT29_data "}}"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,2,_OMC_LIT29_data);
#define _OMC_LIT29 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT29}};
#define _OMC_LIT30 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)
#define _OMC_LIT31_data ":"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,1,_OMC_LIT31_data);
#define _OMC_LIT31 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT31}};
#define _OMC_LIT32 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)
#define _OMC_LIT33_data "["
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,1,_OMC_LIT33_data);
#define _OMC_LIT33 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT33}};
#define _OMC_LIT34 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)
#define _OMC_LIT35_data "]"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,1,_OMC_LIT35_data);
#define _OMC_LIT35 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT35}};
#define _OMC_LIT36 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)
#define _OMC_LIT37_data "size("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,5,_OMC_LIT37_data);
#define _OMC_LIT37 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT37}};
#define _OMC_LIT38 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)
#define _OMC_LIT39_data "$Code("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,6,_OMC_LIT39_data);
#define _OMC_LIT39 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT39}};
#define _OMC_LIT40 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)
#define _OMC_LIT41_data "<EMPTY(scope: "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,14,_OMC_LIT41_data);
#define _OMC_LIT41 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT41}};
#define _OMC_LIT42 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)
#define _OMC_LIT43_data ", name: "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,8,_OMC_LIT43_data);
#define _OMC_LIT43 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT43}};
#define _OMC_LIT44 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)
#define _OMC_LIT45_data ", ty: "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,6,_OMC_LIT45_data);
#define _OMC_LIT45 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT45}};
#define _OMC_LIT46 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)
#define _OMC_LIT47_data ")>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,2,_OMC_LIT47_data);
#define _OMC_LIT47 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT47}};
#define _OMC_LIT48 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)
#define _OMC_LIT49_data " for "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,5,_OMC_LIT49_data);
#define _OMC_LIT49 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT49}};
#define _OMC_LIT50 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)
#define _OMC_LIT51_data "List("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,5,_OMC_LIT51_data);
#define _OMC_LIT51 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT51}};
#define _OMC_LIT52 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)
#define _OMC_LIT53_data "listCons("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,9,_OMC_LIT53_data);
#define _OMC_LIT53 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT53}};
#define _OMC_LIT54 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)
#define _OMC_LIT55_data "Tuple("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,6,_OMC_LIT55_data);
#define _OMC_LIT55 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT55}};
#define _OMC_LIT56 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)
#define _OMC_LIT57_data "SOME("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,5,_OMC_LIT57_data);
#define _OMC_LIT57 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT57}};
#define _OMC_LIT58 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)
#define _OMC_LIT59_data "NONE()"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,6,_OMC_LIT59_data);
#define _OMC_LIT59 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT59}};
#define _OMC_LIT60 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,1,1) {_OMC_LIT3}};
#define _OMC_LIT61 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT61,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3}};
#define _OMC_LIT62 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)
#define _OMC_LIT63_data " ("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,2,_OMC_LIT63_data);
#define _OMC_LIT63 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT63}};
#define _OMC_LIT64 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)
#define _OMC_LIT65_data ")\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,2,_OMC_LIT65_data);
#define _OMC_LIT65 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT65}};
#define _OMC_LIT66 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,4) {&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(4))}};
#define _OMC_LIT67 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT68,2,4) {&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))}};
#define _OMC_LIT68 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT68)
#define _OMC_LIT69_data "end "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,4,_OMC_LIT69_data);
#define _OMC_LIT69 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT69}};
#define _OMC_LIT70 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)
#define _OMC_LIT71_data "#("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,2,_OMC_LIT71_data);
#define _OMC_LIT71 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT71}};
#define _OMC_LIT72 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)
#define _OMC_LIT73_data "unbox("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,6,_OMC_LIT73_data);
#define _OMC_LIT73 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT73}};
#define _OMC_LIT74 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)
#define _OMC_LIT75_data "ExpressionDumpTpl.dumpExp: Unknown expression."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,46,_OMC_LIT75_data);
#define _OMC_LIT75 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)
#define _OMC_LIT76_data "threaded "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,9,_OMC_LIT76_data);
#define _OMC_LIT76 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT76}};
#define _OMC_LIT77 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)
#define _OMC_LIT78_data "/* matrix "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,10,_OMC_LIT78_data);
#define _OMC_LIT78 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT78}};
#define _OMC_LIT79 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)
#define _OMC_LIT80_data " */ "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,4,_OMC_LIT80_data);
#define _OMC_LIT80 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT81,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT80}};
#define _OMC_LIT81 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT81)
#define _OMC_LIT82_data "/* non-scalar */ "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,17,_OMC_LIT82_data);
#define _OMC_LIT82 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT83,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT82}};
#define _OMC_LIT83 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT83)
#define _OMC_LIT84_data "/* scalar */ "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,13,_OMC_LIT84_data);
#define _OMC_LIT84 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT84}};
#define _OMC_LIT85 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)
#define _OMC_LIT86_data " = "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,3,_OMC_LIT86_data);
#define _OMC_LIT86 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT86}};
#define _OMC_LIT87 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)
#define _OMC_LIT88_data "_"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,1,_OMC_LIT88_data);
#define _OMC_LIT88 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT88}};
#define _OMC_LIT89 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)
#define _OMC_LIT90_data "::"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,2,_OMC_LIT90_data);
#define _OMC_LIT90 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT90}};
#define _OMC_LIT91 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)
#define _OMC_LIT92_data " as "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,4,_OMC_LIT92_data);
#define _OMC_LIT92 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT92}};
#define _OMC_LIT93 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)
#define _OMC_LIT94_data "*PATTERN*"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,9,_OMC_LIT94_data);
#define _OMC_LIT94 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT94}};
#define _OMC_LIT95 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)
#define _OMC_LIT96_data "case ("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,6,_OMC_LIT96_data);
#define _OMC_LIT96 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT96}};
#define _OMC_LIT97 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)
#define _OMC_LIT98_data ") then "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,7,_OMC_LIT98_data);
#define _OMC_LIT98 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT98}};
#define _OMC_LIT99 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)
#define _OMC_LIT100_data ";"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,1,_OMC_LIT100_data);
#define _OMC_LIT100 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT100}};
#define _OMC_LIT101 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)
#define _OMC_LIT102_data ") then fail();"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,14,_OMC_LIT102_data);
#define _OMC_LIT102 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT102}};
#define _OMC_LIT103 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)
#define _OMC_LIT104_data "  algorithm\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,12,_OMC_LIT104_data);
#define _OMC_LIT104 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,1) {_OMC_LIT104,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT105 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT106,2,1) {_OMC_LIT65,_OMC_LIT105}};
#define _OMC_LIT106 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT106)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT106,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))}};
#define _OMC_LIT107 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)
#define _OMC_LIT108_data "  then\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,7,_OMC_LIT108_data);
#define _OMC_LIT108 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT109,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT108}};
#define _OMC_LIT109 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT109)
#define _OMC_LIT110_data "    fail();"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,11,_OMC_LIT110_data);
#define _OMC_LIT110 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT111,2,1) {_OMC_LIT110,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT111 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT112,2,1) {_OMC_LIT108,_OMC_LIT111}};
#define _OMC_LIT112 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT112)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT113,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT112,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))}};
#define _OMC_LIT113 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT113)
#define _OMC_LIT114_data "matchcontinue"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,13,_OMC_LIT114_data);
#define _OMC_LIT114 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT115,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT114}};
#define _OMC_LIT115 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT115)
#define _OMC_LIT116_data "match"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT116,5,_OMC_LIT116_data);
#define _OMC_LIT116 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT116)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT117,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT116}};
#define _OMC_LIT117 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT117)
#define _OMC_LIT118_data "match /* switch */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,18,_OMC_LIT118_data);
#define _OMC_LIT118 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT119,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT118}};
#define _OMC_LIT119 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT119)
#define _OMC_LIT120_data "Integer"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,7,_OMC_LIT120_data);
#define _OMC_LIT120 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT121,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT120}};
#define _OMC_LIT121 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT121)
#define _OMC_LIT122_data "Real"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,4,_OMC_LIT122_data);
#define _OMC_LIT122 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT123,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT122}};
#define _OMC_LIT123 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT123)
#define _OMC_LIT124_data "Bool"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,4,_OMC_LIT124_data);
#define _OMC_LIT124 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT125,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT124}};
#define _OMC_LIT125 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT125)
#define _OMC_LIT126_data "String"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT126,6,_OMC_LIT126_data);
#define _OMC_LIT126 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT126)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT127,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT126}};
#define _OMC_LIT127 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT127)
#define _OMC_LIT128_data "<function>("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT128,11,_OMC_LIT128_data);
#define _OMC_LIT128 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT128)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT129,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT128}};
#define _OMC_LIT129 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT129)
#define _OMC_LIT130_data ") => "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,5,_OMC_LIT130_data);
#define _OMC_LIT130 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT131,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT130}};
#define _OMC_LIT131 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT131)
#define _OMC_LIT132_data "#T_CODE#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,8,_OMC_LIT132_data);
#define _OMC_LIT132 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT133,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT132}};
#define _OMC_LIT133 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT133)
#define _OMC_LIT134_data "list<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,5,_OMC_LIT134_data);
#define _OMC_LIT134 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT135,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT134}};
#define _OMC_LIT135 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT135)
#define _OMC_LIT136_data ">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT136,1,_OMC_LIT136_data);
#define _OMC_LIT136 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT136)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT137,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT136}};
#define _OMC_LIT137 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT137)
#define _OMC_LIT138_data "tuple<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT138,6,_OMC_LIT138_data);
#define _OMC_LIT138 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT138)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT139,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT138}};
#define _OMC_LIT139 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT139)
#define _OMC_LIT140_data "Option<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT140,7,_OMC_LIT140_data);
#define _OMC_LIT140 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT140)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT141,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT140}};
#define _OMC_LIT141 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT141)
#define _OMC_LIT142_data "array<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,6,_OMC_LIT142_data);
#define _OMC_LIT142 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT143,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT142}};
#define _OMC_LIT143 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT143)
#define _OMC_LIT144_data "polymorphic<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT144,12,_OMC_LIT144_data);
#define _OMC_LIT144 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT144)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT145,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT144}};
#define _OMC_LIT145 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT145)
#define _OMC_LIT146_data "#T_UNKNOWN#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,11,_OMC_LIT146_data);
#define _OMC_LIT146 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT147,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT146}};
#define _OMC_LIT147 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT147)
#define _OMC_LIT148_data "Any"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT148,3,_OMC_LIT148_data);
#define _OMC_LIT148 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT148)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT149,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT148}};
#define _OMC_LIT149 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT149)
#define _OMC_LIT150_data "#T_NORETCALL#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT150,13,_OMC_LIT150_data);
#define _OMC_LIT150 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT150)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT151,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT150}};
#define _OMC_LIT151 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT151)
#define _OMC_LIT152_data "<"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT152,1,_OMC_LIT152_data);
#define _OMC_LIT152 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT152)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT153,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT152}};
#define _OMC_LIT153 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT153)
#define _OMC_LIT154_data "<="
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT154,2,_OMC_LIT154_data);
#define _OMC_LIT154 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT154)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT155,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT154}};
#define _OMC_LIT155 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT155)
#define _OMC_LIT156_data ">="
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT156,2,_OMC_LIT156_data);
#define _OMC_LIT156 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT156)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT157,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT156}};
#define _OMC_LIT157 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT157)
#define _OMC_LIT158_data "=="
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT158,2,_OMC_LIT158_data);
#define _OMC_LIT158 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT158)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT159,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT158}};
#define _OMC_LIT159 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT159)
#define _OMC_LIT160_data "<>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT160,2,_OMC_LIT160_data);
#define _OMC_LIT160 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT160)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT161,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT160}};
#define _OMC_LIT161 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT161)
#define _OMC_LIT162_data "USERDEFINED"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT162,11,_OMC_LIT162_data);
#define _OMC_LIT162 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT162)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT163,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT162}};
#define _OMC_LIT163 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT163)
#define _OMC_LIT164_data "ExpressionDumpTpl.dumpRelationOp: Unknown operator."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT164,51,_OMC_LIT164_data);
#define _OMC_LIT164 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT164)
#define _OMC_LIT165_data "not"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT165,3,_OMC_LIT165_data);
#define _OMC_LIT165 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT165)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT166,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT165}};
#define _OMC_LIT166 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT166)
#define _OMC_LIT167_data "ExpressionDumpTpl.dumpLogicalUnaryOp: Unknown operator."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT167,55,_OMC_LIT167_data);
#define _OMC_LIT167 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT167)
#define _OMC_LIT168_data "and"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT168,3,_OMC_LIT168_data);
#define _OMC_LIT168 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT168)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT169,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT168}};
#define _OMC_LIT169 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT169)
#define _OMC_LIT170_data "or"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT170,2,_OMC_LIT170_data);
#define _OMC_LIT170 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT170)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT171,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT170}};
#define _OMC_LIT171 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT171)
#define _OMC_LIT172_data "ExpressionDumpTpl.dumpLogicalBinOp: Unknown operator."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT172,53,_OMC_LIT172_data);
#define _OMC_LIT172 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT172)
#define _OMC_LIT173_data "-"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT173,1,_OMC_LIT173_data);
#define _OMC_LIT173 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT173)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT174,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT173}};
#define _OMC_LIT174 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT174)
#define _OMC_LIT175_data "+"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT175,1,_OMC_LIT175_data);
#define _OMC_LIT175 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT175)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT176,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT175}};
#define _OMC_LIT176 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT176)
#define _OMC_LIT177_data "ExpressionDumpTpl.dumpUnaryOp: Unknown operator."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT177,48,_OMC_LIT177_data);
#define _OMC_LIT177 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT177)
#define _OMC_LIT178_data "*"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT178,1,_OMC_LIT178_data);
#define _OMC_LIT178 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT178)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT179,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT178}};
#define _OMC_LIT179 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT179)
#define _OMC_LIT180_data "/"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT180,1,_OMC_LIT180_data);
#define _OMC_LIT180 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT180)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT181,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT180}};
#define _OMC_LIT181 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT181)
#define _OMC_LIT182_data "^"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT182,1,_OMC_LIT182_data);
#define _OMC_LIT182 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT182)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT183,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT182}};
#define _OMC_LIT183 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT183)
#define _OMC_LIT184_data "+ /* ADD_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT184,15,_OMC_LIT184_data);
#define _OMC_LIT184 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT184)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT185,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT184}};
#define _OMC_LIT185 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT185)
#define _OMC_LIT186_data "- /* SUB_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT186,15,_OMC_LIT186_data);
#define _OMC_LIT186 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT186)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT187,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT186}};
#define _OMC_LIT187 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT187)
#define _OMC_LIT188_data ".* /* MUL_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT188,16,_OMC_LIT188_data);
#define _OMC_LIT188 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT188)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT189,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT188}};
#define _OMC_LIT189 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT189)
#define _OMC_LIT190_data "./ /* DIV_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT190,16,_OMC_LIT190_data);
#define _OMC_LIT190 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT190)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT191,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT190}};
#define _OMC_LIT191 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT191)
#define _OMC_LIT192_data "^ /* POW_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT192,15,_OMC_LIT192_data);
#define _OMC_LIT192 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT192)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT193,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT192}};
#define _OMC_LIT193 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT193)
#define _OMC_LIT194_data ".^ /* POW_ARR2 */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT194,17,_OMC_LIT194_data);
#define _OMC_LIT194 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT194)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT195,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT194}};
#define _OMC_LIT195 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT195)
#define _OMC_LIT196_data "* /* MUL_ARR_SCA */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT196,19,_OMC_LIT196_data);
#define _OMC_LIT196 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT196)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT197,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT196}};
#define _OMC_LIT197 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT197)
#define _OMC_LIT198_data ".+ /* ADD_ARR_SCA */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT198,20,_OMC_LIT198_data);
#define _OMC_LIT198 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT198)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT199,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT198}};
#define _OMC_LIT199 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT199)
#define _OMC_LIT200_data ".- /* SUB_SCA_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT200,20,_OMC_LIT200_data);
#define _OMC_LIT200 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT200)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT201,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT200}};
#define _OMC_LIT201 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT201)
#define _OMC_LIT202_data ".^ /* POW_SCA_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT202,20,_OMC_LIT202_data);
#define _OMC_LIT202 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT202)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT203,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT202}};
#define _OMC_LIT203 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT203)
#define _OMC_LIT204_data ".^ /* POW_ARR_SCA */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT204,20,_OMC_LIT204_data);
#define _OMC_LIT204 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT204)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT205,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT204}};
#define _OMC_LIT205 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT205)
#define _OMC_LIT206_data "* /* MUL_SCA_PRO */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT206,19,_OMC_LIT206_data);
#define _OMC_LIT206 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT206)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT207,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT206}};
#define _OMC_LIT207 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT207)
#define _OMC_LIT208_data "* /* MUL_MAT_PRO */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT208,19,_OMC_LIT208_data);
#define _OMC_LIT208 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT208)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT209,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT208}};
#define _OMC_LIT209 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT209)
#define _OMC_LIT210_data "/ /* DIV_SCA_ARR */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT210,19,_OMC_LIT210_data);
#define _OMC_LIT210 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT210)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT211,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT210}};
#define _OMC_LIT211 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT211)
#define _OMC_LIT212_data "/ /* DIV_ARR_SCA */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT212,19,_OMC_LIT212_data);
#define _OMC_LIT212 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT212)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT213,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT212}};
#define _OMC_LIT213 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT213)
#define _OMC_LIT214_data "ExpressionDumpTpl.dumpBinOp: Unknown operator."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT214,46,_OMC_LIT214_data);
#define _OMC_LIT214 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT214)
#define _OMC_LIT215_data ".*"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT215,2,_OMC_LIT215_data);
#define _OMC_LIT215 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT215)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT216,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT215}};
#define _OMC_LIT216 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT216)
#define _OMC_LIT217_data "./"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT217,2,_OMC_LIT217_data);
#define _OMC_LIT217 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT217)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT218,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT217}};
#define _OMC_LIT218 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT218)
#define _OMC_LIT219_data ".^"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT219,2,_OMC_LIT219_data);
#define _OMC_LIT219 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT219)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT220,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT219}};
#define _OMC_LIT220 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT220)
#define _OMC_LIT221_data ".+"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT221,2,_OMC_LIT221_data);
#define _OMC_LIT221 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT221)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT222,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT221}};
#define _OMC_LIT222 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT222)
#define _OMC_LIT223_data ".-"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT223,2,_OMC_LIT223_data);
#define _OMC_LIT223 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT223)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT224,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT223}};
#define _OMC_LIT224 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT224)
#define _OMC_LIT225_data " in "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT225,4,_OMC_LIT225_data);
#define _OMC_LIT225 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT225)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT226,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT225}};
#define _OMC_LIT226 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT226)
#define _OMC_LIT227_data " guard "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT227,7,_OMC_LIT227_data);
#define _OMC_LIT227 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT227)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT228,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT227}};
#define _OMC_LIT228 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT228)
#define _OMC_LIT229_data "modelicaOutput"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT229,14,_OMC_LIT229_data);
#define _OMC_LIT229 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT229)
#define _OMC_LIT230_data "m"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT230,1,_OMC_LIT230_data);
#define _OMC_LIT230 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT230)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT231,1,1) {_OMC_LIT230}};
#define _OMC_LIT231 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT231)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT232,1,4) {&Flags_FlagVisibility_EXTERNAL__desc,}};
#define _OMC_LIT232 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT232)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT233,2,4) {&Flags_FlagData_BOOL__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))}};
#define _OMC_LIT233 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT233)
#define _OMC_LIT234_data "Enables valid modelica output for flat modelica."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT234,48,_OMC_LIT234_data);
#define _OMC_LIT234 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT234)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT235,2,3) {&Gettext_TranslatableContent_gettext__desc,_OMC_LIT234}};
#define _OMC_LIT235 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT235)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT236,8,3) {&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(21)),_OMC_LIT229,_OMC_LIT231,_OMC_LIT232,_OMC_LIT233,MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT235}};
#define _OMC_LIT236 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT236)
#define _OMC_LIT237_data ","
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT237,1,_OMC_LIT237_data);
#define _OMC_LIT237 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT237)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT238,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT237}};
#define _OMC_LIT238 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT238)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT239,1,1) {_OMC_LIT238}};
#define _OMC_LIT239 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT239)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT240,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT239,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3}};
#define _OMC_LIT240 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT240)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT241,1,1) {_OMC_LIT89}};
#define _OMC_LIT241 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT241)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT242,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT241,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT3}};
#define _OMC_LIT242 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT242)
#define _OMC_LIT243_data "ExpressionDumpTpl.dumpCref: unknown cref"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT243,40,_OMC_LIT243_data);
#define _OMC_LIT243 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT243)
#define _OMC_LIT244_data "."
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT244,1,_OMC_LIT244_data);
#define _OMC_LIT244 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT244)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT245,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT244}};
#define _OMC_LIT245 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT245)
#define _OMC_LIT246_data "__"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT246,2,_OMC_LIT246_data);
#define _OMC_LIT246 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT246)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT247,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT246}};
#define _OMC_LIT247 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT247)
#define _OMC_LIT248_data "Clock()"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT248,7,_OMC_LIT248_data);
#define _OMC_LIT248 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT248)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT249,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT248}};
#define _OMC_LIT249 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT249)
#define _OMC_LIT250_data "Clock("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT250,6,_OMC_LIT250_data);
#define _OMC_LIT250 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT250)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT251,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT250}};
#define _OMC_LIT251 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT251)
#define _OMC_LIT252_data "y"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT252,1,_OMC_LIT252_data);
#define _OMC_LIT252 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT252)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT253,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT252}};
#define _OMC_LIT253 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT253)
#define _OMC_LIT254_data "if "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT254,3,_OMC_LIT254_data);
#define _OMC_LIT254 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT254)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT255,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT254}};
#define _OMC_LIT255 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT255)
#define _OMC_LIT256_data " then "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT256,6,_OMC_LIT256_data);
#define _OMC_LIT256 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT256)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT257,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT256}};
#define _OMC_LIT257 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT257)
#define _OMC_LIT258_data " else "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT258,6,_OMC_LIT258_data);
#define _OMC_LIT258 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT258)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT259,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT258}};
#define _OMC_LIT259 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT259)
#define _OMC_LIT260_data "/*"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT260,2,_OMC_LIT260_data);
#define _OMC_LIT260 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT260)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT261,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT260}};
#define _OMC_LIT261 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT261)
#define _OMC_LIT262_data "*/("
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT262,3,_OMC_LIT262_data);
#define _OMC_LIT262 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT262)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT263,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT262}};
#define _OMC_LIT263 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT263)
#define _OMC_LIT264_data "/*pattern*/"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT264,11,_OMC_LIT264_data);
#define _OMC_LIT264 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT264)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT265,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT264}};
#define _OMC_LIT265 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT265)
#define _OMC_LIT266_data "/* Shared literal "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT266,18,_OMC_LIT266_data);
#define _OMC_LIT266 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT266)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT267,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT266}};
#define _OMC_LIT267 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT267)
#define _OMC_LIT268_data "/*RSUB: "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT268,8,_OMC_LIT268_data);
#define _OMC_LIT268 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT268)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT269,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT268}};
#define _OMC_LIT269 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT269)
#define _OMC_LIT270_data "*/"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT270,2,_OMC_LIT270_data);
#define _OMC_LIT270 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT270)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT271,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT270}};
#define _OMC_LIT271 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT271)
#define _OMC_LIT272_data "/*ASUB*/"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT272,8,_OMC_LIT272_data);
#define _OMC_LIT272 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT272)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT273,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT272}};
#define _OMC_LIT273 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT273)
#define _OMC_LIT274_data "/* non-scalar "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT274,14,_OMC_LIT274_data);
#define _OMC_LIT274 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT274)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT275,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT274}};
#define _OMC_LIT275 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT275)
#define _OMC_LIT276_data "/* scalar "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT276,10,_OMC_LIT276_data);
#define _OMC_LIT276 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT276)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT277,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT276}};
#define _OMC_LIT277 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT277)
#define _OMC_LIT278_data "fill(0,0)"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT278,9,_OMC_LIT278_data);
#define _OMC_LIT278 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT278)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT279,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT278}};
#define _OMC_LIT279 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT279)
#define _OMC_LIT280_data "*/ "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT280,3,_OMC_LIT280_data);
#define _OMC_LIT280 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT280)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT281,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT280}};
#define _OMC_LIT281 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT281)
#define _OMC_LIT282_data "/* "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT282,3,_OMC_LIT282_data);
#define _OMC_LIT282 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT282)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT283,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT282}};
#define _OMC_LIT283 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT283)
#define _OMC_LIT284_data " */"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT284,3,_OMC_LIT284_data);
#define _OMC_LIT284 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT284)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT285,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT284}};
#define _OMC_LIT285 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT285)
#include "util/modelica.h"
#include "ExpressionDumpTpl_includes.h"
#if !defined(PROTECTED_FUNCTION_STATIC)
#define PROTECTED_FUNCTION_STATIC
#endif
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__94(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__94,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__94,0}};
#define boxvar_ExpressionDumpTpl_lm__94 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__94)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__93(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_con);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__93,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__93,0}};
#define boxvar_ExpressionDumpTpl_fun__93 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__93)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__90(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__90,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__90,0}};
#define boxvar_ExpressionDumpTpl_lm__90 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__90)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__89(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ri_iterType);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__89,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__89,0}};
#define boxvar_ExpressionDumpTpl_fun__89 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__89)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__88(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__88,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__88,0}};
#define boxvar_ExpressionDumpTpl_lm__88 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__88)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__87(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_sz, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__87,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__87,0}};
#define boxvar_ExpressionDumpTpl_fun__87 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__87)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__86(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__86,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__86,0}};
#define boxvar_ExpressionDumpTpl_fun__86 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__86)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__85(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__85,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__85,0}};
#define boxvar_ExpressionDumpTpl_fun__85 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__85)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__84(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__84,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__84,0}};
#define boxvar_ExpressionDumpTpl_fun__84 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__84)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__83(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__83,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__83,0}};
#define boxvar_ExpressionDumpTpl_fun__83 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__83)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__82(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_step, modelica_metatype _in_a_e);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__82,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__82,0}};
#define boxvar_ExpressionDumpTpl_fun__82 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__82)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__81(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__81(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__81,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__81,0}};
#define boxvar_ExpressionDumpTpl_fun__81 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__81)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__80(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__80,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__80,0}};
#define boxvar_ExpressionDumpTpl_lm__80 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__80)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_boolean _in_a_scalar);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_scalar);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__79,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__79,0}};
#define boxvar_ExpressionDumpTpl_fun__79 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__79)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__78,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__78,0}};
#define boxvar_ExpressionDumpTpl_fun__78 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__78)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__75,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__75,0}};
#define boxvar_ExpressionDumpTpl_lm__75 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__75)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__73,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__73,0}};
#define boxvar_ExpressionDumpTpl_lm__73 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__73)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__67(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__67,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__67,0}};
#define boxvar_ExpressionDumpTpl_lm__67 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__67)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__64(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__64,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__64,0}};
#define boxvar_ExpressionDumpTpl_lm__64 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__64)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__63,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__63,0}};
#define boxvar_ExpressionDumpTpl_lm__63 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__63)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__62(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__62,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__62,0}};
#define boxvar_ExpressionDumpTpl_lm__62 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__62)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_op);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_op);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__56,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__56,0}};
#define boxvar_ExpressionDumpTpl_fun__56 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__56)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__55(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__55,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__55,0}};
#define boxvar_ExpressionDumpTpl_fun__55 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__55)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__54(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__54,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__54,0}};
#define boxvar_ExpressionDumpTpl_fun__54 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__54)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_op__str);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_op__str);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__52,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__52,0}};
#define boxvar_ExpressionDumpTpl_fun__52 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__52)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_subscripts);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_subscripts);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__48,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__48,0}};
#define boxvar_ExpressionDumpTpl_fun__48 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__48)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__47(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__47,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__47,0}};
#define boxvar_ExpressionDumpTpl_lm__47 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__47)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__46(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__46,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__46,0}};
#define boxvar_ExpressionDumpTpl_lm__46 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__46)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__44(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_cref__str, modelica_metatype _in_a_sub__str, modelica_string _in_a_ident);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__44(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_cref__str, modelica_metatype _in_a_sub__str, modelica_metatype _in_a_ident);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__44,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__44,0}};
#define boxvar_ExpressionDumpTpl_fun__44 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__44)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__41(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__41,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__41,0}};
#define boxvar_ExpressionDumpTpl_lm__41 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__41)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__39(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__39,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__39,0}};
#define boxvar_ExpressionDumpTpl_lm__39 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__39)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__36(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__36(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__36,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__36,0}};
#define boxvar_ExpressionDumpTpl_fun__36 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__36)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__35(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_integer _in_a_index, modelica_string _in_a_stringDelimiter, modelica_metatype _in_a_exp);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__35(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_index, modelica_metatype _in_a_stringDelimiter, modelica_metatype _in_a_exp);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__35,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__35,0}};
#define boxvar_ExpressionDumpTpl_fun__35 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__35)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__34(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__34,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__34,0}};
#define boxvar_ExpressionDumpTpl_lm__34 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__34)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__33(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ri_iterType);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__33,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__33,0}};
#define boxvar_ExpressionDumpTpl_fun__33 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__33)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__32(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__32,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__32,0}};
#define boxvar_ExpressionDumpTpl_lm__32 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__32)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__31(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_sz, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__31,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__31,0}};
#define boxvar_ExpressionDumpTpl_fun__31 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__31)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__30(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__30(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__30,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__30,0}};
#define boxvar_ExpressionDumpTpl_fun__30 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__30)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__29(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__29,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__29,0}};
#define boxvar_ExpressionDumpTpl_fun__29 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__29)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__28(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__28,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__28,0}};
#define boxvar_ExpressionDumpTpl_fun__28 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__28)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__27(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__27,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__27,0}};
#define boxvar_ExpressionDumpTpl_fun__27 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__27)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__26(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__26,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__26,0}};
#define boxvar_ExpressionDumpTpl_fun__26 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__26)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__25(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__25(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__25,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__25,0}};
#define boxvar_ExpressionDumpTpl_fun__25 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__25)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__24(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__24,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__24,0}};
#define boxvar_ExpressionDumpTpl_fun__24 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__24)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__23(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__23,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__23,0}};
#define boxvar_ExpressionDumpTpl_fun__23 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__23)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_step, modelica_metatype _in_a_e);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__22,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__22,0}};
#define boxvar_ExpressionDumpTpl_fun__22 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__22)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__21(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__21(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__21,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__21,0}};
#define boxvar_ExpressionDumpTpl_fun__21 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__21)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__20(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__20,2,0) {(void*) boxptr_ExpressionDumpTpl_lm__20,0}};
#define boxvar_ExpressionDumpTpl_lm__20 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_lm__20)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__19(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__19(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__19,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__19,0}};
#define boxvar_ExpressionDumpTpl_fun__19 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__19)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__18(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__18(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__18,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__18,0}};
#define boxvar_ExpressionDumpTpl_fun__18 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__18)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__17(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar, modelica_string _in_a_stringDelimiter, modelica_metatype _in_a_array);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__17(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar, modelica_metatype _in_a_stringDelimiter, modelica_metatype _in_a_array);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__17,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__17,0}};
#define boxvar_ExpressionDumpTpl_fun__17 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__17)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__16(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__16(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__16,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__16,0}};
#define boxvar_ExpressionDumpTpl_fun__16 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__16)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__15,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__15,0}};
#define boxvar_ExpressionDumpTpl_fun__15 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__15)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_attr_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_attr_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__14,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__14,0}};
#define boxvar_ExpressionDumpTpl_fun__14 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__14)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__13,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__13,0}};
#define boxvar_ExpressionDumpTpl_fun__13 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__13)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__12(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_integer _in_a_index);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__12(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_index);
static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__12,2,0) {(void*) boxptr_ExpressionDumpTpl_fun__12,0}};
#define boxvar_ExpressionDumpTpl_fun__12 MMC_REFSTRUCTLIT(boxvar_lit_ExpressionDumpTpl_fun__12)
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpConstraints(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_cons)
{
modelica_metatype _out_txt = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_out_txt = omc_Tpl_pushIter(threadData, _txt, _OMC_LIT4);
_out_txt = omc_ExpressionDumpTpl_lm__94(threadData, _out_txt, _a_cons);
_out_txt = omc_Tpl_popIter(threadData, _out_txt);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__94(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_con = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_con = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_fun__93(threadData, _txt, _i_con);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__93(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_con)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_con;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_c = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 3; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
modelica_integer tmp8;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp8 = mmc_unbox_integer(tmpMeta7);
if (1 != tmp8) goto tmp3_end;
_i_c = tmpMeta6;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_c, _OMC_LIT5);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT7);
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta9;
modelica_metatype tmpMeta10;
modelica_integer tmp11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,2) == 0) goto tmp3_end;
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp11 = mmc_unbox_integer(tmpMeta10);
if (0 != tmp11) goto tmp3_end;
_i_c = tmpMeta9;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_c, _OMC_LIT5);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT9);
goto tmp3_done;
}
case 2: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_errorMsg(threadData_t *threadData, modelica_metatype _txt, modelica_string _a_errMessage)
{
modelica_metatype _out_txt = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
omc_Tpl_addTemplateError(threadData, _a_errMessage);
_out_txt = omc_Tpl_writeStr(threadData, _txt, _a_errMessage);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpExpCrefs(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_exp, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_exp;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_pattern = NULL;
modelica_metatype _i_cases = NULL;
modelica_metatype _i_inputs = NULL;
modelica_metatype _i_matchType = NULL;
modelica_metatype _i_args = NULL;
modelica_metatype _i_listExp = NULL;
modelica_metatype _i_cdr = NULL;
modelica_metatype _i_car = NULL;
modelica_metatype _i_valList = NULL;
modelica_metatype _i_ri_iterType = NULL;
modelica_metatype _i_iterators = NULL;
modelica_metatype _i_expr = NULL;
modelica_string _i_tyStr = NULL;
modelica_string _i_scope = NULL;
modelica_metatype _i_name_1 = NULL;
modelica_metatype _i_code = NULL;
modelica_metatype _i_sz = NULL;
modelica_integer _i_ix;
modelica_metatype _i_sub = NULL;
modelica_metatype _i_PR = NULL;
modelica_metatype _i_stop = NULL;
modelica_metatype _i_step = NULL;
modelica_metatype _i_start = NULL;
modelica_metatype _i_ty = NULL;
modelica_metatype _i_matrix = NULL;
modelica_boolean _i_scalar;
modelica_metatype _i_array = NULL;
modelica_metatype _i_expList = NULL;
modelica_metatype _i_path = NULL;
modelica_metatype _i_expLst = NULL;
modelica_metatype _i_expElse = NULL;
modelica_metatype _i_expThen = NULL;
modelica_metatype _i_expCond = NULL;
modelica_metatype _i_operator = NULL;
modelica_metatype _i_e = NULL;
modelica_metatype _i_exp = NULL;
modelica_metatype _i_exp2 = NULL;
modelica_metatype _i_exp1 = NULL;
modelica_metatype _i_componentRef = NULL;
modelica_metatype _i_name = NULL;
modelica_metatype _l_case__str = NULL;
modelica_metatype _l_inputs__str = NULL;
modelica_metatype _l_match__ty = NULL;
modelica_metatype _l_args__str = NULL;
modelica_metatype _l_cdr__str = NULL;
modelica_metatype _l_car__str = NULL;
modelica_metatype _l_expl__str = NULL;
modelica_metatype _l_iter__str = NULL;
modelica_metatype _l_name__str = NULL;
modelica_string _ret_23 = NULL;
modelica_metatype _l_code__str = NULL;
modelica_metatype _l_dim__str = NULL;
modelica_metatype _l_sub__str = NULL;
modelica_metatype _l_rparen = NULL;
modelica_metatype _l_lparen = NULL;
modelica_metatype _l_needs__paren = NULL;
modelica_metatype _l_tuple__str = NULL;
modelica_metatype _l_stop__str = NULL;
modelica_metatype _l_step__str = NULL;
modelica_metatype _l_start__str = NULL;
modelica_boolean _ret_12;
modelica_metatype _l_mat__str = NULL;
modelica_boolean _ret_10;
modelica_metatype _l_expl = NULL;
modelica_metatype _l_func__str = NULL;
modelica_metatype _l_argl = NULL;
modelica_metatype _l_else__str = NULL;
modelica_metatype _l_then__str = NULL;
modelica_metatype _l_cond__str = NULL;
modelica_metatype _l_op__str = NULL;
modelica_metatype _l_exp__str = NULL;
modelica_metatype _l_rhs__str = NULL;
modelica_metatype _l_lhs__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 39; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 2: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 4: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_name = tmpMeta6;
_txt = tmp4_1;
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_name);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,2) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_componentRef = tmpMeta7;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpCref(threadData, _txt, _i_componentRef);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta8;
modelica_metatype tmpMeta9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,3) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_exp1 = tmpMeta8;
_i_exp2 = tmpMeta9;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_lhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp1, _a_stringDelimiter);
_l_rhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp2, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 7: {
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,2) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_e = tmp4_2;
_i_operator = tmpMeta10;
_i_exp = tmpMeta11;
_txt = tmp4_1;
_l_exp__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpUnaryOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
goto tmp3_done;
}
case 8: {
modelica_metatype tmpMeta12;
modelica_metatype tmpMeta13;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,3) == 0) goto tmp3_end;
tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_exp1 = tmpMeta12;
_i_exp2 = tmpMeta13;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_lhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp1, _a_stringDelimiter);
_l_rhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp2, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 9: {
modelica_metatype tmpMeta14;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,2) == 0) goto tmp3_end;
tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta14;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_lhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
goto tmp3_done;
}
case 10: {
modelica_metatype tmpMeta15;
modelica_metatype tmpMeta16;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,11,5) == 0) goto tmp3_end;
tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_exp1 = tmpMeta15;
_i_exp2 = tmpMeta16;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_lhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp1, _a_stringDelimiter);
_l_rhs__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp2, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 11: {
modelica_metatype tmpMeta17;
modelica_metatype tmpMeta18;
modelica_metatype tmpMeta19;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,12,3) == 0) goto tmp3_end;
tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta19 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_expCond = tmpMeta17;
_i_expThen = tmpMeta18;
_i_expElse = tmpMeta19;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_cond__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_expCond, _a_stringDelimiter);
_l_then__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_expThen, _a_stringDelimiter);
_l_else__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_expElse, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_cond__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
_txt = omc_Tpl_writeText(threadData, _txt, _l_then__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_else__str);
goto tmp3_done;
}
case 12: {
modelica_metatype tmpMeta20;
modelica_metatype tmpMeta21;
modelica_metatype tmpMeta22;
modelica_integer tmp23;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,3) == 0) goto tmp3_end;
tmpMeta20 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta21 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta22 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta21), 4));
tmp23 = mmc_unbox_integer(tmpMeta22);
if (1 != tmp23) goto tmp3_end;
_i_expLst = tmpMeta20;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_argl = omc_ExpressionDumpTpl_dumpExpListCrefs(threadData, _OMC_LIT10, _i_expLst, _a_stringDelimiter, _OMC_LIT11);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_argl);
goto tmp3_done;
}
case 13: {
modelica_metatype tmpMeta24;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,3) == 0) goto tmp3_end;
tmpMeta24 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_expLst = tmpMeta24;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_argl = omc_ExpressionDumpTpl_dumpExpListCrefs(threadData, _OMC_LIT10, _i_expLst, _a_stringDelimiter, _OMC_LIT11);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_argl);
goto tmp3_done;
}
case 14: {
modelica_metatype tmpMeta25;
modelica_metatype tmpMeta26;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,15,4) == 0) goto tmp3_end;
tmpMeta25 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta26 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta25;
_i_expList = tmpMeta26;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_func__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_path);
_l_argl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_expList, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT14);
_txt = omc_Tpl_writeText(threadData, _txt, _l_func__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_argl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 15: {
modelica_metatype tmpMeta27;
modelica_integer tmp28;
modelica_metatype tmpMeta29;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,3) == 0) goto tmp3_end;
tmpMeta27 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp28 = mmc_unbox_integer(tmpMeta27);
tmpMeta29 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_scalar = tmp28;
_i_array = tmpMeta29;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_expl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_array, _a_stringDelimiter, _OMC_LIT0);
_ret_10 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__79(threadData, _txt, _ret_10, _i_scalar);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT20);
_txt = omc_Tpl_writeText(threadData, _txt, _l_expl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT22);
goto tmp3_done;
}
case 16: {
modelica_metatype tmpMeta30;
modelica_metatype tmpMeta31;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,3) == 0) goto tmp3_end;
tmpMeta30 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta31 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_ty = tmpMeta30;
_i_matrix = tmpMeta31;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_mat__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT26);
_l_mat__str = omc_ExpressionDumpTpl_lm__80(threadData, _l_mat__str, _i_matrix, _a_stringDelimiter);
_l_mat__str = omc_Tpl_popIter(threadData, _l_mat__str);
_ret_12 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__81(threadData, _txt, _ret_12, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT28);
_txt = omc_Tpl_writeText(threadData, _txt, _l_mat__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT30);
goto tmp3_done;
}
case 17: {
modelica_metatype tmpMeta32;
modelica_metatype tmpMeta33;
modelica_metatype tmpMeta34;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,18,4) == 0) goto tmp3_end;
tmpMeta32 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta33 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta34 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_e = tmp4_2;
_i_start = tmpMeta32;
_i_step = tmpMeta33;
_i_stop = tmpMeta34;
_txt = tmp4_1;
_l_start__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_start, _i_e, 0);
_l_step__str = omc_ExpressionDumpTpl_fun__82(threadData, _OMC_LIT10, _i_step, _i_e);
_l_stop__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_stop, _i_e, 0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_start__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
_txt = omc_Tpl_writeText(threadData, _txt, _l_step__str);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_stop__str);
goto tmp3_done;
}
case 18: {
modelica_metatype tmpMeta35;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
tmpMeta35 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta35)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 19: {
modelica_metatype tmpMeta36;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
tmpMeta36 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_PR = tmpMeta36;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_tuple__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_PR, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_tuple__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 20: {
modelica_metatype tmpMeta37;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,2) == 0) goto tmp3_end;
tmpMeta37 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta37;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 21: {
modelica_metatype tmpMeta38;
modelica_metatype tmpMeta39;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,21,2) == 0) goto tmp3_end;
tmpMeta38 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta39 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta38;
_i_sub = tmpMeta39;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_needs__paren = omc_ExpressionDumpTpl_parenthesizeSubExp(threadData, _OMC_LIT10, _i_exp);
_l_lparen = omc_ExpressionDumpTpl_fun__83(threadData, _OMC_LIT10, _l_needs__paren);
_l_rparen = omc_ExpressionDumpTpl_fun__84(threadData, _OMC_LIT10, _l_needs__paren);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_sub__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_sub, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lparen);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_rparen);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeText(threadData, _txt, _l_sub__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 22: {
modelica_metatype tmpMeta40;
modelica_metatype tmpMeta41;
modelica_integer tmp42;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,22,3) == 0) goto tmp3_end;
tmpMeta40 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta41 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp42 = mmc_unbox_integer(tmpMeta41);
_i_exp = tmpMeta40;
_i_ix = tmp42;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_needs__paren = omc_ExpressionDumpTpl_parenthesizeSubExp(threadData, _OMC_LIT10, _i_exp);
_l_lparen = omc_ExpressionDumpTpl_fun__85(threadData, _OMC_LIT10, _l_needs__paren);
_l_rparen = omc_ExpressionDumpTpl_fun__86(threadData, _OMC_LIT10, _l_needs__paren);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lparen);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_rparen);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_ix));
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 23: {
modelica_metatype tmpMeta43;
modelica_metatype tmpMeta44;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,24,2) == 0) goto tmp3_end;
tmpMeta43 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta44 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta43;
_i_sz = tmpMeta44;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_dim__str = omc_ExpressionDumpTpl_fun__87(threadData, _OMC_LIT10, _i_sz, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT38);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_dim__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 24: {
modelica_metatype tmpMeta45;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,25,2) == 0) goto tmp3_end;
tmpMeta45 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_code = tmpMeta45;
_txt = tmp4_1;
_ret_23 = omc_Dump_printCodeStr(threadData, _i_code);
_l_code__str = omc_Tpl_writeStr(threadData, _OMC_LIT10, _ret_23);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT40);
_txt = omc_Tpl_writeText(threadData, _txt, _l_code__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 25: {
modelica_metatype tmpMeta46;
modelica_metatype tmpMeta47;
modelica_metatype tmpMeta48;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,26,4) == 0) goto tmp3_end;
tmpMeta46 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta47 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta48 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_scope = tmpMeta46;
_i_name_1 = tmpMeta47;
_i_tyStr = tmpMeta48;
_txt = tmp4_1;
_l_name__str = omc_ExpressionDumpTpl_dumpCref(threadData, _OMC_LIT10, _i_name_1);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT42);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_scope);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT44);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT46);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_tyStr);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT48);
goto tmp3_done;
}
case 26: {
modelica_metatype tmpMeta49;
modelica_metatype tmpMeta50;
modelica_metatype tmpMeta51;
modelica_metatype tmpMeta52;
modelica_metatype tmpMeta53;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,27,3) == 0) goto tmp3_end;
tmpMeta49 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta50 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta49), 2));
tmpMeta51 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta49), 3));
tmpMeta52 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta53 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_name = tmpMeta50;
_i_ri_iterType = tmpMeta51;
_i_expr = tmpMeta52;
_i_iterators = tmpMeta53;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_name__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_name);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_expr, _a_stringDelimiter);
_l_iter__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_iter__str = omc_ExpressionDumpTpl_lm__88(threadData, _l_iter__str, _i_iterators, _a_stringDelimiter);
_l_iter__str = omc_Tpl_popIter(threadData, _l_iter__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT50);
_txt = omc_ExpressionDumpTpl_fun__89(threadData, _txt, _i_ri_iterType);
_txt = omc_Tpl_writeText(threadData, _txt, _l_iter__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 27: {
modelica_metatype tmpMeta54;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,28,1) == 0) goto tmp3_end;
tmpMeta54 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_valList = tmpMeta54;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_expl__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_valList, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT52);
_txt = omc_Tpl_writeText(threadData, _txt, _l_expl__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 28: {
modelica_metatype tmpMeta55;
modelica_metatype tmpMeta56;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,29,2) == 0) goto tmp3_end;
tmpMeta55 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta56 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_car = tmpMeta55;
_i_cdr = tmpMeta56;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_car__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_car, _a_stringDelimiter);
_l_cdr__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_cdr, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT54);
_txt = omc_Tpl_writeText(threadData, _txt, _l_car__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
_txt = omc_Tpl_writeText(threadData, _txt, _l_cdr__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 29: {
modelica_metatype tmpMeta57;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,30,1) == 0) goto tmp3_end;
tmpMeta57 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_listExp = tmpMeta57;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_tuple__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_listExp, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT56);
_txt = omc_Tpl_writeText(threadData, _txt, _l_tuple__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 30: {
modelica_metatype tmpMeta58;
modelica_metatype tmpMeta59;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,31,1) == 0) goto tmp3_end;
tmpMeta58 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (optionNone(tmpMeta58)) goto tmp3_end;
tmpMeta59 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta58), 1));
_i_exp = tmpMeta59;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT58);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 31: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,31,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT60);
goto tmp3_done;
}
case 32: {
modelica_metatype tmpMeta60;
modelica_metatype tmpMeta61;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,32,5) == 0) goto tmp3_end;
tmpMeta60 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta61 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta60;
_i_args = tmpMeta61;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_name__str = omc_AbsynDumpTpl_dumpPath(threadData, _OMC_LIT10, _i_path);
_l_args__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_args, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_args__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 33: {
modelica_metatype tmpMeta62;
modelica_metatype tmpMeta63;
modelica_metatype tmpMeta64;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,33,6) == 0) goto tmp3_end;
tmpMeta62 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta63 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta64 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
_i_matchType = tmpMeta62;
_i_inputs = tmpMeta63;
_i_cases = tmpMeta64;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_match__ty = omc_ExpressionDumpTpl_dumpMatchType(threadData, _OMC_LIT10, _i_matchType);
_l_inputs__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_inputs, _a_stringDelimiter, _OMC_LIT0);
_l_case__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT62);
_l_case__str = omc_ExpressionDumpTpl_lm__90(threadData, _l_case__str, _i_cases);
_l_case__str = omc_Tpl_popIter(threadData, _l_case__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_match__ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT64);
_txt = omc_Tpl_writeText(threadData, _txt, _l_inputs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT66);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT67);
_txt = omc_Tpl_writeText(threadData, _txt, _l_case__str);
_txt = omc_Tpl_softNewLine(threadData, _txt);
_txt = omc_Tpl_popBlock(threadData, _txt);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT68);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT70);
_txt = omc_Tpl_writeText(threadData, _txt, _l_match__ty);
tmpMeta1 = omc_Tpl_popBlock(threadData, _txt);
goto tmp3_done;
}
case 34: {
modelica_metatype tmpMeta65;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,34,1) == 0) goto tmp3_end;
tmpMeta65 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta65;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT72);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 35: {
modelica_metatype tmpMeta66;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,35,2) == 0) goto tmp3_end;
tmpMeta66 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta66;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT74);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 36: {
modelica_metatype tmpMeta67;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,36,2) == 0) goto tmp3_end;
tmpMeta67 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta67;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_in_txt = _txt;
_in_a_exp = _i_exp;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
case 37: {
modelica_metatype tmpMeta68;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,37,1) == 0) goto tmp3_end;
tmpMeta68 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_pattern = tmpMeta68;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_pattern);
goto tmp3_done;
}
case 38: {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT75);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__90(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_c = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_c = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpMatchCase(threadData, _txt, _i_c);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__89(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ri_iterType)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_ri_iterType;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT77);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__88(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_it = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_it = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpReductionIterator(threadData, _txt, _i_it, _a_stringDelimiter);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__87(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_sz, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_sz;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_dim = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (optionNone(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
_i_dim = tmpMeta6;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_dim, _a_stringDelimiter);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__86(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__85(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__84(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__83(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__82(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_step, modelica_metatype _in_a_e)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_step;
tmp4_3 = _in_a_e;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_e = NULL;
modelica_metatype _i_step = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (optionNone(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
_i_step = tmpMeta6;
_txt = tmp4_1;
_a_e = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpOperand(threadData, _txt, _i_step, _a_e, 0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__81(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT79);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__81(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__81(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__80(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_row = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_row = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpExpList(threadData, _txt, _i_row, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_boolean _in_a_scalar)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_boolean tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_scalar;
{
modelica_metatype _txt = NULL;
modelica_boolean _a_scalar;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_scalar = tmp4_3;
tmpMeta1 = omc_ExpressionDumpTpl_fun__78(threadData, _txt, _a_scalar);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_scalar)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__79(threadData, _in_txt, tmp1, tmp2);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_scalar;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT83);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT85);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__78(threadData, _in_txt, tmp1);
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpNamedPattern(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_pattern)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_pattern;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_pat = NULL;
modelica_string _i_id = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 1; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_txt = tmp4_1;
_i_pat = tmpMeta6;
_i_id = tmpMeta7;
_txt = omc_Tpl_writeStr(threadData, _txt, _i_id);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT87);
tmpMeta1 = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_pat);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpPattern(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_pattern)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_pattern;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_exp = NULL;
modelica_metatype _i_tail = NULL;
modelica_metatype _i_head = NULL;
modelica_metatype _i_patterns_1 = NULL;
modelica_metatype _i_name = NULL;
modelica_metatype _i_patterns = NULL;
modelica_metatype _i_pat = NULL;
modelica_string _i_id = NULL;
modelica_metatype _l_pat__str = NULL;
modelica_metatype _l_name__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 13; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT89);
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,4) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
if (mmc__uniontype__metarecord__typedef__equal(tmpMeta7,0,0) == 0) goto tmp3_end;
_i_id = tmpMeta6;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _i_id);
goto tmp3_done;
}
case 2: {
modelica_metatype tmpMeta8;
modelica_metatype tmpMeta9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,2) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
if (mmc__uniontype__metarecord__typedef__equal(tmpMeta9,0,0) == 0) goto tmp3_end;
_i_id = tmpMeta8;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _i_id);
goto tmp3_done;
}
case 3: {
modelica_metatype tmpMeta10;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,1) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_pat = tmpMeta10;
_txt = tmp4_1;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT58);
_txt = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_pat);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 4: {
modelica_metatype tmpMeta11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,1) == 0) goto tmp3_end;
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_patterns = tmpMeta11;
_txt = tmp4_1;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_ExpressionDumpTpl_dumpPatterns(threadData, _txt, _i_patterns);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta12;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,1) == 0) goto tmp3_end;
tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_patterns = tmpMeta12;
_txt = tmp4_1;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_ExpressionDumpTpl_dumpPatterns(threadData, _txt, _i_patterns);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta13;
modelica_metatype tmpMeta14;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,6) == 0) goto tmp3_end;
tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_name = tmpMeta13;
_i_patterns = tmpMeta14;
_txt = tmp4_1;
_l_name__str = omc_AbsynDumpTpl_dumpPath(threadData, _OMC_LIT10, _i_name);
_l_pat__str = omc_ExpressionDumpTpl_dumpPatterns(threadData, _OMC_LIT10, _i_patterns);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 7: {
modelica_metatype tmpMeta15;
modelica_metatype tmpMeta16;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,2) == 0) goto tmp3_end;
tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_name = tmpMeta15;
_i_patterns_1 = tmpMeta16;
_txt = tmp4_1;
_l_name__str = omc_AbsynDumpTpl_dumpPath(threadData, _OMC_LIT10, _i_name);
_l_pat__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_pat__str = omc_ExpressionDumpTpl_lm__75(threadData, _l_pat__str, _i_patterns_1);
_l_pat__str = omc_Tpl_popIter(threadData, _l_pat__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 8: {
modelica_metatype tmpMeta17;
modelica_metatype tmpMeta18;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,2) == 0) goto tmp3_end;
tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_head = tmpMeta17;
_i_tail = tmpMeta18;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_head);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT91);
_in_txt = _txt;
_in_a_pattern = _i_tail;
goto _tailrecursive;
goto tmp3_done;
}
case 9: {
modelica_metatype tmpMeta19;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,2) == 0) goto tmp3_end;
tmpMeta19 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta19;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _OMC_LIT5);
goto tmp3_done;
}
case 10: {
modelica_metatype tmpMeta20;
modelica_metatype tmpMeta21;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,4) == 0) goto tmp3_end;
tmpMeta20 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta21 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_id = tmpMeta20;
_i_pat = tmpMeta21;
_txt = tmp4_1;
_txt = omc_Tpl_writeStr(threadData, _txt, _i_id);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT93);
_in_txt = _txt;
_in_a_pattern = _i_pat;
goto _tailrecursive;
goto tmp3_done;
}
case 11: {
modelica_metatype tmpMeta22;
modelica_metatype tmpMeta23;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,2) == 0) goto tmp3_end;
tmpMeta22 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta23 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_id = tmpMeta22;
_i_pat = tmpMeta23;
_txt = tmp4_1;
_txt = omc_Tpl_writeStr(threadData, _txt, _i_id);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT93);
_in_txt = _txt;
_in_a_pattern = _i_pat;
goto _tailrecursive;
goto tmp3_done;
}
case 12: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT95);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_pat = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_pat = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpNamedPattern(threadData, _txt, _i_pat);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpPatterns(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_patterns)
{
modelica_metatype _out_txt = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_out_txt = omc_Tpl_pushIter(threadData, _txt, _OMC_LIT4);
_out_txt = omc_ExpressionDumpTpl_lm__73(threadData, _out_txt, _a_patterns);
_out_txt = omc_Tpl_popIter(threadData, _out_txt);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_pat = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_pat = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_pat);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpMatchCase(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_mcase)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_mcase;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_body = NULL;
modelica_metatype _i_result = NULL;
modelica_metatype _i_patterns = NULL;
modelica_metatype _l_body__str = NULL;
modelica_metatype _l_res__str = NULL;
modelica_metatype _l_pat__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 5; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
modelica_metatype tmpMeta8;
modelica_metatype tmpMeta9;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
if (!listEmpty(tmpMeta7)) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
if (optionNone(tmpMeta8)) goto tmp3_end;
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta8), 1));
_i_patterns = tmpMeta6;
_i_result = tmpMeta9;
_txt = tmp4_1;
_l_pat__str = omc_ExpressionDumpTpl_dumpPatterns(threadData, _OMC_LIT10, _i_patterns);
_l_res__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_result, _OMC_LIT5);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT99);
_txt = omc_Tpl_writeText(threadData, _txt, _l_res__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101);
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
modelica_metatype tmpMeta12;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
if (!listEmpty(tmpMeta11)) goto tmp3_end;
tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
if (!optionNone(tmpMeta12)) goto tmp3_end;
_i_patterns = tmpMeta10;
_txt = tmp4_1;
_l_pat__str = omc_ExpressionDumpTpl_dumpPatterns(threadData, _OMC_LIT10, _i_patterns);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT103);
goto tmp3_done;
}
case 2: {
modelica_metatype tmpMeta13;
modelica_metatype tmpMeta14;
modelica_metatype tmpMeta15;
modelica_metatype tmpMeta16;
tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
if (optionNone(tmpMeta15)) goto tmp3_end;
tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta15), 1));
_i_patterns = tmpMeta13;
_i_body = tmpMeta14;
_i_result = tmpMeta16;
_txt = tmp4_1;
_l_pat__str = omc_ExpressionDumpTpl_dumpPatterns(threadData, _OMC_LIT10, _i_patterns);
_l_res__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_result, _OMC_LIT5);
_l_body__str = omc_DAEDumpTpl_dumpStatements(threadData, _OMC_LIT10, _i_body);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT107);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT67);
_txt = omc_Tpl_writeText(threadData, _txt, _l_body__str);
_txt = omc_Tpl_softNewLine(threadData, _txt);
_txt = omc_Tpl_popBlock(threadData, _txt);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT109);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT67);
_txt = omc_Tpl_writeText(threadData, _txt, _l_res__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101);
tmpMeta1 = omc_Tpl_popBlock(threadData, _txt);
goto tmp3_done;
}
case 3: {
modelica_metatype tmpMeta17;
modelica_metatype tmpMeta18;
tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_txt = tmp4_1;
_i_patterns = tmpMeta17;
_i_body = tmpMeta18;
_l_pat__str = omc_ExpressionDumpTpl_dumpPatterns(threadData, _OMC_LIT10, _i_patterns);
_l_body__str = omc_DAEDumpTpl_dumpStatements(threadData, _OMC_LIT10, _i_body);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
_txt = omc_Tpl_writeText(threadData, _txt, _l_pat__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT107);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT67);
_txt = omc_Tpl_writeText(threadData, _txt, _l_body__str);
_txt = omc_Tpl_softNewLine(threadData, _txt);
_txt = omc_Tpl_popBlock(threadData, _txt);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT113);
goto tmp3_done;
}
case 4: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpMatchType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_ty;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 4; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT115);
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!optionNone(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT117);
goto tmp3_done;
}
case 2: {
modelica_metatype tmpMeta7;
modelica_metatype tmpMeta8;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (optionNone(tmpMeta7)) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta7), 1));
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT119);
goto tmp3_done;
}
case 3: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpClassState(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_state)
{
modelica_metatype _out_txt = NULL;
modelica_metatype _ret_0 = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_ret_0 = omc_ClassInf_getStateName(threadData, _a_state);
_out_txt = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _ret_0);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpDimension(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_dim)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_dim;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_exp = NULL;
modelica_metatype _i_enumTypeName = NULL;
modelica_integer _i_integer;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
modelica_metatype tmpMeta5;
modelica_integer tmp6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmp6 = mmc_unbox_integer(tmpMeta5);
_i_integer = tmp6;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, intString(_i_integer));
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,3) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_enumTypeName = tmpMeta7;
_txt = tmp4_1;
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_enumTypeName);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta8;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta8;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _OMC_LIT5);
goto tmp3_done;
}
case 7: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpDimensions(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_dims)
{
modelica_metatype _out_txt = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_out_txt = omc_Tpl_pushIter(threadData, _txt, _OMC_LIT4);
_out_txt = omc_ExpressionDumpTpl_lm__67(threadData, _out_txt, _a_dims);
_out_txt = omc_Tpl_popIter(threadData, _out_txt);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__67(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_dim = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_dim = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpDimension(threadData, _txt, _i_dim);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpFuncArg(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_arg)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_arg;
{
modelica_metatype _txt = NULL;
modelica_string _i_arg_name = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_txt = tmp4_1;
_i_arg_name = tmpMeta6;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _i_arg_name);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_string _i_name = NULL;
modelica_metatype _i_types = NULL;
modelica_metatype _i_functionType = NULL;
modelica_metatype _i_funcResultType = NULL;
modelica_metatype _i_funcArg = NULL;
modelica_metatype _i_complexClassType = NULL;
modelica_metatype _i_ty = NULL;
modelica_metatype _i_dims = NULL;
modelica_metatype _i_path = NULL;
modelica_metatype _l_ret__str = NULL;
modelica_metatype _l_arg__str = NULL;
modelica_metatype _l_ty__str = NULL;
modelica_metatype _l_dim__str = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT121);
goto tmp3_done;
}
case 4: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT123);
goto tmp3_done;
}
case 6: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT125);
goto tmp3_done;
}
case 5: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT127);
goto tmp3_done;
}
case 8: {
modelica_metatype tmpMeta5;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,5) == 0) goto tmp3_end;
tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta5;
_txt = tmp4_1;
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_path);
goto tmp3_done;
}
case 9: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_ty = tmpMeta6;
_i_dims = tmpMeta7;
_txt = tmp4_1;
_l_dim__str = omc_ExpressionDumpTpl_dumpDimensions(threadData, _OMC_LIT10, _i_dims);
_l_ty__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_ty);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeText(threadData, _txt, _l_dim__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 12: {
modelica_metatype tmpMeta8;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,3) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_complexClassType = tmpMeta8;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpClassState(threadData, _txt, _i_complexClassType);
goto tmp3_done;
}
case 13: {
modelica_metatype tmpMeta9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,4) == 0) goto tmp3_end;
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_complexClassType = tmpMeta9;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpClassState(threadData, _txt, _i_complexClassType);
goto tmp3_done;
}
case 14: {
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,11,4) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_funcArg = tmpMeta10;
_i_funcResultType = tmpMeta11;
_txt = tmp4_1;
_l_arg__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_arg__str = omc_ExpressionDumpTpl_lm__62(threadData, _l_arg__str, _i_funcArg);
_l_arg__str = omc_Tpl_popIter(threadData, _l_arg__str);
_l_ret__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_funcResultType);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT129);
_txt = omc_Tpl_writeText(threadData, _txt, _l_arg__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT131);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_ret__str);
goto tmp3_done;
}
case 15: {
modelica_metatype tmpMeta12;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,12,1) == 0) goto tmp3_end;
tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_functionType = tmpMeta12;
_txt = tmp4_1;
_in_txt = _txt;
_in_a_ty = _i_functionType;
goto _tailrecursive;
goto tmp3_done;
}
case 16: {
modelica_metatype tmpMeta13;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,2) == 0) goto tmp3_end;
tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_functionType = tmpMeta13;
_txt = tmp4_1;
_in_txt = _txt;
_in_a_ty = _i_functionType;
goto _tailrecursive;
goto tmp3_done;
}
case 17: {
modelica_metatype tmpMeta14;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,14,2) == 0) goto tmp3_end;
tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_types = tmpMeta14;
_txt = tmp4_1;
_l_ty__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_ty__str = omc_ExpressionDumpTpl_lm__63(threadData, _l_ty__str, _i_types);
_l_ty__str = omc_Tpl_popIter(threadData, _l_ty__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
goto tmp3_done;
}
case 18: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,15,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT133);
goto tmp3_done;
}
case 20: {
modelica_metatype tmpMeta15;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,1) == 0) goto tmp3_end;
tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_ty = tmpMeta15;
_txt = tmp4_1;
_l_ty__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT135);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 21: {
modelica_metatype tmpMeta16;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,18,1) == 0) goto tmp3_end;
tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_types = tmpMeta16;
_txt = tmp4_1;
_l_ty__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_ty__str = omc_ExpressionDumpTpl_lm__64(threadData, _l_ty__str, _i_types);
_l_ty__str = omc_Tpl_popIter(threadData, _l_ty__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT139);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 22: {
modelica_metatype tmpMeta17;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_ty = tmpMeta17;
_txt = tmp4_1;
_l_ty__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT141);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 23: {
modelica_metatype tmpMeta18;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,5) == 0) goto tmp3_end;
tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
_i_path = tmpMeta18;
_txt = tmp4_1;
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_path);
goto tmp3_done;
}
case 24: {
modelica_metatype tmpMeta19;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,21,6) == 0) goto tmp3_end;
tmpMeta19 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_path = tmpMeta19;
_txt = tmp4_1;
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_path);
goto tmp3_done;
}
case 25: {
modelica_metatype tmpMeta20;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,22,1) == 0) goto tmp3_end;
tmpMeta20 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_ty = tmpMeta20;
_txt = tmp4_1;
_l_ty__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT143);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 26: {
modelica_metatype tmpMeta21;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,23,1) == 0) goto tmp3_end;
tmpMeta21 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_ty = tmpMeta21;
_txt = tmp4_1;
_in_txt = _txt;
_in_a_ty = _i_ty;
goto _tailrecursive;
goto tmp3_done;
}
case 27: {
modelica_metatype tmpMeta22;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,24,1) == 0) goto tmp3_end;
tmpMeta22 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_name = tmpMeta22;
_txt = tmp4_1;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT145);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_name);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 28: {
modelica_metatype tmpMeta23;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,25,1) == 0) goto tmp3_end;
tmpMeta23 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_ty = tmpMeta23;
_txt = tmp4_1;
_in_txt = _txt;
_in_a_ty = _i_ty;
goto _tailrecursive;
goto tmp3_done;
}
case 11: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT147);
goto tmp3_done;
}
case 19: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT149);
goto tmp3_done;
}
case 10: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT151);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__64(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_ty = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_ty = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpType(threadData, _txt, _i_ty);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_ty = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_ty = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpType(threadData, _txt, _i_ty);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__62(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_arg = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_arg = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpFuncArg(threadData, _txt, _i_arg);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpRelationOp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 28: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,25,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT153);
goto tmp3_done;
}
case 29: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,26,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT155);
goto tmp3_done;
}
case 30: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,27,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT137);
goto tmp3_done;
}
case 31: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,28,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT157);
goto tmp3_done;
}
case 32: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,29,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT159);
goto tmp3_done;
}
case 33: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,30,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT161);
goto tmp3_done;
}
case 34: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,31,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT163);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT164);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpLogicalUnaryOp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,24,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT166);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT167);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpLogicalBinOp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 25: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,22,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT169);
goto tmp3_done;
}
case 26: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,23,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT171);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT172);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpUnaryOp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 8: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT174);
goto tmp3_done;
}
case 9: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT174);
goto tmp3_done;
}
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT176);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT177);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpBinOp(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_op)
{
modelica_metatype _out_txt = NULL;
modelica_boolean _ret_0;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_ret_0 = omc_Config_typeinfo(threadData);
_out_txt = omc_ExpressionDumpTpl_fun__56(threadData, _txt, _ret_0, _a_op);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_op;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_op = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_op = tmp4_3;
tmpMeta1 = omc_ExpressionDumpTpl_fun__54(threadData, _txt, _a_op);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_op = tmp4_3;
tmpMeta1 = omc_ExpressionDumpTpl_fun__55(threadData, _txt, _a_op);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_op)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__56(threadData, _in_txt, tmp1, _in_a_op);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__55(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT176);
goto tmp3_done;
}
case 4: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT174);
goto tmp3_done;
}
case 5: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);
goto tmp3_done;
}
case 6: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT181);
goto tmp3_done;
}
case 7: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT183);
goto tmp3_done;
}
case 10: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT185);
goto tmp3_done;
}
case 11: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT187);
goto tmp3_done;
}
case 12: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT189);
goto tmp3_done;
}
case 13: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT191);
goto tmp3_done;
}
case 23: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT193);
goto tmp3_done;
}
case 24: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,21,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT195);
goto tmp3_done;
}
case 14: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,11,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT197);
goto tmp3_done;
}
case 15: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,12,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT199);
goto tmp3_done;
}
case 16: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT201);
goto tmp3_done;
}
case 22: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT203);
goto tmp3_done;
}
case 21: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,18,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT205);
goto tmp3_done;
}
case 17: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,14,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT207);
goto tmp3_done;
}
case 18: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,15,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT209);
goto tmp3_done;
}
case 20: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT211);
goto tmp3_done;
}
case 19: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT213);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT214);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__54(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_op)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_op;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT176);
goto tmp3_done;
}
case 4: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT174);
goto tmp3_done;
}
case 5: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);
goto tmp3_done;
}
case 6: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT181);
goto tmp3_done;
}
case 7: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT183);
goto tmp3_done;
}
case 10: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT176);
goto tmp3_done;
}
case 11: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT174);
goto tmp3_done;
}
case 12: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT216);
goto tmp3_done;
}
case 13: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT218);
goto tmp3_done;
}
case 23: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT183);
goto tmp3_done;
}
case 24: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,21,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT220);
goto tmp3_done;
}
case 14: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,11,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);
goto tmp3_done;
}
case 15: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,12,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT222);
goto tmp3_done;
}
case 16: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT224);
goto tmp3_done;
}
case 22: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT220);
goto tmp3_done;
}
case 21: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,18,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT220);
goto tmp3_done;
}
case 17: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,14,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);
goto tmp3_done;
}
case 18: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,15,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);
goto tmp3_done;
}
case 20: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT218);
goto tmp3_done;
}
case 19: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT181);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT214);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpOperand(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_operand, modelica_metatype _a_operation, modelica_boolean _a_lhs)
{
modelica_metatype _out_txt = NULL;
modelica_boolean _ret_1;
modelica_metatype _l_op__str = NULL;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
_l_op__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _a_operand, _OMC_LIT5);
_ret_1 = omc_Expression_shouldParenthesize(threadData, _a_operand, _a_operation, _a_lhs);
_out_txt = omc_ExpressionDumpTpl_fun__52(threadData, _txt, _ret_1, _l_op__str);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
modelica_metatype boxptr_ExpressionDumpTpl_dumpOperand(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_operand, modelica_metatype _a_operation, modelica_metatype _a_lhs)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_a_lhs);
_out_txt = omc_ExpressionDumpTpl_dumpOperand(threadData, _txt, _a_operand, _a_operation, tmp1);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_op__str)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_op__str;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_op__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_op__str = tmp4_3;
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _a_op__str);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_op__str = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _a_op__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_op__str)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__52(threadData, _in_txt, tmp1, _in_a_op__str);
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpReductionIterator(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_iterator, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_iterator;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_gexp = NULL;
modelica_string _i_id = NULL;
modelica_metatype _i_exp = NULL;
modelica_metatype _l_guard__str = NULL;
modelica_metatype _l_exp__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 3; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
modelica_metatype tmpMeta8;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
if (!optionNone(tmpMeta8)) goto tmp3_end;
_i_id = tmpMeta6;
_i_exp = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_id);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT226);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta9;
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
modelica_metatype tmpMeta12;
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
if (optionNone(tmpMeta11)) goto tmp3_end;
tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta11), 1));
_i_id = tmpMeta9;
_i_exp = tmpMeta10;
_i_gexp = tmpMeta12;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_guard__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_gexp, _a_stringDelimiter);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_id);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT228);
_txt = omc_Tpl_writeText(threadData, _txt, _l_guard__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT226);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
goto tmp3_done;
}
case 2: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpSubscript(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_subscript)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_subscript;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_exp = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
goto tmp3_done;
}
case 4: {
modelica_metatype tmpMeta5;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta5;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _OMC_LIT5);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta6;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _OMC_LIT5);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta7;
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _OMC_LIT5);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpSubscripts(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_subscripts)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_subscripts;
{
modelica_metatype _txt = NULL;
modelica_metatype _i_subscripts = NULL;
modelica_boolean _ret_0;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_i_subscripts = tmp4_2;
_ret_0 = omc_Flags_getConfigBool(threadData, _OMC_LIT236);
tmpMeta1 = omc_ExpressionDumpTpl_fun__48(threadData, _txt, _ret_0, _i_subscripts);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_subscripts)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_subscripts;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_subscripts = NULL;
modelica_metatype _l_sub__str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_subscripts = tmp4_3;
_l_sub__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT240);
_l_sub__str = omc_ExpressionDumpTpl_lm__46(threadData, _l_sub__str, _a_subscripts);
_l_sub__str = omc_Tpl_popIter(threadData, _l_sub__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeText(threadData, _txt, _l_sub__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_subscripts = tmp4_3;
_l_sub__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT242);
_l_sub__str = omc_ExpressionDumpTpl_lm__47(threadData, _l_sub__str, _a_subscripts);
_l_sub__str = omc_Tpl_popIter(threadData, _l_sub__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT89);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_sub__str);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_subscripts)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__48(threadData, _in_txt, tmp1, _in_a_subscripts);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__47(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_sub = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_sub = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpSubscript(threadData, _txt, _i_sub);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__46(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_sub = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_sub = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpSubscript(threadData, _txt, _i_sub);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpCref(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_cref)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_cref;
{
modelica_metatype _txt = NULL;
modelica_string _i_instant = NULL;
modelica_metatype _i_componentRef = NULL;
modelica_string _i_ident = NULL;
modelica_metatype _i_subscriptLst = NULL;
modelica_boolean _ret_2;
modelica_metatype _l_cref__str = NULL;
modelica_metatype _l_sub__str = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 4: {
modelica_metatype tmpMeta5;
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,3) == 0) goto tmp3_end;
tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_ident = tmpMeta5;
_i_subscriptLst = tmpMeta6;
_txt = tmp4_1;
_l_sub__str = omc_ExpressionDumpTpl_dumpSubscripts(threadData, _OMC_LIT10, _i_subscriptLst);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_ident);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_sub__str);
goto tmp3_done;
}
case 3: {
modelica_metatype tmpMeta7;
modelica_metatype tmpMeta8;
modelica_metatype tmpMeta9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,4) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_ident = tmpMeta7;
_i_subscriptLst = tmpMeta8;
_i_componentRef = tmpMeta9;
_txt = tmp4_1;
_l_sub__str = omc_ExpressionDumpTpl_dumpSubscripts(threadData, _OMC_LIT10, _i_subscriptLst);
_l_cref__str = omc_ExpressionDumpTpl_dumpCref(threadData, _OMC_LIT10, _i_componentRef);
_ret_2 = omc_Flags_getConfigBool(threadData, _OMC_LIT236);
tmpMeta1 = omc_ExpressionDumpTpl_fun__44(threadData, _txt, _ret_2, _l_cref__str, _l_sub__str, _i_ident);
goto tmp3_done;
}
case 6: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT89);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,2) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_componentRef = tmpMeta10;
_i_instant = tmpMeta11;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpCref(threadData, _txt, _i_componentRef);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_instant);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT243);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__44(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_cref__str, modelica_metatype _in_a_sub__str, modelica_string _in_a_ident)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_cref__str;
tmp4_4 = _in_a_sub__str;
tmp4_5 = _in_a_ident;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_cref__str = NULL;
modelica_metatype _a_sub__str = NULL;
modelica_string _a_ident = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_cref__str = tmp4_3;
_a_sub__str = tmp4_4;
_a_ident = tmp4_5;
_txt = omc_Tpl_writeStr(threadData, _txt, _a_ident);
_txt = omc_Tpl_writeText(threadData, _txt, _a_sub__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT245);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _a_cref__str);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_cref__str = tmp4_3;
_a_sub__str = tmp4_4;
_a_ident = tmp4_5;
_txt = omc_Tpl_writeStr(threadData, _txt, _a_ident);
_txt = omc_Tpl_writeText(threadData, _txt, _a_sub__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT247);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _a_cref__str);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__44(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_cref__str, modelica_metatype _in_a_sub__str, modelica_metatype _in_a_ident)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__44(threadData, _in_txt, tmp1, _in_a_cref__str, _in_a_sub__str, _in_a_ident);
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpClockKind(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_clk, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_clk;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_solverMethod = NULL;
modelica_metatype _i_c = NULL;
modelica_metatype _i_startInterval = NULL;
modelica_metatype _i_condition = NULL;
modelica_metatype _i_interval = NULL;
modelica_metatype _i_resolution = NULL;
modelica_metatype _i_intervalCounter = NULL;
modelica_metatype _l_sm__str = NULL;
modelica_metatype _l_clk__str = NULL;
modelica_metatype _l_si__str = NULL;
modelica_metatype _l_condition__str = NULL;
modelica_metatype _l_interval__str = NULL;
modelica_metatype _l_re__str = NULL;
modelica_metatype _l_ic__str = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT249);
goto tmp3_done;
}
case 4: {
modelica_metatype tmpMeta5;
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,2) == 0) goto tmp3_end;
tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_intervalCounter = tmpMeta5;
_i_resolution = tmpMeta6;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_ic__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_intervalCounter, _a_stringDelimiter);
_l_re__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_resolution, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT251);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ic__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
_txt = omc_Tpl_writeText(threadData, _txt, _l_re__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_interval = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_interval__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_interval, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT251);
_txt = omc_Tpl_writeText(threadData, _txt, _l_interval__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta8;
modelica_metatype tmpMeta9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,2) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_condition = tmpMeta8;
_i_startInterval = tmpMeta9;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_condition__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_condition, _a_stringDelimiter);
_l_si__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_startInterval, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT251);
_txt = omc_Tpl_writeText(threadData, _txt, _l_condition__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
_txt = omc_Tpl_writeText(threadData, _txt, _l_si__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 7: {
modelica_metatype tmpMeta10;
modelica_metatype tmpMeta11;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,2) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_c = tmpMeta10;
_i_solverMethod = tmpMeta11;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_clk__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_c, _a_stringDelimiter);
_l_sm__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_solverMethod, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT251);
_txt = omc_Tpl_writeText(threadData, _txt, _l_clk__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
_txt = omc_Tpl_writeText(threadData, _txt, _l_sm__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpExpListCrefs(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_expl, modelica_string _a_stringDelimiter, modelica_string _a_expDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
modelica_metatype tmpMeta2;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
tmpMeta1 = mmc_mk_box2(4, &Tpl_StringToken_ST__STRING__desc, _a_expDelimiter);
tmpMeta2 = mmc_mk_box9(3, &Tpl_IterOptions_ITER__OPTIONS__desc, mmc_mk_integer(((modelica_integer) 0)), mmc_mk_none(), mmc_mk_some(tmpMeta1), mmc_mk_integer(((modelica_integer) 0)), mmc_mk_integer(((modelica_integer) 0)), _OMC_LIT3, mmc_mk_integer(((modelica_integer) 0)), _OMC_LIT3);
_out_txt = omc_Tpl_pushIter(threadData, _txt, tmpMeta2);
_out_txt = omc_ExpressionDumpTpl_lm__41(threadData, _out_txt, _a_expl, _a_stringDelimiter);
_out_txt = omc_Tpl_popIter(threadData, _out_txt);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__41(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_exp = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_exp = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpExpCrefs(threadData, _txt, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpExpList(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_expl, modelica_string _a_stringDelimiter, modelica_string _a_expDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
modelica_metatype tmpMeta2;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
tmpMeta1 = mmc_mk_box2(4, &Tpl_StringToken_ST__STRING__desc, _a_expDelimiter);
tmpMeta2 = mmc_mk_box9(3, &Tpl_IterOptions_ITER__OPTIONS__desc, mmc_mk_integer(((modelica_integer) 0)), mmc_mk_none(), mmc_mk_some(tmpMeta1), mmc_mk_integer(((modelica_integer) 0)), mmc_mk_integer(((modelica_integer) 0)), _OMC_LIT3, mmc_mk_integer(((modelica_integer) 0)), _OMC_LIT3);
_out_txt = omc_Tpl_pushIter(threadData, _txt, tmpMeta2);
_out_txt = omc_ExpressionDumpTpl_lm__39(threadData, _out_txt, _a_expl, _a_stringDelimiter);
_out_txt = omc_Tpl_popIter(threadData, _out_txt);
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__39(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_exp = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_exp = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_parenthesizeSubExp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_exp)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_exp;
{
modelica_metatype _txt = NULL;
int tmp4;
{
switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
case 3: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 4: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 5: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 6: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 8: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 9: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,2) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 16: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,3) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 19: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,3) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 20: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,3) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 22: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 23: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,2) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 27: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,24,2) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 30: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,27,3) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
default:
tmp3_default: OMC_LABEL_UNUSED; {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT253);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
DLLExport
modelica_metatype omc_ExpressionDumpTpl_dumpExp(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_exp, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_exp;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_pattern = NULL;
modelica_metatype _i_cases = NULL;
modelica_metatype _i_inputs = NULL;
modelica_metatype _i_matchType = NULL;
modelica_metatype _i_args = NULL;
modelica_metatype _i_listExp = NULL;
modelica_metatype _i_cdr = NULL;
modelica_metatype _i_car = NULL;
modelica_metatype _i_valList = NULL;
modelica_metatype _i_ri_iterType = NULL;
modelica_metatype _i_iterators = NULL;
modelica_metatype _i_expr = NULL;
modelica_metatype _i_ri_path = NULL;
modelica_string _i_tyStr = NULL;
modelica_string _i_scope = NULL;
modelica_metatype _i_name_1 = NULL;
modelica_metatype _i_code = NULL;
modelica_metatype _i_sz = NULL;
modelica_string _i_fieldName = NULL;
modelica_integer _i_ix;
modelica_metatype _i_sub = NULL;
modelica_metatype _i_PR = NULL;
modelica_metatype _i_stop = NULL;
modelica_metatype _i_step = NULL;
modelica_metatype _i_start = NULL;
modelica_metatype _i_matrix = NULL;
modelica_boolean _i_scalar;
modelica_metatype _i_array = NULL;
modelica_metatype _i_expList = NULL;
modelica_metatype _i_exps = NULL;
modelica_metatype _i_attr_ty = NULL;
modelica_metatype _i_expLst = NULL;
modelica_metatype _i_path = NULL;
modelica_metatype _i_expElse = NULL;
modelica_metatype _i_expThen = NULL;
modelica_metatype _i_expCond = NULL;
modelica_metatype _i_exp = NULL;
modelica_metatype _i_operator = NULL;
modelica_metatype _i_exp2 = NULL;
modelica_metatype _i_e = NULL;
modelica_metatype _i_exp1 = NULL;
modelica_metatype _i_componentRef = NULL;
modelica_metatype _i_ty = NULL;
modelica_metatype _i_name = NULL;
modelica_integer _i_index;
modelica_metatype _i_clk = NULL;
modelica_boolean _i_bool;
modelica_string _i_string = NULL;
modelica_real _i_real;
modelica_integer _i_integer;
modelica_boolean _ret_43;
modelica_boolean _ret_42;
modelica_metatype _l_case__str = NULL;
modelica_metatype _l_inputs__str = NULL;
modelica_metatype _l_match__ty = NULL;
modelica_metatype _l_args__str = NULL;
modelica_metatype _l_cdr__str = NULL;
modelica_metatype _l_car__str = NULL;
modelica_metatype _l_expl__str = NULL;
modelica_metatype _l_iter__str = NULL;
modelica_metatype _l_name__str = NULL;
modelica_string _ret_32 = NULL;
modelica_metatype _l_code__str = NULL;
modelica_metatype _l_dim__str = NULL;
modelica_boolean _ret_29;
modelica_boolean _ret_28;
modelica_metatype _l_sub__str = NULL;
modelica_metatype _l_rparen = NULL;
modelica_metatype _l_lparen = NULL;
modelica_metatype _l_needs__paren = NULL;
modelica_metatype _l_ty__str = NULL;
modelica_metatype _l_tuple__str = NULL;
modelica_metatype _l_stop__str = NULL;
modelica_metatype _l_step__str = NULL;
modelica_metatype _l_start__str = NULL;
modelica_boolean _ret_18;
modelica_metatype _l_mat__str = NULL;
modelica_boolean _ret_16;
modelica_metatype _l_expl = NULL;
modelica_boolean _ret_14;
modelica_boolean _ret_13;
modelica_metatype _l_argl = NULL;
modelica_metatype _l_func__str = NULL;
modelica_metatype _l_else__str = NULL;
modelica_metatype _l_then__str = NULL;
modelica_metatype _l_cond__str = NULL;
modelica_metatype _l_exp__str = NULL;
modelica_metatype _l_op__str = NULL;
modelica_metatype _l_rhs__str = NULL;
modelica_metatype _l_lhs__str = NULL;
modelica_boolean _ret_3;
modelica_boolean _ret_2;
modelica_string _ret_1 = NULL;
modelica_metatype _l_str = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 42; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
modelica_integer tmp7;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,1) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmp7 = mmc_unbox_integer(tmpMeta6);
_i_integer = tmp7;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, intString(_i_integer));
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta8;
modelica_real tmp9;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,1) == 0) goto tmp3_end;
tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmp9 = mmc_unbox_real(tmpMeta8);
_i_real = tmp9;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, realString(_i_real));
goto tmp3_done;
}
case 2: {
modelica_metatype tmpMeta10;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,1) == 0) goto tmp3_end;
tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_string = tmpMeta10;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_ret_1 = omc_System_escapedString(threadData, _i_string, 0);
_l_str = omc_Tpl_writeStr(threadData, _OMC_LIT10, _ret_1);
_txt = omc_Tpl_writeStr(threadData, _txt, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_str);
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _a_stringDelimiter);
goto tmp3_done;
}
case 3: {
modelica_metatype tmpMeta11;
modelica_integer tmp12;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,1) == 0) goto tmp3_end;
tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmp12 = mmc_unbox_integer(tmpMeta11);
_i_bool = tmp12;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, omc_Tpl_booleanString(threadData, _i_bool));
goto tmp3_done;
}
case 4: {
modelica_metatype tmpMeta13;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,1) == 0) goto tmp3_end;
tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_clk = tmpMeta13;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
tmpMeta1 = omc_ExpressionDumpTpl_dumpClockKind(threadData, _txt, _i_clk, _a_stringDelimiter);
goto tmp3_done;
}
case 5: {
modelica_metatype tmpMeta14;
modelica_metatype tmpMeta15;
modelica_integer tmp16;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2) == 0) goto tmp3_end;
tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp16 = mmc_unbox_integer(tmpMeta15);
_i_name = tmpMeta14;
_i_index = tmp16;
_txt = tmp4_1;
_ret_2 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__12(threadData, _txt, _ret_2, _i_index);
tmpMeta1 = omc_AbsynDumpTpl_dumpPath(threadData, _txt, _i_name);
goto tmp3_done;
}
case 6: {
modelica_metatype tmpMeta17;
modelica_metatype tmpMeta18;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,2) == 0) goto tmp3_end;
tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_componentRef = tmpMeta17;
_i_ty = tmpMeta18;
_txt = tmp4_1;
_ret_3 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__13(threadData, _txt, _ret_3, _i_ty);
tmpMeta1 = omc_ExpressionDumpTpl_dumpCref(threadData, _txt, _i_componentRef);
goto tmp3_done;
}
case 7: {
modelica_metatype tmpMeta19;
modelica_metatype tmpMeta20;
modelica_metatype tmpMeta21;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,3) == 0) goto tmp3_end;
tmpMeta19 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta20 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta21 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_e = tmp4_2;
_i_exp1 = tmpMeta19;
_i_operator = tmpMeta20;
_i_exp2 = tmpMeta21;
_txt = tmp4_1;
_l_lhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp1, _i_e, 1);
_l_rhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp2, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpBinOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 8: {
modelica_metatype tmpMeta22;
modelica_metatype tmpMeta23;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,2) == 0) goto tmp3_end;
tmpMeta22 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta23 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_e = tmp4_2;
_i_operator = tmpMeta22;
_i_exp = tmpMeta23;
_txt = tmp4_1;
_l_exp__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpUnaryOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
goto tmp3_done;
}
case 9: {
modelica_metatype tmpMeta24;
modelica_metatype tmpMeta25;
modelica_metatype tmpMeta26;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,3) == 0) goto tmp3_end;
tmpMeta24 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta25 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta26 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_e = tmp4_2;
_i_exp1 = tmpMeta24;
_i_operator = tmpMeta25;
_i_exp2 = tmpMeta26;
_txt = tmp4_1;
_l_lhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp1, _i_e, 1);
_l_rhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp2, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpLogicalBinOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 10: {
modelica_metatype tmpMeta27;
modelica_metatype tmpMeta28;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,2) == 0) goto tmp3_end;
tmpMeta27 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta28 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_e = tmp4_2;
_i_operator = tmpMeta27;
_i_exp = tmpMeta28;
_txt = tmp4_1;
_l_exp__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpLogicalUnaryOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
goto tmp3_done;
}
case 11: {
modelica_metatype tmpMeta29;
modelica_metatype tmpMeta30;
modelica_metatype tmpMeta31;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,11,5) == 0) goto tmp3_end;
tmpMeta29 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta30 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta31 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_e = tmp4_2;
_i_exp1 = tmpMeta29;
_i_operator = tmpMeta30;
_i_exp2 = tmpMeta31;
_txt = tmp4_1;
_l_lhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp1, _i_e, 1);
_l_rhs__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_exp2, _i_e, 0);
_l_op__str = omc_ExpressionDumpTpl_dumpRelationOp(threadData, _OMC_LIT10, _i_operator);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lhs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
_txt = omc_Tpl_writeText(threadData, _txt, _l_op__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT12);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_rhs__str);
goto tmp3_done;
}
case 12: {
modelica_metatype tmpMeta32;
modelica_metatype tmpMeta33;
modelica_metatype tmpMeta34;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,12,3) == 0) goto tmp3_end;
tmpMeta32 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta33 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta34 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_expCond = tmpMeta32;
_i_expThen = tmpMeta33;
_i_expElse = tmpMeta34;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_cond__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_expCond, _a_stringDelimiter);
_l_then__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_expThen, _a_stringDelimiter);
_l_else__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_expElse, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT255);
_txt = omc_Tpl_writeText(threadData, _txt, _l_cond__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT257);
_txt = omc_Tpl_writeText(threadData, _txt, _l_then__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT259);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_else__str);
goto tmp3_done;
}
case 13: {
modelica_metatype tmpMeta35;
modelica_metatype tmpMeta36;
modelica_metatype tmpMeta37;
modelica_metatype tmpMeta38;
modelica_metatype tmpMeta39;
modelica_integer tmp40;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,3) == 0) goto tmp3_end;
tmpMeta35 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta36 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta37 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta38 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta37), 2));
tmpMeta39 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta37), 4));
tmp40 = mmc_unbox_integer(tmpMeta39);
if (1 != tmp40) goto tmp3_end;
_i_path = tmpMeta35;
_i_expLst = tmpMeta36;
_i_attr_ty = tmpMeta38;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_func__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_path);
_l_argl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_expLst, _a_stringDelimiter, _OMC_LIT0);
_ret_13 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__14(threadData, _txt, _ret_13, _i_attr_ty);
_txt = omc_Tpl_writeText(threadData, _txt, _l_func__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_argl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 14: {
modelica_metatype tmpMeta41;
modelica_metatype tmpMeta42;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,13,3) == 0) goto tmp3_end;
tmpMeta41 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta42 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta41;
_i_expLst = tmpMeta42;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_func__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_path);
_l_argl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_expLst, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_func__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_argl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 15: {
modelica_metatype tmpMeta43;
modelica_metatype tmpMeta44;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,14,4) == 0) goto tmp3_end;
tmpMeta43 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta44 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta43;
_i_exps = tmpMeta44;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_func__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_path);
_l_argl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_exps, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_func__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_argl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 16: {
modelica_metatype tmpMeta45;
modelica_metatype tmpMeta46;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,15,4) == 0) goto tmp3_end;
tmpMeta45 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta46 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta45;
_i_expList = tmpMeta46;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_func__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_path);
_l_argl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_expList, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT14);
_txt = omc_Tpl_writeText(threadData, _txt, _l_func__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_argl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 17: {
modelica_metatype tmpMeta47;
modelica_metatype tmpMeta48;
modelica_integer tmp49;
modelica_metatype tmpMeta50;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,3) == 0) goto tmp3_end;
tmpMeta47 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta48 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp49 = mmc_unbox_integer(tmpMeta48);
tmpMeta50 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
if (!listEmpty(tmpMeta50)) goto tmp3_end;
_i_ty = tmpMeta47;
_i_scalar = tmp49;
_i_array = tmpMeta50;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_ret_14 = omc_Flags_getConfigBool(threadData, _OMC_LIT236);
tmpMeta1 = omc_ExpressionDumpTpl_fun__17(threadData, _txt, _ret_14, _i_ty, _i_scalar, _a_stringDelimiter, _i_array);
goto tmp3_done;
}
case 18: {
modelica_metatype tmpMeta51;
modelica_metatype tmpMeta52;
modelica_integer tmp53;
modelica_metatype tmpMeta54;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,16,3) == 0) goto tmp3_end;
tmpMeta51 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta52 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp53 = mmc_unbox_integer(tmpMeta52);
tmpMeta54 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_ty = tmpMeta51;
_i_scalar = tmp53;
_i_array = tmpMeta54;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_expl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_array, _a_stringDelimiter, _OMC_LIT0);
_ret_16 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__19(threadData, _txt, _ret_16, _i_ty, _i_scalar);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT20);
_txt = omc_Tpl_writeText(threadData, _txt, _l_expl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT22);
goto tmp3_done;
}
case 19: {
modelica_metatype tmpMeta55;
modelica_metatype tmpMeta56;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,17,3) == 0) goto tmp3_end;
tmpMeta55 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta56 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_ty = tmpMeta55;
_i_matrix = tmpMeta56;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_mat__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT26);
_l_mat__str = omc_ExpressionDumpTpl_lm__20(threadData, _l_mat__str, _i_matrix, _a_stringDelimiter);
_l_mat__str = omc_Tpl_popIter(threadData, _l_mat__str);
_ret_18 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__21(threadData, _txt, _ret_18, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT28);
_txt = omc_Tpl_writeText(threadData, _txt, _l_mat__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT30);
goto tmp3_done;
}
case 20: {
modelica_metatype tmpMeta57;
modelica_metatype tmpMeta58;
modelica_metatype tmpMeta59;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,18,4) == 0) goto tmp3_end;
tmpMeta57 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta58 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta59 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_e = tmp4_2;
_i_start = tmpMeta57;
_i_step = tmpMeta58;
_i_stop = tmpMeta59;
_txt = tmp4_1;
_l_start__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_start, _i_e, 0);
_l_step__str = omc_ExpressionDumpTpl_fun__22(threadData, _OMC_LIT10, _i_step, _i_e);
_l_stop__str = omc_ExpressionDumpTpl_dumpOperand(threadData, _OMC_LIT10, _i_stop, _i_e, 0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_start__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
_txt = omc_Tpl_writeText(threadData, _txt, _l_step__str);
tmpMeta1 = omc_Tpl_writeText(threadData, _txt, _l_stop__str);
goto tmp3_done;
}
case 21: {
modelica_metatype tmpMeta60;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,19,1) == 0) goto tmp3_end;
tmpMeta60 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_PR = tmpMeta60;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_tuple__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_PR, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_tuple__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 22: {
modelica_metatype tmpMeta61;
modelica_metatype tmpMeta62;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,20,2) == 0) goto tmp3_end;
tmpMeta61 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta62 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_ty = tmpMeta61;
_i_exp = tmpMeta62;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_ty__str = omc_ExpressionDumpTpl_dumpType(threadData, _OMC_LIT10, _i_ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT261);
_txt = omc_Tpl_writeText(threadData, _txt, _l_ty__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT263);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 23: {
modelica_metatype tmpMeta63;
modelica_metatype tmpMeta64;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,21,2) == 0) goto tmp3_end;
tmpMeta63 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta64 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta63;
_i_sub = tmpMeta64;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_needs__paren = omc_ExpressionDumpTpl_parenthesizeSubExp(threadData, _OMC_LIT10, _i_exp);
_l_lparen = omc_ExpressionDumpTpl_fun__23(threadData, _OMC_LIT10, _l_needs__paren);
_l_rparen = omc_ExpressionDumpTpl_fun__24(threadData, _OMC_LIT10, _l_needs__paren);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_sub__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_sub, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lparen);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_rparen);
_ret_28 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__25(threadData, _txt, _ret_28);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeText(threadData, _txt, _l_sub__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 24: {
modelica_metatype tmpMeta65;
modelica_metatype tmpMeta66;
modelica_integer tmp67;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,22,3) == 0) goto tmp3_end;
tmpMeta65 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta66 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmp67 = mmc_unbox_integer(tmpMeta66);
_i_exp = tmpMeta65;
_i_ix = tmp67;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_needs__paren = omc_ExpressionDumpTpl_parenthesizeSubExp(threadData, _OMC_LIT10, _i_exp);
_l_lparen = omc_ExpressionDumpTpl_fun__26(threadData, _OMC_LIT10, _l_needs__paren);
_l_rparen = omc_ExpressionDumpTpl_fun__27(threadData, _OMC_LIT10, _l_needs__paren);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lparen);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_rparen);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT34);
_txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_ix));
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT36);
goto tmp3_done;
}
case 25: {
modelica_metatype tmpMeta68;
modelica_metatype tmpMeta69;
modelica_metatype tmpMeta70;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,23,4) == 0) goto tmp3_end;
tmpMeta68 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta69 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
tmpMeta70 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_exp = tmpMeta68;
_i_fieldName = tmpMeta69;
_i_ty = tmpMeta70;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_needs__paren = omc_ExpressionDumpTpl_parenthesizeSubExp(threadData, _OMC_LIT10, _i_exp);
_l_lparen = omc_ExpressionDumpTpl_fun__28(threadData, _OMC_LIT10, _l_needs__paren);
_l_rparen = omc_ExpressionDumpTpl_fun__29(threadData, _OMC_LIT10, _l_needs__paren);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_ret_29 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__30(threadData, _txt, _ret_29, _i_ty);
_txt = omc_Tpl_writeText(threadData, _txt, _l_lparen);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_rparen);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT245);
tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _i_fieldName);
goto tmp3_done;
}
case 26: {
modelica_metatype tmpMeta71;
modelica_metatype tmpMeta72;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,24,2) == 0) goto tmp3_end;
tmpMeta71 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta72 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_exp = tmpMeta71;
_i_sz = tmpMeta72;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_exp, _a_stringDelimiter);
_l_dim__str = omc_ExpressionDumpTpl_fun__31(threadData, _OMC_LIT10, _i_sz, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT38);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_dim__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 27: {
modelica_metatype tmpMeta73;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,25,2) == 0) goto tmp3_end;
tmpMeta73 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_code = tmpMeta73;
_txt = tmp4_1;
_ret_32 = omc_Dump_printCodeStr(threadData, _i_code);
_l_code__str = omc_Tpl_writeStr(threadData, _OMC_LIT10, _ret_32);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT40);
_txt = omc_Tpl_writeText(threadData, _txt, _l_code__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 28: {
modelica_metatype tmpMeta74;
modelica_metatype tmpMeta75;
modelica_metatype tmpMeta76;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,26,4) == 0) goto tmp3_end;
tmpMeta74 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta75 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta76 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
_i_scope = tmpMeta74;
_i_name_1 = tmpMeta75;
_i_tyStr = tmpMeta76;
_txt = tmp4_1;
_l_name__str = omc_ExpressionDumpTpl_dumpCref(threadData, _OMC_LIT10, _i_name_1);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT42);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_scope);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT44);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT46);
_txt = omc_Tpl_writeStr(threadData, _txt, _i_tyStr);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT48);
goto tmp3_done;
}
case 29: {
modelica_metatype tmpMeta77;
modelica_metatype tmpMeta78;
modelica_metatype tmpMeta79;
modelica_metatype tmpMeta80;
modelica_metatype tmpMeta81;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,27,3) == 0) goto tmp3_end;
tmpMeta77 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta78 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta77), 2));
tmpMeta79 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta77), 3));
tmpMeta80 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta81 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
_i_ri_path = tmpMeta78;
_i_ri_iterType = tmpMeta79;
_i_expr = tmpMeta80;
_i_iterators = tmpMeta81;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_name__str = omc_AbsynDumpTpl_dumpPathNoQual(threadData, _OMC_LIT10, _i_ri_path);
_l_exp__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_expr, _a_stringDelimiter);
_l_iter__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT4);
_l_iter__str = omc_ExpressionDumpTpl_lm__32(threadData, _l_iter__str, _i_iterators, _a_stringDelimiter);
_l_iter__str = omc_Tpl_popIter(threadData, _l_iter__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_exp__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT50);
_txt = omc_ExpressionDumpTpl_fun__33(threadData, _txt, _i_ri_iterType);
_txt = omc_Tpl_writeText(threadData, _txt, _l_iter__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 30: {
modelica_metatype tmpMeta82;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,28,1) == 0) goto tmp3_end;
tmpMeta82 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_valList = tmpMeta82;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_expl__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_valList, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT52);
_txt = omc_Tpl_writeText(threadData, _txt, _l_expl__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 31: {
modelica_metatype tmpMeta83;
modelica_metatype tmpMeta84;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,29,2) == 0) goto tmp3_end;
tmpMeta83 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta84 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_car = tmpMeta83;
_i_cdr = tmpMeta84;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_car__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_car, _a_stringDelimiter);
_l_cdr__str = omc_ExpressionDumpTpl_dumpExp(threadData, _OMC_LIT10, _i_cdr, _a_stringDelimiter);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT54);
_txt = omc_Tpl_writeText(threadData, _txt, _l_car__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
_txt = omc_Tpl_writeText(threadData, _txt, _l_cdr__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 32: {
modelica_metatype tmpMeta85;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,30,1) == 0) goto tmp3_end;
tmpMeta85 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_listExp = tmpMeta85;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_tuple__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_listExp, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT56);
_txt = omc_Tpl_writeText(threadData, _txt, _l_tuple__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 33: {
modelica_metatype tmpMeta86;
modelica_metatype tmpMeta87;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,31,1) == 0) goto tmp3_end;
tmpMeta86 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (optionNone(tmpMeta86)) goto tmp3_end;
tmpMeta87 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta86), 1));
_i_exp = tmpMeta87;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT58);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 34: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,31,1) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT60);
goto tmp3_done;
}
case 35: {
modelica_metatype tmpMeta88;
modelica_metatype tmpMeta89;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,32,5) == 0) goto tmp3_end;
tmpMeta88 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta89 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_path = tmpMeta88;
_i_args = tmpMeta89;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_name__str = omc_AbsynDumpTpl_dumpPath(threadData, _OMC_LIT10, _i_path);
_l_args__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_args, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_writeText(threadData, _txt, _l_name__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
_txt = omc_Tpl_writeText(threadData, _txt, _l_args__str);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 36: {
modelica_metatype tmpMeta90;
modelica_metatype tmpMeta91;
modelica_metatype tmpMeta92;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,33,6) == 0) goto tmp3_end;
tmpMeta90 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmpMeta91 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
tmpMeta92 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
_i_matchType = tmpMeta90;
_i_inputs = tmpMeta91;
_i_cases = tmpMeta92;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_l_match__ty = omc_ExpressionDumpTpl_dumpMatchType(threadData, _OMC_LIT10, _i_matchType);
_l_inputs__str = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _i_inputs, _a_stringDelimiter, _OMC_LIT0);
_l_case__str = omc_Tpl_pushIter(threadData, _OMC_LIT10, _OMC_LIT62);
_l_case__str = omc_ExpressionDumpTpl_lm__34(threadData, _l_case__str, _i_cases);
_l_case__str = omc_Tpl_popIter(threadData, _l_case__str);
_txt = omc_Tpl_writeText(threadData, _txt, _l_match__ty);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT64);
_txt = omc_Tpl_writeText(threadData, _txt, _l_inputs__str);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT66);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT67);
_txt = omc_Tpl_writeText(threadData, _txt, _l_case__str);
_txt = omc_Tpl_softNewLine(threadData, _txt);
_txt = omc_Tpl_popBlock(threadData, _txt);
_txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT68);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT70);
_txt = omc_Tpl_writeText(threadData, _txt, _l_match__ty);
tmpMeta1 = omc_Tpl_popBlock(threadData, _txt);
goto tmp3_done;
}
case 37: {
modelica_metatype tmpMeta93;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,34,1) == 0) goto tmp3_end;
tmpMeta93 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta93;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT72);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 38: {
modelica_metatype tmpMeta94;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,35,2) == 0) goto tmp3_end;
tmpMeta94 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_exp = tmpMeta94;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT74);
_txt = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_exp, _a_stringDelimiter);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
case 39: {
modelica_metatype tmpMeta95;
modelica_integer tmp96;
modelica_metatype tmpMeta97;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,36,2) == 0) goto tmp3_end;
tmpMeta95 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
tmp96 = mmc_unbox_integer(tmpMeta95);
tmpMeta97 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
_i_index = tmp96;
_i_exp = tmpMeta97;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_ret_42 = omc_Config_typeinfo(threadData);
tmpMeta1 = omc_ExpressionDumpTpl_fun__35(threadData, _txt, _ret_42, _i_index, _a_stringDelimiter, _i_exp);
goto tmp3_done;
}
case 40: {
modelica_metatype tmpMeta98;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,37,1) == 0) goto tmp3_end;
tmpMeta98 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
_i_pattern = tmpMeta98;
_txt = tmp4_1;
_ret_43 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__36(threadData, _txt, _ret_43);
tmpMeta1 = omc_ExpressionDumpTpl_dumpPattern(threadData, _txt, _i_pattern);
goto tmp3_done;
}
case 41: {
_txt = tmp4_1;
tmpMeta1 = omc_ExpressionDumpTpl_errorMsg(threadData, _txt, _OMC_LIT75);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__36(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT265);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__36(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__36(threadData, _in_txt, tmp1);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__35(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_integer _in_a_index, modelica_string _in_a_stringDelimiter, modelica_metatype _in_a_exp)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_integer tmp4_3;modelica_string tmp4_4;modelica_metatype tmp4_5;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_index;
tmp4_4 = _in_a_stringDelimiter;
tmp4_5 = _in_a_exp;
{
modelica_metatype _txt = NULL;
modelica_integer _a_index;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _a_exp = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_4;
_a_exp = tmp4_5;
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _a_exp, _a_stringDelimiter);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_index = tmp4_3;
_a_stringDelimiter = tmp4_4;
_a_exp = tmp4_5;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT267);
_txt = omc_Tpl_writeStr(threadData, _txt, intString(_a_index));
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81);
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _a_exp, _a_stringDelimiter);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__35(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_index, modelica_metatype _in_a_stringDelimiter, modelica_metatype _in_a_exp)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_index);
_out_txt = omc_ExpressionDumpTpl_fun__35(threadData, _in_txt, tmp1, tmp2, _in_a_stringDelimiter, _in_a_exp);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__34(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_metatype _i_c = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_c = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_txt = omc_ExpressionDumpTpl_dumpMatchCase(threadData, _txt, _i_c);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__33(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_ri_iterType)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_ri_iterType;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT77);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__32(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_it = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_it = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpReductionIterator(threadData, _txt, _i_it, _a_stringDelimiter);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__31(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_sz, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_sz;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_dim = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (optionNone(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
_i_dim = tmpMeta6;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
tmpMeta1 = omc_ExpressionDumpTpl_dumpExp(threadData, _txt, _i_dim, _a_stringDelimiter);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__30(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT269);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT271);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__30(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__30(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__29(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__28(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__27(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__26(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__25(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT273);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__25(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__25(threadData, _in_txt, tmp1);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__24(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT18);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__23(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_needs__paren)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_needs__paren;
{
modelica_metatype _txt = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2) == 0) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
if (!listEmpty(tmpMeta6)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT16);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_step, modelica_metatype _in_a_e)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_step;
tmp4_3 = _in_a_e;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_e = NULL;
modelica_metatype _i_step = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
modelica_metatype tmpMeta6;
if (optionNone(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
_i_step = tmpMeta6;
_txt = tmp4_1;
_a_e = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpOperand(threadData, _txt, _i_step, _a_e, 0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT32);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__21(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT79);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__21(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__21(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_lm__20(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_stringDelimiter)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_items;
tmp4_3 = _in_a_stringDelimiter;
{
modelica_metatype _txt = NULL;
modelica_metatype _rest = NULL;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _i_row = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (!listEmpty(tmp4_2)) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
modelica_metatype tmpMeta6;
modelica_metatype tmpMeta7;
if (listEmpty(tmp4_2)) goto tmp3_end;
tmpMeta6 = MMC_CAR(tmp4_2);
tmpMeta7 = MMC_CDR(tmp4_2);
_i_row = tmpMeta6;
_rest = tmpMeta7;
_txt = tmp4_1;
_a_stringDelimiter = tmp4_3;
_txt = omc_ExpressionDumpTpl_dumpExpList(threadData, _txt, _i_row, _a_stringDelimiter, _OMC_LIT0);
_txt = omc_Tpl_nextIter(threadData, _txt);
_in_txt = _txt;
_in_items = _rest;
_in_a_stringDelimiter = _a_stringDelimiter;
goto _tailrecursive;
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__19(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;modelica_boolean tmp4_4;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
tmp4_4 = _in_a_scalar;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_boolean _a_scalar;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_a_scalar = tmp4_4;
tmpMeta1 = omc_ExpressionDumpTpl_fun__18(threadData, _txt, _a_scalar, _a_ty);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__19(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__19(threadData, _in_txt, tmp1, _in_a_ty, tmp2);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__18(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_scalar;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_1 = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT275);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT277);
_ret_1 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_1);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT271);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__18(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__18(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__17(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar, modelica_string _in_a_stringDelimiter, modelica_metatype _in_a_array)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;modelica_boolean tmp4_4;modelica_string tmp4_5;modelica_metatype tmp4_6;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
tmp4_4 = _in_a_scalar;
tmp4_5 = _in_a_stringDelimiter;
tmp4_6 = _in_a_array;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_boolean _a_scalar;
modelica_string _a_stringDelimiter = NULL;
modelica_metatype _a_array = NULL;
modelica_boolean _ret_1;
modelica_metatype _l_expl = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_ty = tmp4_3;
_a_scalar = tmp4_4;
_a_stringDelimiter = tmp4_5;
_a_array = tmp4_6;
_l_expl = omc_ExpressionDumpTpl_dumpExpList(threadData, _OMC_LIT10, _a_array, _a_stringDelimiter, _OMC_LIT0);
_ret_1 = omc_Config_typeinfo(threadData);
_txt = omc_ExpressionDumpTpl_fun__16(threadData, _txt, _ret_1, _a_ty, _a_scalar);
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT20);
_txt = omc_Tpl_writeText(threadData, _txt, _l_expl);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT22);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT279);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__17(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar, modelica_metatype _in_a_stringDelimiter, modelica_metatype _in_a_array)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__17(threadData, _in_txt, tmp1, _in_a_ty, tmp2, _in_a_stringDelimiter, _in_a_array);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__16(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty, modelica_boolean _in_a_scalar)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;modelica_boolean tmp4_4;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
tmp4_4 = _in_a_scalar;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_boolean _a_scalar;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_a_scalar = tmp4_4;
tmpMeta1 = omc_ExpressionDumpTpl_fun__15(threadData, _txt, _a_scalar, _a_ty);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__16(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty, modelica_metatype _in_a_scalar)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__16(threadData, _in_txt, tmp1, _in_a_ty, tmp2);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_scalar, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_a_scalar;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_1 = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT275);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81);
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT277);
_ret_1 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_1);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT271);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_scalar, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_a_scalar);
_out_txt = omc_ExpressionDumpTpl_fun__15(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_attr_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_attr_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_attr_ty = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_attr_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT261);
_ret_0 = omc_Types_unparseType(threadData, _a_attr_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT281);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_attr_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__14(threadData, _in_txt, tmp1, _in_a_attr_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_ty)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_metatype tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_ty;
{
modelica_metatype _txt = NULL;
modelica_metatype _a_ty = NULL;
modelica_string _ret_0 = NULL;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_ty = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT261);
_ret_0 = omc_Types_unparseType(threadData, _a_ty);
_txt = omc_Tpl_writeStr(threadData, _txt, _ret_0);
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT281);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_ty)
{
modelica_integer tmp1;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
_out_txt = omc_ExpressionDumpTpl_fun__13(threadData, _in_txt, tmp1, _in_a_ty);
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionDumpTpl_fun__12(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_integer _in_a_index)
{
modelica_metatype _out_txt = NULL;
modelica_metatype tmpMeta1;
MMC_SO();
_tailrecursive: OMC_LABEL_UNUSED
{
modelica_metatype tmp4_1;modelica_boolean tmp4_2;modelica_integer tmp4_3;
tmp4_1 = _in_txt;
tmp4_2 = _in_mArg;
tmp4_3 = _in_a_index;
{
modelica_metatype _txt = NULL;
modelica_integer _a_index;
volatile mmc_switch_type tmp4;
int tmp5;
tmp4 = 0;
for (; tmp4 < 2; tmp4++) {
switch (MMC_SWITCH_CAST(tmp4)) {
case 0: {
if (0 != tmp4_2) goto tmp3_end;
_txt = tmp4_1;
tmpMeta1 = _txt;
goto tmp3_done;
}
case 1: {
_txt = tmp4_1;
_a_index = tmp4_3;
_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT283);
_txt = omc_Tpl_writeStr(threadData, _txt, intString(_a_index));
tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT285);
goto tmp3_done;
}
}
goto tmp3_end;
tmp3_end: ;
}
goto goto_2;
goto_2:;
MMC_THROW_INTERNAL();
goto tmp3_done;
tmp3_done:;
}
}
_out_txt = tmpMeta1;
_return: OMC_LABEL_UNUSED
return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionDumpTpl_fun__12(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_index)
{
modelica_integer tmp1;
modelica_integer tmp2;
modelica_metatype _out_txt = NULL;
tmp1 = mmc_unbox_integer(_in_mArg);
tmp2 = mmc_unbox_integer(_in_a_index);
_out_txt = omc_ExpressionDumpTpl_fun__12(threadData, _in_txt, tmp1, tmp2);
return _out_txt;
}
