Bug Summary

File:OMCompiler/Compiler/boot/build/CodegenOMSIC_Equations.c
Warning:line 1446, column 3
Value stored to '_l_preExp' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "CodegenOMSIC_Equations.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT0
= { (((3) << 10) + (((3) & 255) << 2)),
{&Tpl_Text_MEM__TEXT__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((3) & 255) << 2)),
{&Tpl_StringToken_ST__NEW__LINE__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT2
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
13#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
14static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT3
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
15#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
16#define _OMC_LIT4_data"if(" "if("
17static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,3,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "if("
}
;
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT5
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
20#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
21#define _OMC_LIT6_data")\n" ")\n"
22static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,2,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
23#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
24#define _OMC_LIT7_data"{\n" "{\n"
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,2,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "{\n"
}
;
26#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT8
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
28#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT9
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))}};
30#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
31static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT10
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
32#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))((void*)(((((mmc_uint_t) (2)) << 1)+0)))}};
34#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
35#define _OMC_LIT12_data"}" "}"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,1,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "}"
}
;
37#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
38static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))}};
39#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
40#define _OMC_LIT14_data"TODO: Implement elsewhen" "TODO: Implement elsewhen"
41static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,24,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "TODO: Implement elsewhen"
}
;
42#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT15
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
44#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
45#define _OMC_LIT16_data" = " " = "
46static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,3,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " = "
}
;
47#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
48static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT17
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
49#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
50#define _OMC_LIT18_data";" ";"
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,1,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ";"
}
;
52#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
53static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT19
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
54#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
55#define _OMC_LIT20_data"/* ToDo: Add some info that variable was reinitialized */" "/* ToDo: Add some info that variable was reinitialized */"
56static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,57,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(57)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)57)<<(3))+((1<<(3+3))+5)), "/* ToDo: Add some info that variable was reinitialized */"
}
;
57#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
58static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT21
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))}};
59#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
60#define _OMC_LIT22_data"TODO: when expression not supported yet" "TODO: when expression not supported yet"
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,39,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "TODO: when expression not supported yet"
}
;
62#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
63static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT23
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))}};
64#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
65#define _OMC_LIT24_data"TODO: Implement for arrays!" "TODO: Implement for arrays!"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,27,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "TODO: Implement for arrays!"
}
;
67#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
68static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT25
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))}};
69#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
70#define _OMC_LIT26_data" || " " || "
71static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,4,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " || "
}
;
72#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
73static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT27
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
74#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
75static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT28
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))}};
76#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
77static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT29
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
78#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
79#define _OMC_LIT30_data"0" "0"
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,1,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "0"
}
;
81#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
82static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT31
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
83#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
84#define _OMC_LIT32_data"(" "("
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,1,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
86#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
88#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
89#define _OMC_LIT34_data" && !" " && !"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,5,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " && !"
}
;
91#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
92static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT35
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))}};
93#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
94#define _OMC_LIT36_data" /* edge */)" " /* edge */)"
95static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,12,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), " /* edge */)"
}
;
96#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
97static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT37
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))}};
98#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
99#define _OMC_LIT38_data"omsi_status " "omsi_status "
100static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,12,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "omsi_status "
}
;
101#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
102static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT39
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))}};
103#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
104#define _OMC_LIT40_data"_derivativeMatFunc_" "_derivativeMatFunc_"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,19,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "_derivativeMatFunc_"
}
;
106#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
107static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT41
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))}};
108#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
109#define _OMC_LIT42_data"(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);" "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);"
110static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,87,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(87)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)87)<<(3))+((1<<(3+3))+5)), "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);"
}
;
111#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT43
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))}};
113#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
114#define _OMC_LIT44_data"/*\n" "/*\n"
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,3,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "/*\n"
}
;
116#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
117#define _OMC_LIT45_data"Description something\n" "Description something\n"
118static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,22,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "Description something\n"
}
;
119#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
120#define _OMC_LIT46_data"*/\n" "*/\n"
121static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,3,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "*/\n"
}
;
122#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT47
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
124#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT48
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))}};
126#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT49
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))}};
128#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT50
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))}};
130#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT51
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
132#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
133#define _OMC_LIT52_data"(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n" "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,88,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(88)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)88)<<(3))+((1<<(3+3))+5)), "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n"
}
;
135#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
136#define _OMC_LIT53_data"\n" "\n"
137static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,1,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
138#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
139static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT54
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
140#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
141static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
142#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
143static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT56
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
144#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
145#define _OMC_LIT57_data"return omsi_ok;\n" "return omsi_ok;\n"
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,16,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "return omsi_ok;\n"
}
;
147#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
148static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT58
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
149#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
150static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT59
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))}};
151#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
152static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT60
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
153#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
154#define _OMC_LIT61_data"" ""
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,0,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
156#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
157#define _OMC_LIT62_data"this_function, model_vars_and_params" "this_function, model_vars_and_params"
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,36,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "this_function, model_vars_and_params"
}
;
159#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
161#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
162static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT64
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
163#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
164static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT65
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))}};
165#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
166static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT66
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
167#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
168#define _OMC_LIT67_data"resFunction" "resFunction"
169static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,11,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "resFunction"
}
;
170#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
171#define _OMC_LIT68_data"_" "_"
172static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,1,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
173#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
174static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT69
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))}};
175#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
176#define _OMC_LIT70_data");" ");"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,2,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ");"
}
;
178#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
179static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT71
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
180#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
181#define _OMC_LIT72_data"new_status = " "new_status = "
182static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,13,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "new_status = "
}
;
183#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
184static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT73,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT73
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
185#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
186#define _OMC_LIT74_data"_algSystFunction_" "_algSystFunction_"
187static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,17,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "_algSystFunction_"
}
;
188#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
189static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT75,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT75
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))}};
190#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
191#define _OMC_LIT76_data");\n" ");\n"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,3,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ");\n"
}
;
193#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
194#define _OMC_LIT77_data"status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;" "status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,71,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(71)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)71)<<(3))+((1<<(3+3))+5)), "status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;"
}
;
196#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
197static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT78
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
198#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
199static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT79
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)),_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))}};
200#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
201static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT80,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT80
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
202#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
203#define _OMC_LIT81_data"/* equationCall not implemented yet */" "/* equationCall not implemented yet */"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,38,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "/* equationCall not implemented yet */"
}
;
205#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
206static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT82
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))}};
207#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
208#define _OMC_LIT83_data"eqFunction" "eqFunction"
209static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,10,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "eqFunction"
}
;
210#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
211#define _OMC_LIT84_data"omsi_" "omsi_"
212static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,5,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "omsi_"
}
;
213#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
214static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT85
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))}};
215#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
216#define _OMC_LIT86_data"omsic" "omsic"
217static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,5,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "omsic"
}
;
218#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
219#define _OMC_LIT87_data"omsicpp" "omsicpp"
220static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,7,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "omsicpp"
}
;
221#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
222#define _OMC_LIT88_data"*res = " "*res = "
223static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,7,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "*res = "
}
;
224#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
225static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT89
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))}};
226#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
227#define _OMC_LIT90_data"NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations" "NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations"
228static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,85,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(85)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)85)<<(3))+((1<<(3+3))+5)), "NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations"
}
;
229#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
230static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT91
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))}};
231#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
232static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT92
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))}};
233#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
234static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT93
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
235#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
236#define _OMC_LIT94_data"/* Variables */\n" "/* Variables */\n"
237static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,16,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "/* Variables */\n"
}
;
238#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
239static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT95
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))}};
240#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
241#define _OMC_LIT96_data"void " "void "
242static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,5,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "void "
}
;
243#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
244static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT97
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))}};
245#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
246#define _OMC_LIT98_data"){" "){"
247static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,2,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "){"
}
;
248#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
249static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT99
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))}};
250#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
251#define _OMC_LIT100_data"::" "::"
252static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,2,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "::"
}
;
253#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
254static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT101
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))}};
255#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
256#define _OMC_LIT102_data"omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res" "omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res"
257static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,88,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(88)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)88)<<(3))+((1<<(3+3))+5)), "omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res"
}
;
258#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
259static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT103
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))}};
260#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
261#define _OMC_LIT104_data"omsi_function_t* this_function, const omsi_values* model_vars_and_params" "omsi_function_t* this_function, const omsi_values* model_vars_and_params"
262static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,72,_OMC_LIT104_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT104
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "omsi_function_t* this_function, const omsi_values* model_vars_and_params"
}
;
263#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
264static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT105
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))}};
265#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT106,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT106
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))}};
267#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
268#define _OMC_LIT107_data"algSystFunction" "algSystFunction"
269static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,15,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "algSystFunction"
}
;
270#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
271static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT108
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))}};
272#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
273static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT109,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT109
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))}};
274#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
275#define _OMC_LIT110_data"(Data_Struct_something* data, Data_Struct_something* threadData);" "(Data_Struct_something* data, Data_Struct_something* threadData);"
276static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,65,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "(Data_Struct_something* data, Data_Struct_something* threadData);"
}
;
277#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
278static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT111,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT111
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
279#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
280#include "util/modelica.h"
281
282#include "CodegenOMSIC_Equations_includes.h"
283
284
285/* default, do not make protected functions static */
286#if !defined(PROTECTED_FUNCTION_STATIC)
287#define PROTECTED_FUNCTION_STATIC
288#endif
289PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls);
290static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__79,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__79
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__79omc_CodegenOMSIC__Equations_lm__79,0}};
291#define boxvar_CodegenOMSIC__Equations_lm__79((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__79
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__79)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__79
).header) + 3))
292PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_stmt, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls);
293static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__78,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__78
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__78omc_CodegenOMSIC__Equations_fun__78,0}};
294#define boxvar_CodegenOMSIC__Equations_fun__78((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__78
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__78)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__78
).header) + 3))
295PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__77(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_context, modelica_metatype _in_a_stateVar);
296static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__77,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__77
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__77omc_CodegenOMSIC__Equations_fun__77,0}};
297#define boxvar_CodegenOMSIC__Equations_fun__77((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__77
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__77)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__77
).header) + 3))
298PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__76(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions);
299PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__76(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions);
300static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__76,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__76
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__76,0}};
301#define boxvar_CodegenOMSIC__Equations_fun__76((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__76
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__76)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__76
).header) + 3))
302PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_context);
303static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__75,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__75
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__75omc_CodegenOMSIC__Equations_lm__75,0}};
304#define boxvar_CodegenOMSIC__Equations_lm__75((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__75
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__75)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__75
).header) + 3))
305PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_string _in_a_index, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_omsiName, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__73,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__73
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__73omc_CodegenOMSIC__Equations_fun__73,0}};
307#define boxvar_CodegenOMSIC__Equations_fun__73((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__73
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__73)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__73
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_string _in_a_modelName);
309static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__72,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__72
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__72omc_CodegenOMSIC__Equations_lm__72,0}};
310#define boxvar_CodegenOMSIC__Equations_lm__72((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__72
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__72)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__72
).header) + 3))
311PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__70(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
312static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__70,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__70
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__70omc_CodegenOMSIC__Equations_fun__70,0}};
313#define boxvar_CodegenOMSIC__Equations_fun__70((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__70
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__70)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__70
).header) + 3))
314PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__69(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_functionPrototypes, modelica_metatype _in_a_omsiFunction_context, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
315static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__69,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__69
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__69omc_CodegenOMSIC__Equations_lm__69,0}};
316#define boxvar_CodegenOMSIC__Equations_lm__69((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__69
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__69)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__69
).header) + 3))
317PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__67(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
318static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__67,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__67
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__67omc_CodegenOMSIC__Equations_fun__67,0}};
319#define boxvar_CodegenOMSIC__Equations_fun__67((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__67
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__67)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__67
).header) + 3))
320PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__66(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__66,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__66
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__66omc_CodegenOMSIC__Equations_lm__66,0}};
322#define boxvar_CodegenOMSIC__Equations_lm__66((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__66
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__66)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__66
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__64(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body);
324static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__64,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__64
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__64omc_CodegenOMSIC__Equations_fun__64,0}};
325#define boxvar_CodegenOMSIC__Equations_fun__64((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__64
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__64)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__64
).header) + 3))
326PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_omsiFunction_context, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body);
327static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__63,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__63
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__63omc_CodegenOMSIC__Equations_lm__63,0}};
328#define boxvar_CodegenOMSIC__Equations_lm__63((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__63
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__63)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__63
).header) + 3))
329PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__61(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_metatype _in_a_columnsString);
330static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__61,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__61
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__61omc_CodegenOMSIC__Equations_fun__61,0}};
331#define boxvar_CodegenOMSIC__Equations_fun__61((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__61
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__61)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__61
).header) + 3))
332PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__60(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
333static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__60,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__60
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__60omc_CodegenOMSIC__Equations_lm__60,0}};
334#define boxvar_CodegenOMSIC__Equations_lm__60((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__60
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__60)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__60
).header) + 3))
335PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__58(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr, modelica_string _in_a_input, modelica_metatype _in_a_i, modelica_string _in_a_modelNamePrefixStr);
336static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__58,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__58
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__58omc_CodegenOMSIC__Equations_fun__58,0}};
337#define boxvar_CodegenOMSIC__Equations_fun__58((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__58
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__58)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__58
).header) + 3))
338PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__57(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr, modelica_string _in_a_input, modelica_metatype _in_a_i, modelica_string _in_a_modelNamePrefixStr);
339static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__57,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__57
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__57omc_CodegenOMSIC__Equations_fun__57,0}};
340#define boxvar_CodegenOMSIC__Equations_fun__57((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__57
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__57)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__57
).header) + 3))
341PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__55(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_preExp, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_preExp);
342static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__55,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__55
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__55omc_CodegenOMSIC__Equations_fun__55,0}};
343#define boxvar_CodegenOMSIC__Equations_fun__55((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__55
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__55)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__55
).header) + 3))
344PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__53(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_varDecls);
345PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__53(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_varDecls);
346static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__53,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__53
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__53,0}};
347#define boxvar_CodegenOMSIC__Equations_fun__53((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__53
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__53)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__53
).header) + 3))
348PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_metatype _in_a_funcArguments, modelica_metatype _in_a_ix, modelica_metatype _in_a_funcName, modelica_string _in_a_modelNamePrefixStr);
349static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__52,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__52
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__52omc_CodegenOMSIC__Equations_fun__52,0}};
350#define boxvar_CodegenOMSIC__Equations_fun__52((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__52
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__52)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__52
).header) + 3))
351PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__51(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_metatype _in_a_funcArguments, modelica_metatype _in_a_ix, modelica_metatype _in_a_funcName, modelica_string _in_a_modelNamePrefixStr);
352static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__51,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__51
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__51omc_CodegenOMSIC__Equations_fun__51,0}};
353#define boxvar_CodegenOMSIC__Equations_fun__51((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__51
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__51)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__51
).header) + 3))
354PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq);
355static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__50,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__50
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__50omc_CodegenOMSIC__Equations_fun__50,0}};
356#define boxvar_CodegenOMSIC__Equations_fun__50((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__50
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__50)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__50
).header) + 3))
357PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__49(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_string _in_a_modelFunctionnamePrefixStr);
358static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__49,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__49
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__49omc_CodegenOMSIC__Equations_fun__49,0}};
359#define boxvar_CodegenOMSIC__Equations_fun__49((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__49
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__49)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__49
).header) + 3))
360PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr);
361static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__48,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__48
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__48omc_CodegenOMSIC__Equations_fun__48,0}};
362#define boxvar_CodegenOMSIC__Equations_fun__48((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__48
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__48)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__48
).header) + 3))
363
364DLLExport
365modelica_metatype omc_CodegenOMSIC__Equations_equationWhen(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_context, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_auxFunction)
366{
367 modelica_metatype _out_txt = NULL((void*)0);
368 modelica_metatype _out_a_varDecls = NULL((void*)0);
369 modelica_metatype _out_a_auxFunction = NULL((void*)0);
370 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
371 MMC_SO()mmc_check_stackoverflow(threadData);
372 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
373 // _out_txt has no default value.
374 // _out_a_varDecls has no default value.
375 // _out_a_auxFunction has no default value.
376#line 1426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
377
378#line 1426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
379
380#line 1426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
381
382#line 382 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
383 { /* match expression */
384 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
385 tmp4_1 = _in_txt;
386 tmp4_2 = _in_a_eq;
387 tmp4_3 = _in_a_context;
388 tmp4_4 = _in_a_varDecls;
389 tmp4_5 = _in_a_auxFunction;
390 {
391 modelica_metatype _txt = NULL((void*)0);
392 modelica_metatype _a_context = NULL((void*)0);
393 modelica_metatype _a_varDecls = NULL((void*)0);
394 modelica_metatype _a_auxFunction = NULL((void*)0);
395 modelica_metatype _i_whenStmtLst = NULL((void*)0);
396 modelica_metatype _i_conditions = NULL((void*)0);
397 modelica_metatype _l_assign = NULL((void*)0);
398 modelica_boolean _ret_1;
399 modelica_metatype _l_helpIf = NULL((void*)0);
400 volatile mmc_switch_type tmp4;
401 int tmp5;
402 // _txt has no default value.
403 // _a_context has no default value.
404 // _a_varDecls has no default value.
405 // _a_auxFunction has no default value.
406 // _i_whenStmtLst has no default value.
407 // _i_conditions has no default value.
408 // _l_assign has no default value.
409 // _ret_1 has no default value.
410 // _l_helpIf has no default value.
411 tmp4 = 0;
412 for (; tmp4 < 2; tmp4++) {
413 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
414 case 0: {
415 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
416 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
417 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
418 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
419 if (!optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
420
421 _i_conditions = tmpMeta[3];
422 _i_whenStmtLst = tmpMeta[4];
423 _txt = tmp4_1;
424 _a_context = tmp4_3;
425 _a_varDecls = tmp4_4;
426 _a_auxFunction = tmp4_5;
427 /* Pattern matching succeeded */
428#line 1445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
429 _ret_1 = listEmpty(_i_conditions)((*(mmc_uint_t*)((void*)((char*)(_i_conditions) - 3))) == (((
0) << 10) + (((0) & 255) << 2)))
;
430#line 430 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
431
432#line 1446 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
433 _l_helpIf = omc_CodegenOMSIC__Equations_fun__76(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_1, _a_context, _i_conditions);
434#line 434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
435
436#line 1447 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
437 _l_assign = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
438#line 438 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
439
440#line 1448 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
441 _l_assign = omc_CodegenOMSIC__Equations_lm__79(threadData, _l_assign, _i_whenStmtLst, _a_auxFunction, _a_varDecls, _a_context ,&_a_auxFunction ,&_a_varDecls);
442#line 442 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
443
444#line 1449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
445 _l_assign = omc_Tpl_popIter(threadData, _l_assign);
446#line 446 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
447
448#line 1450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
449 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)));
450#line 450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
451
452#line 1451 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
453 _txt = omc_Tpl_writeText(threadData, _txt, _l_helpIf);
454#line 454 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
455
456#line 1452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
457 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
458#line 458 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
459
460#line 1456 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
461 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
462#line 462 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
463
464#line 1457 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
465 _txt = omc_Tpl_writeText(threadData, _txt, _l_assign);
466#line 466 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
467
468#line 1458 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
469 _txt = omc_Tpl_softNewLine(threadData, _txt);
470#line 470 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
471
472#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
473 _txt = omc_Tpl_popBlock(threadData, _txt);
474#line 474 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
475
476#line 1460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
477 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
478#line 478 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
479#line 1461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
480 tmpMeta[0+0] = _txt;
481#line 1461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
482 tmpMeta[0+1] = _a_varDecls;
483#line 1461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
484 tmpMeta[0+2] = _a_auxFunction;
485#line 485 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
486 goto tmp3_done;
487 }
488 case 1: {
489
490 _txt = tmp4_1;
491 _a_varDecls = tmp4_4;
492 _a_auxFunction = tmp4_5;
493 /* Pattern matching succeeded */
494#line 1469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
495 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
496#line 496 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
497#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
498 tmpMeta[0+0] = _txt;
499#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
500 tmpMeta[0+1] = _a_varDecls;
501#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
502 tmpMeta[0+2] = _a_auxFunction;
503#line 503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
504 goto tmp3_done;
505 }
506 }
507 goto tmp3_end;
508 tmp3_end: ;
509 }
510 goto goto_2;
511 goto_2:;
512 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
513 goto tmp3_done;
514 tmp3_done:;
515 }
516 }
517 _out_txt = tmpMeta[0+0];
518 _out_a_varDecls = tmpMeta[0+1];
519 _out_a_auxFunction = tmpMeta[0+2];
520 _return: OMC_LABEL_UNUSED__attribute__((unused))
521 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
522 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
523 return _out_txt;
524}
525
526PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__79(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls)
527{
528 modelica_metatype _out_txt = NULL((void*)0);
529 modelica_metatype _out_a_auxFunction = NULL((void*)0);
530 modelica_metatype _out_a_varDecls = NULL((void*)0);
531 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
532 MMC_SO()mmc_check_stackoverflow(threadData);
533 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
534 // _out_txt has no default value.
535 // _out_a_auxFunction has no default value.
536 // _out_a_varDecls has no default value.
537#line 1385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
538
539#line 1385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
540
541#line 1385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
542
543#line 543 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
544 { /* match expression */
545 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
546 tmp4_1 = _in_txt;
547 tmp4_2 = _in_items;
548 tmp4_3 = _in_a_auxFunction;
549 tmp4_4 = _in_a_varDecls;
550 tmp4_5 = _in_a_context;
551 {
552 modelica_metatype _txt = NULL((void*)0);
553 modelica_metatype _rest = NULL((void*)0);
554 modelica_metatype _a_auxFunction = NULL((void*)0);
555 modelica_metatype _a_varDecls = NULL((void*)0);
556 modelica_metatype _a_context = NULL((void*)0);
557 modelica_metatype _i_stmt = NULL((void*)0);
558 volatile mmc_switch_type tmp4;
559 int tmp5;
560 // _txt has no default value.
561 // _rest has no default value.
562 // _a_auxFunction has no default value.
563 // _a_varDecls has no default value.
564 // _a_context has no default value.
565 // _i_stmt has no default value.
566 tmp4 = 0;
567 for (; tmp4 < 2; tmp4++) {
568 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
569 case 0: {
570 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
571
572 _txt = tmp4_1;
573 _a_auxFunction = tmp4_3;
574 _a_varDecls = tmp4_4;
575 /* Pattern matching succeeded */
576#line 1400 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
577 tmpMeta[0+0] = _txt;
578#line 1400 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
579 tmpMeta[0+1] = _a_auxFunction;
580#line 1400 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
581 tmpMeta[0+2] = _a_varDecls;
582#line 582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
583 goto tmp3_done;
584 }
585 case 1: {
586 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
587 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
588 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
589
590 _i_stmt = tmpMeta[3];
591 _rest = tmpMeta[4];
592 _txt = tmp4_1;
593 _a_auxFunction = tmp4_3;
594 _a_varDecls = tmp4_4;
595 _a_context = tmp4_5;
596 /* Pattern matching succeeded */
597#line 1408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
598 _txt = omc_CodegenOMSIC__Equations_fun__78(threadData, _txt, _i_stmt, _a_auxFunction, _a_varDecls, _a_context ,&_a_auxFunction ,&_a_varDecls);
599#line 599 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
600
601#line 1409 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
602 _txt = omc_Tpl_nextIter(threadData, _txt);
603#line 603 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
604#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
605 /* Tail recursive call */
606#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
607 _in_txt = _txt;
608#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
609 _in_items = _rest;
610#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
611 _in_a_auxFunction = _a_auxFunction;
612#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
613 _in_a_varDecls = _a_varDecls;
614#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
615 _in_a_context = _a_context;
616#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
617 goto _tailrecursive;
618#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
619 /* TODO: Make sure any eventual dead code below is never generated */
620#line 620 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
621 goto tmp3_done;
622 }
623 }
624 goto tmp3_end;
625 tmp3_end: ;
626 }
627 goto goto_2;
628 goto_2:;
629 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
630 goto tmp3_done;
631 tmp3_done:;
632 }
633 }
634 _out_txt = tmpMeta[0+0];
635 _out_a_auxFunction = tmpMeta[0+1];
636 _out_a_varDecls = tmpMeta[0+2];
637 _return: OMC_LABEL_UNUSED__attribute__((unused))
638 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
639 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
640 return _out_txt;
641}
642
643PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__78(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_stmt, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls)
644{
645 modelica_metatype _out_txt = NULL((void*)0);
646 modelica_metatype _out_a_auxFunction = NULL((void*)0);
647 modelica_metatype _out_a_varDecls = NULL((void*)0);
648 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
649 MMC_SO()mmc_check_stackoverflow(threadData);
650 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
651 // _out_txt has no default value.
652 // _out_a_auxFunction has no default value.
653 // _out_a_varDecls has no default value.
654#line 1310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
655
656#line 1310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
657
658#line 1310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
659
660#line 660 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
661 { /* match expression */
662 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
663 tmp4_1 = _in_txt;
664 tmp4_2 = _in_a_stmt;
665 tmp4_3 = _in_a_auxFunction;
666 tmp4_4 = _in_a_varDecls;
667 tmp4_5 = _in_a_context;
668 {
669 modelica_metatype _txt = NULL((void*)0);
670 modelica_metatype _a_auxFunction = NULL((void*)0);
671 modelica_metatype _a_varDecls = NULL((void*)0);
672 modelica_metatype _a_context = NULL((void*)0);
673 modelica_metatype _i_stateVar = NULL((void*)0);
674 modelica_metatype _i_value = NULL((void*)0);
675 modelica_metatype _i_right = NULL((void*)0);
676 modelica_metatype _i_left = NULL((void*)0);
677 modelica_metatype _ret_4 = NULL((void*)0);
678 modelica_metatype _l_val = NULL((void*)0);
679 modelica_metatype _l_rhs = NULL((void*)0);
680 modelica_metatype _l_lhs = NULL((void*)0);
681 modelica_metatype _l_preExp = NULL((void*)0);
682 volatile mmc_switch_type tmp4;
683 int tmp5;
684 // _txt has no default value.
685 // _a_auxFunction has no default value.
686 // _a_varDecls has no default value.
687 // _a_context has no default value.
688 // _i_stateVar has no default value.
689 // _i_value has no default value.
690 // _i_right has no default value.
691 // _i_left has no default value.
692 // _ret_4 has no default value.
693 // _l_val has no default value.
694 // _l_rhs has no default value.
695 // _l_lhs has no default value.
696 // _l_preExp has no default value.
697 tmp4 = 0;
698 for (; tmp4 < 3; tmp4++) {
699 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
700 case 0: {
701 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
702 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
703 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
704 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
705 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
706
707 _i_left = tmpMeta[4];
708 _i_right = tmpMeta[5];
709 _txt = tmp4_1;
710 _a_auxFunction = tmp4_3;
711 _a_varDecls = tmp4_4;
712 _a_context = tmp4_5;
713 /* Pattern matching succeeded */
714#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
715 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
716#line 716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
717
718#line 1334 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
719 _l_lhs = omc_CodegenCFunctions_crefOMSI(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_left, _a_context);
720#line 720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
721
722#line 1335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
723 _l_rhs = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_right, _a_context, _l_preExp, _a_varDecls, _a_auxFunction ,&_l_preExp ,&_a_varDecls ,&_a_auxFunction);
724#line 724 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
725
726#line 1336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
727 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
728#line 728 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
729
730#line 1337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
731 _txt = omc_Tpl_writeText(threadData, _txt, _l_preExp);
732#line 732 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
733
734#line 1338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
735 _txt = omc_Tpl_softNewLine(threadData, _txt);
736#line 736 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
737
738#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
739 _txt = omc_Tpl_writeText(threadData, _txt, _l_lhs);
740#line 740 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
741
742#line 1340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
743 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
744#line 744 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
745
746#line 1341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
747 _txt = omc_Tpl_writeText(threadData, _txt, _l_rhs);
748#line 748 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
749
750#line 1342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
751 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
752#line 752 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
753
754#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
755 _txt = omc_Tpl_popBlock(threadData, _txt);
756#line 756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
757#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
758 tmpMeta[0+0] = _txt;
759#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
760 tmpMeta[0+1] = _a_auxFunction;
761#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
762 tmpMeta[0+2] = _a_varDecls;
763#line 763 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
764 goto tmp3_done;
765 }
766 case 1: {
767 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
768 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
769 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
770
771 _i_stateVar = tmpMeta[3];
772 _i_value = tmpMeta[4];
773 _txt = tmp4_1;
774 _a_auxFunction = tmp4_3;
775 _a_varDecls = tmp4_4;
776 _a_context = tmp4_5;
777 /* Pattern matching succeeded */
778#line 1352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
779 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
780#line 780 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
781
782#line 1353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
783 _l_val = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_value, _a_context, _l_preExp, _a_varDecls, _a_auxFunction ,&_l_preExp ,&_a_varDecls ,&_a_auxFunction);
784#line 784 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
785
786#line 1354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
787 _ret_4 = omc_ComponentReference_crefTypeConsiderSubs(threadData, _i_stateVar);
788#line 788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
789
790#line 1355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
791 _l_lhs = omc_CodegenOMSIC__Equations_fun__77(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_4, _l_val, _a_context, _i_stateVar);
792#line 792 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
793
794#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
795 _txt = omc_Tpl_writeText(threadData, _txt, _l_preExp);
796#line 796 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
797
798#line 1357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
799 _txt = omc_Tpl_softNewLine(threadData, _txt);
800#line 800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
801
802#line 1358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
803 _txt = omc_Tpl_writeText(threadData, _txt, _l_lhs);
804#line 804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
805
806#line 1359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
807 _txt = omc_Tpl_softNewLine(threadData, _txt);
808#line 808 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
809
810#line 1360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
811 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
812#line 812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
813#line 1361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
814 tmpMeta[0+0] = _txt;
815#line 1361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
816 tmpMeta[0+1] = _a_auxFunction;
817#line 1361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
818 tmpMeta[0+2] = _a_varDecls;
819#line 819 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
820 goto tmp3_done;
821 }
822 case 2: {
823
824 _txt = tmp4_1;
825 _a_auxFunction = tmp4_3;
826 _a_varDecls = tmp4_4;
827 /* Pattern matching succeeded */
828#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
829 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
830#line 830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
831#line 1370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
832 tmpMeta[0+0] = _txt;
833#line 1370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
834 tmpMeta[0+1] = _a_auxFunction;
835#line 1370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
836 tmpMeta[0+2] = _a_varDecls;
837#line 837 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
838 goto tmp3_done;
839 }
840 }
841 goto tmp3_end;
842 tmp3_end: ;
843 }
844 goto goto_2;
845 goto_2:;
846 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
847 goto tmp3_done;
848 tmp3_done:;
849 }
850 }
851 _out_txt = tmpMeta[0+0];
852 _out_a_auxFunction = tmpMeta[0+1];
853 _out_a_varDecls = tmpMeta[0+2];
854 _return: OMC_LABEL_UNUSED__attribute__((unused))
855 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
856 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
857 return _out_txt;
858}
859
860PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__77(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_context, modelica_metatype _in_a_stateVar)
861{
862 modelica_metatype _out_txt = NULL((void*)0);
863 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
864 MMC_SO()mmc_check_stackoverflow(threadData);
865 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
866 // _out_txt has no default value.
867#line 867 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
868 { /* match expression */
869 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;modelica_metatype tmp3_5;
870 tmp3_1 = _in_txt;
871 tmp3_2 = _in_mArg;
872 tmp3_3 = _in_a_val;
873 tmp3_4 = _in_a_context;
874 tmp3_5 = _in_a_stateVar;
875 {
876 modelica_metatype _txt = NULL((void*)0);
877 modelica_metatype _a_val = NULL((void*)0);
878 modelica_metatype _a_context = NULL((void*)0);
879 modelica_metatype _a_stateVar = NULL((void*)0);
880 volatile mmc_switch_type tmp3;
881 int tmp4;
882 // _txt has no default value.
883 // _a_val has no default value.
884 // _a_context has no default value.
885 // _a_stateVar has no default value.
886 tmp3 = 0;
887 for (; tmp3 < 2; tmp3++) {
888 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
889 case 0: {
890 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
891
892 _txt = tmp3_1;
893 /* Pattern matching succeeded */
894#line 1282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
895 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
896#line 896 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
897 goto tmp2_done;
898 }
899 case 1: {
900
901 _txt = tmp3_1;
902 _a_val = tmp3_3;
903 _a_context = tmp3_4;
904 _a_stateVar = tmp3_5;
905 /* Pattern matching succeeded */
906#line 1291 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
907 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _a_stateVar, _a_context);
908#line 908 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
909
910#line 1292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
911 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
912#line 912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
913
914#line 1293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
915 _txt = omc_Tpl_writeText(threadData, _txt, _a_val);
916#line 916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
917#line 1294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
918 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
919#line 919 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
920 goto tmp2_done;
921 }
922 }
923 goto tmp2_end;
924 tmp2_end: ;
925 }
926 goto goto_1;
927 goto_1:;
928 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
929 goto tmp2_done;
930 tmp2_done:;
931 }
932 }
933 _out_txt = tmpMeta[0];
934 _return: OMC_LABEL_UNUSED__attribute__((unused))
935 return _out_txt;
936}
937
938PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__76(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions)
939{
940 modelica_metatype _out_txt = NULL((void*)0);
941 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
942 MMC_SO()mmc_check_stackoverflow(threadData);
943 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
944 // _out_txt has no default value.
945#line 945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
946 { /* match expression */
947 modelica_metatype tmp3_1;modelica_boolean tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;
948 tmp3_1 = _in_txt;
949 tmp3_2 = _in_mArg;
950 tmp3_3 = _in_a_context;
951 tmp3_4 = _in_a_conditions;
952 {
953 modelica_metatype _txt = NULL((void*)0);
954 modelica_metatype _a_context = NULL((void*)0);
955 modelica_metatype _a_conditions = NULL((void*)0);
956 volatile mmc_switch_type tmp3;
957 int tmp4;
958 // _txt has no default value.
959 // _a_context has no default value.
960 // _a_conditions has no default value.
961 tmp3 = 0;
962 for (; tmp3 < 2; tmp3++) {
963 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
964 case 0: {
965 if (0 != tmp3_2) goto tmp2_end;
966
967 _txt = tmp3_1;
968 _a_context = tmp3_3;
969 _a_conditions = tmp3_4;
970 /* Pattern matching succeeded */
971#line 1244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
972 _txt = omc_Tpl_pushIter(threadData, _txt, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
973#line 973 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
974
975#line 1245 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
976 _txt = omc_CodegenOMSIC__Equations_lm__75(threadData, _txt, _a_conditions, _a_context);
977#line 977 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
978#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
979 tmpMeta[0] = omc_Tpl_popIter(threadData, _txt);
980#line 980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
981 goto tmp2_done;
982 }
983 case 1: {
984
985 _txt = tmp3_1;
986 /* Pattern matching succeeded */
987#line 1254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
988 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
989#line 989 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
990 goto tmp2_done;
991 }
992 }
993 goto tmp2_end;
994 tmp2_end: ;
995 }
996 goto goto_1;
997 goto_1:;
998 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
999 goto tmp2_done;
1000 tmp2_done:;
1001 }
1002 }
1003 _out_txt = tmpMeta[0];
1004 _return: OMC_LABEL_UNUSED__attribute__((unused))
1005 return _out_txt;
1006}
1007PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__76(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions)
1008{
1009 modelica_integer tmp1;
1010 modelica_metatype _out_txt = NULL((void*)0);
1011 tmp1 = mmc_unbox_integer(_in_mArg)(((mmc_sint_t) (_in_mArg)) >> 1);
1012 _out_txt = omc_CodegenOMSIC__Equations_fun__76(threadData, _in_txt, tmp1, _in_a_context, _in_a_conditions);
1013 /* skip box _out_txt; Tpl.Text */
1014 return _out_txt;
1015}
1016
1017PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_context)
1018{
1019 modelica_metatype _out_txt = NULL((void*)0);
1020 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1021 MMC_SO()mmc_check_stackoverflow(threadData);
1022 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1023 // _out_txt has no default value.
1024#line 1024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1025 { /* match expression */
1026 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
1027 tmp3_1 = _in_txt;
1028 tmp3_2 = _in_items;
1029 tmp3_3 = _in_a_context;
1030 {
1031 modelica_metatype _txt = NULL((void*)0);
1032 modelica_metatype _rest = NULL((void*)0);
1033 modelica_metatype _a_context = NULL((void*)0);
1034 modelica_metatype _i_cr = NULL((void*)0);
1035 modelica_metatype _ret_0 = NULL((void*)0);
1036 volatile mmc_switch_type tmp3;
1037 int tmp4;
1038 // _txt has no default value.
1039 // _rest has no default value.
1040 // _a_context has no default value.
1041 // _i_cr has no default value.
1042 // _ret_0 has no default value.
1043 tmp3 = 0;
1044 for (; tmp3 < 2; tmp3++) {
1045 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1046 case 0: {
1047 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1048
1049 _txt = tmp3_1;
1050 /* Pattern matching succeeded */
1051#line 1206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1052 tmpMeta[0] = _txt;
1053#line 1053 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1054 goto tmp2_done;
1055 }
1056 case 1: {
1057 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1058 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1059 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1060
1061 _i_cr = tmpMeta[1];
1062 _rest = tmpMeta[2];
1063 _txt = tmp3_1;
1064 _a_context = tmp3_3;
1065 /* Pattern matching succeeded */
1066#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1067 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
1068#line 1068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1069
1070#line 1213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1071 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _i_cr, _a_context);
1072#line 1072 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1073
1074#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1075 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)));
1076#line 1076 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1077
1078#line 1215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1079 _ret_0 = omc_ComponentReference_crefPrefixPre(threadData, _i_cr);
1080#line 1080 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1081
1082#line 1216 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1083 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _ret_0, _a_context);
1084#line 1084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1085
1086#line 1217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1087 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
1088#line 1088 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1089
1090#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1091 _txt = omc_Tpl_nextIter(threadData, _txt);
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1093#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1094 /* Tail recursive call */
1095#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1096 _in_txt = _txt;
1097#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1098 _in_items = _rest;
1099#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1100 _in_a_context = _a_context;
1101#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1102 goto _tailrecursive;
1103#line 1219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1104 /* TODO: Make sure any eventual dead code below is never generated */
1105#line 1105 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1106 goto tmp2_done;
1107 }
1108 }
1109 goto tmp2_end;
1110 tmp2_end: ;
1111 }
1112 goto goto_1;
1113 goto_1:;
1114 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1115 goto tmp2_done;
1116 tmp2_done:;
1117 }
1118 }
1119 _out_txt = tmpMeta[0];
1120 _return: OMC_LABEL_UNUSED__attribute__((unused))
1121 return _out_txt;
1122}
1123
1124DLLExport
1125modelica_metatype omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnCall(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_string _a_omsiName, modelica_metatype *out_out_a_functionPrototypes)
1126{
1127 modelica_metatype _out_txt = NULL((void*)0);
1128 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1129 modelica_metatype _l_auxFunction = NULL((void*)0);
1130 modelica_metatype _l_varDecls = NULL((void*)0);
1131 modelica_metatype _l_preExp = NULL((void*)0);
1132 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1133 MMC_SO()mmc_check_stackoverflow(threadData);
1134 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1135 // _out_txt has no default value.
1136 // _out_a_functionPrototypes has no default value.
1137 // _l_auxFunction has no default value.
1138 // _l_varDecls has no default value.
1139 // _l_preExp has no default value.
1140 // _l_bodyBuffer has no default value.
1141#line 1180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1142 _l_bodyBuffer = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1143#line 1143 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1144
1145#line 1181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1146 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1147#line 1147 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1148
1149#line 1182 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1150 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1151#line 1151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1152
1153#line 1183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1154 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1155#line 1155 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1156
1157#line 1184 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1158 _out_txt = omc_CodegenOMSIC__Equations_fun__73(threadData, _txt, _a_column, _a_index, _a_functionPrototypes, _a_omsiName, _a_modelName ,&_out_a_functionPrototypes);
1159#line 1159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1160 _return: OMC_LABEL_UNUSED__attribute__((unused))
1161 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1162 return _out_txt;
1163}
1164
1165PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_string _in_a_index, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_omsiName, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1166{
1167 modelica_metatype _out_txt = NULL((void*)0);
1168 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1169 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1170 MMC_SO()mmc_check_stackoverflow(threadData);
1171 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1172 // _out_txt has no default value.
1173 // _out_a_functionPrototypes has no default value.
1174#line 1103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1175
1176#line 1103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1177
1178#line 1178 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1179 { /* match expression */
1180 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1181 tmp4_1 = _in_txt;
1182 tmp4_2 = _in_a_column;
1183 tmp4_3 = _in_a_index;
1184 tmp4_4 = _in_a_functionPrototypes;
1185 tmp4_5 = _in_a_omsiName;
1186 tmp4_6 = _in_a_modelName;
1187 {
1188 modelica_metatype _txt = NULL((void*)0);
1189 modelica_string _a_index = NULL((void*)0);
1190 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1191 modelica_string _a_omsiName = NULL((void*)0);
1192 modelica_string _a_modelName = NULL((void*)0);
1193 modelica_metatype _i_equations = NULL((void*)0);
1194 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1195 volatile mmc_switch_type tmp4;
1196 int tmp5;
1197 // _txt has no default value.
1198 // _a_index has no default value.
1199 // _a_functionPrototypes has no default value.
1200 // _a_omsiName has no default value.
1201 // _a_modelName has no default value.
1202 // _i_equations has no default value.
1203 // _l_bodyBuffer has no default value.
1204 tmp4 = 0;
1205 for (; tmp4 < 2; tmp4++) {
1206 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1207 case 0: {
1208 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1209
1210 _txt = tmp4_1;
1211 _i_equations = tmpMeta[2];
1212 _a_index = tmp4_3;
1213 _a_functionPrototypes = tmp4_4;
1214 _a_omsiName = tmp4_5;
1215 _a_modelName = tmp4_6;
1216 /* Pattern matching succeeded */
1217#line 1121 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1218 _l_bodyBuffer = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1219#line 1219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1220
1221#line 1122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1222 _l_bodyBuffer = omc_CodegenOMSIC__Equations_lm__72(threadData, _l_bodyBuffer, _i_equations, _a_omsiName, _a_modelName);
1223#line 1223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1224
1225#line 1123 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1226 _l_bodyBuffer = omc_Tpl_popIter(threadData, _l_bodyBuffer);
1227#line 1227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1228
1229#line 1124 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1230 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
1231#line 1231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1232
1233#line 1125 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1234 _a_functionPrototypes = omc_CodegenUtil_symbolName(threadData, _a_functionPrototypes, _a_modelName, _a_omsiName);
1235#line 1235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1236
1237#line 1126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1238 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1239#line 1239 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1240
1241#line 1127 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1242 _a_functionPrototypes = omc_Tpl_writeStr(threadData, _a_functionPrototypes, _a_index);
1243#line 1243 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1244
1245#line 1128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1246 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)));
1247#line 1247 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1248
1249#line 1129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1250 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
1251#line 1251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1252
1253#line 1130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1254 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
1255#line 1255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1256
1257#line 1136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1258 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelName, _a_omsiName);
1259#line 1259 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1260
1261#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1262 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1263#line 1263 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1264
1265#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1266 _txt = omc_Tpl_writeStr(threadData, _txt, _a_index);
1267#line 1267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1268
1269#line 1139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1270 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)));
1271#line 1271 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1272
1273#line 1143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1274 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
1275#line 1275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1276
1277#line 1144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1278 _txt = omc_Tpl_writeText(threadData, _txt, _l_bodyBuffer);
1279#line 1279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1280
1281#line 1145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1282 _txt = omc_Tpl_softNewLine(threadData, _txt);
1283#line 1283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1284
1285#line 1146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1286 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)));
1287#line 1287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1288
1289#line 1150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1290 _txt = omc_Tpl_popBlock(threadData, _txt);
1291#line 1291 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1292
1293#line 1151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1294 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
1295#line 1295 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1296#line 1152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1297 tmpMeta[0+0] = _txt;
1298#line 1152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1299 tmpMeta[0+1] = _a_functionPrototypes;
1300#line 1300 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1301 goto tmp3_done;
1302 }
1303 case 1: {
1304
1305 _txt = tmp4_1;
1306 _a_functionPrototypes = tmp4_4;
1307 /* Pattern matching succeeded */
1308#line 1160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1309 tmpMeta[0+0] = _txt;
1310#line 1160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1311 tmpMeta[0+1] = _a_functionPrototypes;
1312#line 1312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1313 goto tmp3_done;
1314 }
1315 }
1316 goto tmp3_end;
1317 tmp3_end: ;
1318 }
1319 goto goto_2;
1320 goto_2:;
1321 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1322 goto tmp3_done;
1323 tmp3_done:;
1324 }
1325 }
1326 _out_txt = tmpMeta[0+0];
1327 _out_a_functionPrototypes = tmpMeta[0+1];
1328 _return: OMC_LABEL_UNUSED__attribute__((unused))
1329 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1330 return _out_txt;
1331}
1332
1333PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_string _in_a_modelName)
1334{
1335 modelica_metatype _out_txt = NULL((void*)0);
1336 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1337 MMC_SO()mmc_check_stackoverflow(threadData);
1338 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1339 // _out_txt has no default value.
1340#line 1340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1341 { /* match expression */
1342 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;
1343 tmp3_1 = _in_txt;
1344 tmp3_2 = _in_items;
1345 tmp3_3 = _in_a_omsiName;
1346 tmp3_4 = _in_a_modelName;
1347 {
1348 modelica_metatype _txt = NULL((void*)0);
1349 modelica_metatype _rest = NULL((void*)0);
1350 modelica_string _a_omsiName = NULL((void*)0);
1351 modelica_string _a_modelName = NULL((void*)0);
1352 modelica_metatype _i_eq = NULL((void*)0);
1353 volatile mmc_switch_type tmp3;
1354 int tmp4;
1355 // _txt has no default value.
1356 // _rest has no default value.
1357 // _a_omsiName has no default value.
1358 // _a_modelName has no default value.
1359 // _i_eq has no default value.
1360 tmp3 = 0;
1361 for (; tmp3 < 2; tmp3++) {
1362 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1363 case 0: {
1364 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1365
1366 _txt = tmp3_1;
1367 /* Pattern matching succeeded */
1368#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1369 tmpMeta[0] = _txt;
1370#line 1370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1371 goto tmp2_done;
1372 }
1373 case 1: {
1374 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1375 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1376 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1377
1378 _i_eq = tmpMeta[1];
1379 _rest = tmpMeta[2];
1380 _txt = tmp3_1;
1381 _a_omsiName = tmp3_3;
1382 _a_modelName = tmp3_4;
1383 /* Pattern matching succeeded */
1384#line 1085 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1385 _txt = omc_CodegenOMSIC__Equations_equationCall(threadData, _txt, _i_eq, _a_modelName, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)), _a_omsiName);
1386#line 1386 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1387
1388#line 1086 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1389 _txt = omc_Tpl_nextIter(threadData, _txt);
1390#line 1390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1391#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1392 /* Tail recursive call */
1393#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1394 _in_txt = _txt;
1395#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1396 _in_items = _rest;
1397#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1398 _in_a_omsiName = _a_omsiName;
1399#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1400 _in_a_modelName = _a_modelName;
1401#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1402 goto _tailrecursive;
1403#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1404 /* TODO: Make sure any eventual dead code below is never generated */
1405#line 1405 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1406 goto tmp2_done;
1407 }
1408 }
1409 goto tmp2_end;
1410 tmp2_end: ;
1411 }
1412 goto goto_1;
1413 goto_1:;
1414 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1415 goto tmp2_done;
1416 tmp2_done:;
1417 }
1418 }
1419 _out_txt = tmpMeta[0];
1420 _return: OMC_LABEL_UNUSED__attribute__((unused))
1421 return _out_txt;
1422}
1423
1424DLLExport
1425modelica_metatype omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnFunction(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_metatype *out_out_a_functionPrototypes)
1426{
1427 modelica_metatype _out_txt = NULL((void*)0);
1428 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1429 modelica_metatype _l_auxFunction = NULL((void*)0);
1430 modelica_metatype _l_varDecls = NULL((void*)0);
1431 modelica_metatype _l_preExp = NULL((void*)0);
1432 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1433 MMC_SO()mmc_check_stackoverflow(threadData);
1434 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1435 // _out_txt has no default value.
1436 // _out_a_functionPrototypes has no default value.
1437 // _l_auxFunction has no default value.
1438 // _l_varDecls has no default value.
1439 // _l_preExp has no default value.
1440 // _l_bodyBuffer has no default value.
1441#line 1050 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1442 _l_bodyBuffer = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1443#line 1443 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1444
1445#line 1051 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1446 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
Value stored to '_l_preExp' is never read
1447#line 1447 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1448
1449#line 1052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1450 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1451#line 1451 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1452
1453#line 1053 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1454 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1455#line 1455 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1456
1457#line 1054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1458 _out_txt = omc_CodegenOMSIC__Equations_fun__70(threadData, _txt, _a_column, _a_functionPrototypes, _a_modelName ,&_out_a_functionPrototypes);
1459#line 1459 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1460 _return: OMC_LABEL_UNUSED__attribute__((unused))
1461 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1462 return _out_txt;
1463}
1464
1465PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__70(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1466{
1467 modelica_metatype _out_txt = NULL((void*)0);
1468 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1469 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1470 MMC_SO()mmc_check_stackoverflow(threadData);
1471 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1472 // _out_txt has no default value.
1473 // _out_a_functionPrototypes has no default value.
1474#line 1006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1475
1476#line 1006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1477
1478#line 1478 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1479 { /* match expression */
1480 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_string tmp4_4;
1481 tmp4_1 = _in_txt;
1482 tmp4_2 = _in_a_column;
1483 tmp4_3 = _in_a_functionPrototypes;
1484 tmp4_4 = _in_a_modelName;
1485 {
1486 modelica_metatype _txt = NULL((void*)0);
1487 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1488 modelica_string _a_modelName = NULL((void*)0);
1489 modelica_metatype _i_omsiFunction_context = NULL((void*)0);
1490 modelica_metatype _i_equations = NULL((void*)0);
1491 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1492 volatile mmc_switch_type tmp4;
1493 int tmp5;
1494 // _txt has no default value.
1495 // _a_functionPrototypes has no default value.
1496 // _a_modelName has no default value.
1497 // _i_omsiFunction_context has no default value.
1498 // _i_equations has no default value.
1499 // _l_bodyBuffer has no default value.
1500 tmp4 = 0;
1501 for (; tmp4 < 2; tmp4++) {
1502 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1503 case 0: {
1504 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1505 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(7)))))
;
1506
1507 _txt = tmp4_1;
1508 _i_equations = tmpMeta[2];
1509 _i_omsiFunction_context = tmpMeta[3];
1510 _a_functionPrototypes = tmp4_3;
1511 _a_modelName = tmp4_4;
1512 /* Pattern matching succeeded */
1513#line 1021 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1514 _l_bodyBuffer = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1515#line 1515 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1516
1517#line 1022 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1518 _l_bodyBuffer = omc_CodegenOMSIC__Equations_lm__69(threadData, _l_bodyBuffer, _i_equations, _a_functionPrototypes, _i_omsiFunction_context, _a_modelName ,&_a_functionPrototypes);
1519#line 1519 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1520
1521#line 1023 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1522 _l_bodyBuffer = omc_Tpl_popIter(threadData, _l_bodyBuffer);
1523#line 1523 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1524
1525#line 1024 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1526 _txt = omc_Tpl_writeText(threadData, _txt, _l_bodyBuffer);
1527#line 1527 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1528#line 1025 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1529 tmpMeta[0+0] = _txt;
1530#line 1025 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1531 tmpMeta[0+1] = _a_functionPrototypes;
1532#line 1532 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1533 goto tmp3_done;
1534 }
1535 case 1: {
1536
1537 _txt = tmp4_1;
1538 _a_functionPrototypes = tmp4_3;
1539 /* Pattern matching succeeded */
1540#line 1031 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1541 tmpMeta[0+0] = _txt;
1542#line 1031 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1543 tmpMeta[0+1] = _a_functionPrototypes;
1544#line 1544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1545 goto tmp3_done;
1546 }
1547 }
1548 goto tmp3_end;
1549 tmp3_end: ;
1550 }
1551 goto goto_2;
1552 goto_2:;
1553 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1554 goto tmp3_done;
1555 tmp3_done:;
1556 }
1557 }
1558 _out_txt = tmpMeta[0+0];
1559 _out_a_functionPrototypes = tmpMeta[0+1];
1560 _return: OMC_LABEL_UNUSED__attribute__((unused))
1561 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1562 return _out_txt;
1563}
1564
1565PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__69(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_functionPrototypes, modelica_metatype _in_a_omsiFunction_context, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1566{
1567 modelica_metatype _out_txt = NULL((void*)0);
1568 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1569 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1570 MMC_SO()mmc_check_stackoverflow(threadData);
1571 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1572 // _out_txt has no default value.
1573 // _out_a_functionPrototypes has no default value.
1574#line 967 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1575
1576#line 967 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1577
1578#line 1578 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1579 { /* match expression */
1580 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;
1581 tmp4_1 = _in_txt;
1582 tmp4_2 = _in_items;
1583 tmp4_3 = _in_a_functionPrototypes;
1584 tmp4_4 = _in_a_omsiFunction_context;
1585 tmp4_5 = _in_a_modelName;
1586 {
1587 modelica_metatype _txt = NULL((void*)0);
1588 modelica_metatype _rest = NULL((void*)0);
1589 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1590 modelica_metatype _a_omsiFunction_context = NULL((void*)0);
1591 modelica_string _a_modelName = NULL((void*)0);
1592 modelica_metatype _i_eq = NULL((void*)0);
1593 volatile mmc_switch_type tmp4;
1594 int tmp5;
1595 // _txt has no default value.
1596 // _rest has no default value.
1597 // _a_functionPrototypes has no default value.
1598 // _a_omsiFunction_context has no default value.
1599 // _a_modelName has no default value.
1600 // _i_eq has no default value.
1601 tmp4 = 0;
1602 for (; tmp4 < 2; tmp4++) {
1603 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1604 case 0: {
1605 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1606
1607 _txt = tmp4_1;
1608 _a_functionPrototypes = tmp4_3;
1609 /* Pattern matching succeeded */
1610#line 982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1611 tmpMeta[0+0] = _txt;
1612#line 982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1613 tmpMeta[0+1] = _a_functionPrototypes;
1614#line 1614 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1615 goto tmp3_done;
1616 }
1617 case 1: {
1618 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1619 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1620 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1621
1622 _i_eq = tmpMeta[2];
1623 _rest = tmpMeta[3];
1624 _txt = tmp4_1;
1625 _a_functionPrototypes = tmp4_3;
1626 _a_omsiFunction_context = tmp4_4;
1627 _a_modelName = tmp4_5;
1628 /* Pattern matching succeeded */
1629#line 990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1630 _txt = omc_CodegenOMSIC__Equations_generateEquationFunction(threadData, _txt, _i_eq, _a_modelName, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _a_omsiFunction_context, _a_functionPrototypes ,&_a_functionPrototypes);
1631#line 1631 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1632
1633#line 991 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1634 _txt = omc_Tpl_nextIter(threadData, _txt);
1635#line 1635 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1636#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1637 /* Tail recursive call */
1638#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1639 _in_txt = _txt;
1640#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1641 _in_items = _rest;
1642#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1643 _in_a_functionPrototypes = _a_functionPrototypes;
1644#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1645 _in_a_omsiFunction_context = _a_omsiFunction_context;
1646#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1647 _in_a_modelName = _a_modelName;
1648#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1649 goto _tailrecursive;
1650#line 992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1651 /* TODO: Make sure any eventual dead code below is never generated */
1652#line 1652 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1653 goto tmp3_done;
1654 }
1655 }
1656 goto tmp3_end;
1657 tmp3_end: ;
1658 }
1659 goto goto_2;
1660 goto_2:;
1661 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1662 goto tmp3_done;
1663 tmp3_done:;
1664 }
1665 }
1666 _out_txt = tmpMeta[0+0];
1667 _out_a_functionPrototypes = tmpMeta[0+1];
1668 _return: OMC_LABEL_UNUSED__attribute__((unused))
1669 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1670 return _out_txt;
1671}
1672
1673DLLExport
1674modelica_metatype omc_CodegenOMSIC__Equations_generateDerivativeMatrix(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_matrix, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_string _a_omsiName, modelica_metatype *out_out_a_functionPrototypes)
1675{
1676 modelica_metatype _out_txt = NULL((void*)0);
1677 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1678 modelica_metatype _l_columnsString = NULL((void*)0);
1679 MMC_SO()mmc_check_stackoverflow(threadData);
1680 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1681 // _out_txt has no default value.
1682 // _out_a_functionPrototypes has no default value.
1683 // _l_columnsString has no default value.
1684#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1685 _l_columnsString = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1686#line 1686 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1687
1688#line 954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1689 _out_txt = omc_CodegenOMSIC__Equations_fun__67(threadData, _txt, _a_matrix, _a_omsiName, _a_functionPrototypes, _a_index, _a_modelName ,&_out_a_functionPrototypes);
1690#line 1690 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1691 _return: OMC_LABEL_UNUSED__attribute__((unused))
1692 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1693 return _out_txt;
1694}
1695
1696PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__67(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1697{
1698 modelica_metatype _out_txt = NULL((void*)0);
1699 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1700 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1701 MMC_SO()mmc_check_stackoverflow(threadData);
1702 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1703 // _out_txt has no default value.
1704 // _out_a_functionPrototypes has no default value.
1705#line 903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1706
1707#line 903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1708
1709#line 1709 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1710 { /* match expression */
1711 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1712 tmp4_1 = _in_txt;
1713 tmp4_2 = _in_a_matrix;
1714 tmp4_3 = _in_a_omsiName;
1715 tmp4_4 = _in_a_functionPrototypes;
1716 tmp4_5 = _in_a_index;
1717 tmp4_6 = _in_a_modelName;
1718 {
1719 modelica_metatype _txt = NULL((void*)0);
1720 modelica_string _a_omsiName = NULL((void*)0);
1721 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1722 modelica_string _a_index = NULL((void*)0);
1723 modelica_string _a_modelName = NULL((void*)0);
1724 modelica_metatype _i_m_columns = NULL((void*)0);
1725 modelica_metatype _l_columnsString = NULL((void*)0);
1726 volatile mmc_switch_type tmp4;
1727 int tmp5;
1728 // _txt has no default value.
1729 // _a_omsiName has no default value.
1730 // _a_functionPrototypes has no default value.
1731 // _a_index has no default value.
1732 // _a_modelName has no default value.
1733 // _i_m_columns has no default value.
1734 // _l_columnsString has no default value.
1735 tmp4 = 0;
1736 for (; tmp4 < 2; tmp4++) {
1737 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1738 case 0: {
1739 if (optionNone(tmp4_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
1740 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1741 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1742
1743 _i_m_columns = tmpMeta[3];
1744 _txt = tmp4_1;
1745 _a_omsiName = tmp4_3;
1746 _a_functionPrototypes = tmp4_4;
1747 _a_index = tmp4_5;
1748 _a_modelName = tmp4_6;
1749 /* Pattern matching succeeded */
1750#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1751 _l_columnsString = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)));
1752#line 1752 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1753
1754#line 925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1755 _l_columnsString = omc_CodegenOMSIC__Equations_lm__66(threadData, _l_columnsString, _i_m_columns, _a_omsiName, _a_functionPrototypes, _a_index, _a_modelName ,&_a_functionPrototypes);
1756#line 1756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1757
1758#line 926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1759 _l_columnsString = omc_Tpl_popIter(threadData, _l_columnsString);
1760#line 1760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1761
1762#line 927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1763 _txt = omc_Tpl_writeText(threadData, _txt, _l_columnsString);
1764#line 1764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1765#line 928 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1766 tmpMeta[0+0] = _txt;
1767#line 928 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1768 tmpMeta[0+1] = _a_functionPrototypes;
1769#line 1769 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1770 goto tmp3_done;
1771 }
1772 case 1: {
1773
1774 _txt = tmp4_1;
1775 _a_functionPrototypes = tmp4_4;
1776 /* Pattern matching succeeded */
1777#line 936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1778 tmpMeta[0+0] = _txt;
1779#line 936 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1780 tmpMeta[0+1] = _a_functionPrototypes;
1781#line 1781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1782 goto tmp3_done;
1783 }
1784 }
1785 goto tmp3_end;
1786 tmp3_end: ;
1787 }
1788 goto goto_2;
1789 goto_2:;
1790 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1791 goto tmp3_done;
1792 tmp3_done:;
1793 }
1794 }
1795 _out_txt = tmpMeta[0+0];
1796 _out_a_functionPrototypes = tmpMeta[0+1];
1797 _return: OMC_LABEL_UNUSED__attribute__((unused))
1798 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1799 return _out_txt;
1800}
1801
1802PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__66(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1803{
1804 modelica_metatype _out_txt = NULL((void*)0);
1805 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1806 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1807 MMC_SO()mmc_check_stackoverflow(threadData);
1808 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1809 // _out_txt has no default value.
1810 // _out_a_functionPrototypes has no default value.
1811#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1812
1813#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1814
1815#line 1815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1816 { /* match expression */
1817 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1818 tmp4_1 = _in_txt;
1819 tmp4_2 = _in_items;
1820 tmp4_3 = _in_a_omsiName;
1821 tmp4_4 = _in_a_functionPrototypes;
1822 tmp4_5 = _in_a_index;
1823 tmp4_6 = _in_a_modelName;
1824 {
1825 modelica_metatype _txt = NULL((void*)0);
1826 modelica_metatype _rest = NULL((void*)0);
1827 modelica_string _a_omsiName = NULL((void*)0);
1828 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1829 modelica_string _a_index = NULL((void*)0);
1830 modelica_string _a_modelName = NULL((void*)0);
1831 modelica_metatype _i_col = NULL((void*)0);
1832 volatile mmc_switch_type tmp4;
1833 int tmp5;
1834 // _txt has no default value.
1835 // _rest has no default value.
1836 // _a_omsiName has no default value.
1837 // _a_functionPrototypes has no default value.
1838 // _a_index has no default value.
1839 // _a_modelName has no default value.
1840 // _i_col has no default value.
1841 tmp4 = 0;
1842 for (; tmp4 < 2; tmp4++) {
1843 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1844 case 0: {
1845 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1846
1847 _txt = tmp4_1;
1848 _a_functionPrototypes = tmp4_4;
1849 /* Pattern matching succeeded */
1850#line 873 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1851 tmpMeta[0+0] = _txt;
1852#line 873 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1853 tmpMeta[0+1] = _a_functionPrototypes;
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1855 goto tmp3_done;
1856 }
1857 case 1: {
1858 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1859 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1860 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1861
1862 _i_col = tmpMeta[2];
1863 _rest = tmpMeta[3];
1864 _txt = tmp4_1;
1865 _a_omsiName = tmp4_3;
1866 _a_functionPrototypes = tmp4_4;
1867 _a_index = tmp4_5;
1868 _a_modelName = tmp4_6;
1869 /* Pattern matching succeeded */
1870#line 882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1871 _txt = omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnFunction(threadData, _txt, _i_col, _a_modelName, _a_index, _a_functionPrototypes ,&_a_functionPrototypes);
1872#line 1872 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1873
1874#line 883 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1875 _txt = omc_Tpl_softNewLine(threadData, _txt);
1876#line 1876 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1877
1878#line 884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1879 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
1880#line 1880 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1881
1882#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1883 _txt = omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnCall(threadData, _txt, _i_col, _a_modelName, _a_index, _a_functionPrototypes, _a_omsiName ,&_a_functionPrototypes);
1884#line 1884 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1885
1886#line 886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1887 _txt = omc_Tpl_nextIter(threadData, _txt);
1888#line 1888 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1889#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1890 /* Tail recursive call */
1891#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1892 _in_txt = _txt;
1893#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1894 _in_items = _rest;
1895#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1896 _in_a_omsiName = _a_omsiName;
1897#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1898 _in_a_functionPrototypes = _a_functionPrototypes;
1899#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1900 _in_a_index = _a_index;
1901#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1902 _in_a_modelName = _a_modelName;
1903#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1904 goto _tailrecursive;
1905#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1906 /* TODO: Make sure any eventual dead code below is never generated */
1907#line 1907 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1908 goto tmp3_done;
1909 }
1910 }
1911 goto tmp3_end;
1912 tmp3_end: ;
1913 }
1914 goto goto_2;
1915 goto_2:;
1916 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1917 goto tmp3_done;
1918 tmp3_done:;
1919 }
1920 }
1921 _out_txt = tmpMeta[0+0];
1922 _out_a_functionPrototypes = tmpMeta[0+1];
1923 _return: OMC_LABEL_UNUSED__attribute__((unused))
1924 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1925 return _out_txt;
1926}
1927
1928DLLExport
1929modelica_metatype omc_CodegenOMSIC__Equations_generateMatrixColumnInitialization(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column)
1930{
1931 modelica_metatype _out_txt = NULL((void*)0);
1932 modelica_metatype _l_body = NULL((void*)0);
1933 modelica_metatype _l_auxFunction = NULL((void*)0);
1934 modelica_metatype _l_varDecls = NULL((void*)0);
1935 MMC_SO()mmc_check_stackoverflow(threadData);
1936 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1937 // _out_txt has no default value.
1938 // _l_body has no default value.
1939 // _l_auxFunction has no default value.
1940 // _l_varDecls has no default value.
1941#line 839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1942 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1943#line 1943 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1944
1945#line 840 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1946 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1947#line 1947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1948
1949#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1950 _l_body = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1951#line 1951 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1952
1953#line 842 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1954 _out_txt = omc_CodegenOMSIC__Equations_fun__64(threadData, _txt, _a_column, _l_auxFunction, _l_varDecls, _l_body ,&_l_auxFunction ,&_l_varDecls ,&_l_body);
1955#line 1955 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1956 _return: OMC_LABEL_UNUSED__attribute__((unused))
1957 return _out_txt;
1958}
1959
1960PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__64(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body)
1961{
1962 modelica_metatype _out_txt = NULL((void*)0);
1963 modelica_metatype _out_a_auxFunction = NULL((void*)0);
1964 modelica_metatype _out_a_varDecls = NULL((void*)0);
1965 modelica_metatype _out_a_body = NULL((void*)0);
1966 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1967 MMC_SO()mmc_check_stackoverflow(threadData);
1968 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1969 // _out_txt has no default value.
1970 // _out_a_auxFunction has no default value.
1971 // _out_a_varDecls has no default value.
1972 // _out_a_body has no default value.
1973#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1974
1975#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1976
1977#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1978
1979#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1980
1981#line 1981 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1982 { /* match expression */
1983 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
1984 tmp4_1 = _in_txt;
1985 tmp4_2 = _in_a_column;
1986 tmp4_3 = _in_a_auxFunction;
1987 tmp4_4 = _in_a_varDecls;
1988 tmp4_5 = _in_a_body;
1989 {
1990 modelica_metatype _txt = NULL((void*)0);
1991 modelica_metatype _a_auxFunction = NULL((void*)0);
1992 modelica_metatype _a_varDecls = NULL((void*)0);
1993 modelica_metatype _a_body = NULL((void*)0);
1994 modelica_metatype _i_omsiFunction_context = NULL((void*)0);
1995 modelica_metatype _i_equations = NULL((void*)0);
1996 volatile mmc_switch_type tmp4;
1997 int tmp5;
1998 // _txt has no default value.
1999 // _a_auxFunction has no default value.
2000 // _a_varDecls has no default value.
2001 // _a_body has no default value.
2002 // _i_omsiFunction_context has no default value.
2003 // _i_equations has no default value.
2004 tmp4 = 0;
2005 for (; tmp4 < 2; tmp4++) {
2006 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2007 case 0: {
2008 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2009 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(7)))))
;
2010
2011 _txt = tmp4_1;
2012 _i_equations = tmpMeta[4];
2013 _i_omsiFunction_context = tmpMeta[5];
2014 _a_auxFunction = tmp4_3;
2015 _a_varDecls = tmp4_4;
2016 _a_body = tmp4_5;
2017 /* Pattern matching succeeded */
2018#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2019 omc_CodegenOMSIC__Equations_lm__63(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_equations, _i_omsiFunction_context, _a_auxFunction, _a_varDecls, _a_body ,&_a_auxFunction ,&_a_varDecls ,&_a_body);
2020#line 2020 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2021
2022#line 817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2023 _txt = omc_Tpl_writeText(threadData, _txt, _a_body);
2024#line 2024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2025#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2026 tmpMeta[0+0] = _txt;
2027#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2028 tmpMeta[0+1] = _a_auxFunction;
2029#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2030 tmpMeta[0+2] = _a_varDecls;
2031#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2032 tmpMeta[0+3] = _a_body;
2033#line 2033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2034 goto tmp3_done;
2035 }
2036 case 1: {
2037
2038 _txt = tmp4_1;
2039 _a_auxFunction = tmp4_3;
2040 _a_varDecls = tmp4_4;
2041 _a_body = tmp4_5;
2042 /* Pattern matching succeeded */
2043#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2044 tmpMeta[0+0] = _txt;
2045#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2046 tmpMeta[0+1] = _a_auxFunction;
2047#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2048 tmpMeta[0+2] = _a_varDecls;
2049#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2050 tmpMeta[0+3] = _a_body;
2051#line 2051 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2052 goto tmp3_done;
2053 }
2054 }
2055 goto tmp3_end;
2056 tmp3_end: ;
2057 }
2058 goto goto_2;
2059 goto_2:;
2060 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2061 goto tmp3_done;
2062 tmp3_done:;
2063 }
2064 }
2065 _out_txt = tmpMeta[0+0];
2066 _out_a_auxFunction = tmpMeta[0+1];
2067 _out_a_varDecls = tmpMeta[0+2];
2068 _out_a_body = tmpMeta[0+3];
2069 _return: OMC_LABEL_UNUSED__attribute__((unused))
2070 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2071 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2072 if (out_out_a_body) { *out_out_a_body = _out_a_body; }
2073 return _out_txt;
2074}
2075
2076PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_omsiFunction_context, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body)
2077{
2078 modelica_metatype _out_txt = NULL((void*)0);
2079 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2080 modelica_metatype _out_a_varDecls = NULL((void*)0);
2081 modelica_metatype _out_a_body = NULL((void*)0);
2082 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2083 MMC_SO()mmc_check_stackoverflow(threadData);
2084 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2085 // _out_txt has no default value.
2086 // _out_a_auxFunction has no default value.
2087 // _out_a_varDecls has no default value.
2088 // _out_a_body has no default value.
2089#line 755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2090
2091#line 755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2092
2093#line 755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2094
2095#line 755 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2096
2097#line 2097 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2098 { /* match expression */
2099 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;modelica_metatype tmp4_6;
2100 tmp4_1 = _in_txt;
2101 tmp4_2 = _in_items;
2102 tmp4_3 = _in_a_omsiFunction_context;
2103 tmp4_4 = _in_a_auxFunction;
2104 tmp4_5 = _in_a_varDecls;
2105 tmp4_6 = _in_a_body;
2106 {
2107 modelica_metatype _txt = NULL((void*)0);
2108 modelica_metatype _rest = NULL((void*)0);
2109 modelica_metatype _a_omsiFunction_context = NULL((void*)0);
2110 modelica_metatype _a_auxFunction = NULL((void*)0);
2111 modelica_metatype _a_varDecls = NULL((void*)0);
2112 modelica_metatype _a_body = NULL((void*)0);
2113 modelica_metatype _i_eq = NULL((void*)0);
2114 volatile mmc_switch_type tmp4;
2115 int tmp5;
2116 // _txt has no default value.
2117 // _rest has no default value.
2118 // _a_omsiFunction_context has no default value.
2119 // _a_auxFunction has no default value.
2120 // _a_varDecls has no default value.
2121 // _a_body has no default value.
2122 // _i_eq has no default value.
2123 tmp4 = 0;
2124 for (; tmp4 < 2; tmp4++) {
2125 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2126 case 0: {
2127 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2128
2129 _txt = tmp4_1;
2130 _a_auxFunction = tmp4_4;
2131 _a_varDecls = tmp4_5;
2132 _a_body = tmp4_6;
2133 /* Pattern matching succeeded */
2134#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2135 tmpMeta[0+0] = _txt;
2136#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2137 tmpMeta[0+1] = _a_auxFunction;
2138#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2139 tmpMeta[0+2] = _a_varDecls;
2140#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2141 tmpMeta[0+3] = _a_body;
2142#line 2142 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2143 goto tmp3_done;
2144 }
2145 case 1: {
2146 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2147 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2148 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2149
2150 _i_eq = tmpMeta[4];
2151 _rest = tmpMeta[5];
2152 _txt = tmp4_1;
2153 _a_omsiFunction_context = tmp4_3;
2154 _a_auxFunction = tmp4_4;
2155 _a_varDecls = tmp4_5;
2156 _a_body = tmp4_6;
2157 /* Pattern matching succeeded */
2158#line 781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2159 _a_body = omc_CodegenOMSIC__Equations_equationCStr(threadData, _a_body, _i_eq, _a_varDecls, _a_auxFunction, _a_omsiFunction_context ,&_a_varDecls ,&_a_auxFunction);
2160#line 2160 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2161#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2162 /* Tail recursive call */
2163#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2164 _in_txt = _txt;
2165#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2166 _in_items = _rest;
2167#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2168 _in_a_omsiFunction_context = _a_omsiFunction_context;
2169#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2170 _in_a_auxFunction = _a_auxFunction;
2171#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2172 _in_a_varDecls = _a_varDecls;
2173#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2174 _in_a_body = _a_body;
2175#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2176 goto _tailrecursive;
2177#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2178 /* TODO: Make sure any eventual dead code below is never generated */
2179#line 2179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2180 goto tmp3_done;
2181 }
2182 }
2183 goto tmp3_end;
2184 tmp3_end: ;
2185 }
2186 goto goto_2;
2187 goto_2:;
2188 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2189 goto tmp3_done;
2190 tmp3_done:;
2191 }
2192 }
2193 _out_txt = tmpMeta[0+0];
2194 _out_a_auxFunction = tmpMeta[0+1];
2195 _out_a_varDecls = tmpMeta[0+2];
2196 _out_a_body = tmpMeta[0+3];
2197 _return: OMC_LABEL_UNUSED__attribute__((unused))
2198 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2199 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2200 if (out_out_a_body) { *out_out_a_body = _out_a_body; }
2201 return _out_txt;
2202}
2203
2204DLLExport
2205modelica_metatype omc_CodegenOMSIC__Equations_generateMatrixInitialization(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_matrix)
2206{
2207 modelica_metatype _out_txt = NULL((void*)0);
2208 modelica_metatype _l_columnsString = NULL((void*)0);
2209 MMC_SO()mmc_check_stackoverflow(threadData);
2210 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2211 // _out_txt has no default value.
2212 // _l_columnsString has no default value.
2213#line 738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2214 _l_columnsString = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2215#line 2215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2216
2217#line 739 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2218 _out_txt = omc_CodegenOMSIC__Equations_fun__61(threadData, _txt, _a_matrix, _l_columnsString);
2219#line 2219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2220 _return: OMC_LABEL_UNUSED__attribute__((unused))
2221 return _out_txt;
2222}
2223
2224PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__61(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_metatype _in_a_columnsString)
2225{
2226 modelica_metatype _out_txt = NULL((void*)0);
2227 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2228 MMC_SO()mmc_check_stackoverflow(threadData);
2229 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2230 // _out_txt has no default value.
2231#line 2231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2232 { /* match expression */
2233 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
2234 tmp3_1 = _in_txt;
2235 tmp3_2 = _in_a_matrix;
2236 tmp3_3 = _in_a_columnsString;
2237 {
2238 modelica_metatype _txt = NULL((void*)0);
2239 modelica_metatype _a_columnsString = NULL((void*)0);
2240 modelica_metatype _i_m_columns = NULL((void*)0);
2241 volatile mmc_switch_type tmp3;
2242 int tmp4;
2243 // _txt has no default value.
2244 // _a_columnsString has no default value.
2245 // _i_m_columns has no default value.
2246 tmp3 = 0;
2247 for (; tmp3 < 2; tmp3++) {
2248 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2249 case 0: {
2250 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2251 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2252 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2253
2254 _i_m_columns = tmpMeta[2];
2255 _txt = tmp3_1;
2256 _a_columnsString = tmp3_3;
2257 /* Pattern matching succeeded */
2258#line 716 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2259 omc_CodegenOMSIC__Equations_lm__60(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_m_columns);
2260#line 2260 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2261
2262#line 717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2263 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
2264#line 2264 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2265
2266#line 718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2267 _txt = omc_Tpl_writeText(threadData, _txt, _a_columnsString);
2268#line 2268 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2269
2270#line 719 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2271 _txt = omc_Tpl_softNewLine(threadData, _txt);
2272#line 2272 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2273#line 720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2274 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
2275#line 2275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2276 goto tmp2_done;
2277 }
2278 case 1: {
2279
2280 _txt = tmp3_1;
2281 /* Pattern matching succeeded */
2282#line 726 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2283 tmpMeta[0] = _txt;
2284#line 2284 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2285 goto tmp2_done;
2286 }
2287 }
2288 goto tmp2_end;
2289 tmp2_end: ;
2290 }
2291 goto goto_1;
2292 goto_1:;
2293 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2294 goto tmp2_done;
2295 tmp2_done:;
2296 }
2297 }
2298 _out_txt = tmpMeta[0];
2299 _return: OMC_LABEL_UNUSED__attribute__((unused))
2300 return _out_txt;
2301}
2302
2303PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__60(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
2304{
2305 modelica_metatype _out_txt = NULL((void*)0);
2306 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2307 MMC_SO()mmc_check_stackoverflow(threadData);
2308 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2309 // _out_txt has no default value.
2310#line 2310 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2311 { /* match expression */
2312 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2313 tmp3_1 = _in_txt;
2314 tmp3_2 = _in_items;
2315 {
2316 modelica_metatype _txt = NULL((void*)0);
2317 modelica_metatype _rest = NULL((void*)0);
2318 modelica_metatype _i_col = NULL((void*)0);
2319 volatile mmc_switch_type tmp3;
2320 int tmp4;
2321 // _txt has no default value.
2322 // _rest has no default value.
2323 // _i_col has no default value.
2324 tmp3 = 0;
2325 for (; tmp3 < 2; tmp3++) {
2326 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2327 case 0: {
2328 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2329
2330 _txt = tmp3_1;
2331 /* Pattern matching succeeded */
2332#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2333 tmpMeta[0] = _txt;
2334#line 2334 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2335 goto tmp2_done;
2336 }
2337 case 1: {
2338 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2339 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2340 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2341
2342 _i_col = tmpMeta[1];
2343 _rest = tmpMeta[2];
2344 _txt = tmp3_1;
2345 /* Pattern matching succeeded */
2346#line 691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2347 omc_CodegenOMSIC__Equations_generateMatrixColumnInitialization(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_col);
2348#line 2348 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2349#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2350 /* Tail recursive call */
2351#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2352 _in_txt = _txt;
2353#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2354 _in_items = _rest;
2355#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2356 goto _tailrecursive;
2357#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2358 /* TODO: Make sure any eventual dead code below is never generated */
2359#line 2359 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2360 goto tmp2_done;
2361 }
2362 }
2363 goto tmp2_end;
2364 tmp2_end: ;
2365 }
2366 goto goto_1;
2367 goto_1:;
2368 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2369 goto tmp2_done;
2370 tmp2_done:;
2371 }
2372 }
2373 _out_txt = tmpMeta[0];
2374 _return: OMC_LABEL_UNUSED__attribute__((unused))
2375 return _out_txt;
2376}
2377
2378DLLExport
2379modelica_metatype omc_CodegenOMSIC__Equations_equationCall(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_string _in_a_modelNamePrefixStr, modelica_string _in_a_modelFunctionnamePrefixStr, modelica_string _in_a_input, modelica_string _in_a_omsiName)
2380{
2381 modelica_metatype _out_txt = NULL((void*)0);
2382 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2383 MMC_SO()mmc_check_stackoverflow(threadData);
2384 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2385 // _out_txt has no default value.
2386#line 2386 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2387 { /* match expression */
2388 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;modelica_string tmp3_5;modelica_string tmp3_6;
2389 tmp3_1 = _in_txt;
2390 tmp3_2 = _in_a_eq;
2391 tmp3_3 = _in_a_modelNamePrefixStr;
2392 tmp3_4 = _in_a_modelFunctionnamePrefixStr;
2393 tmp3_5 = _in_a_input;
2394 tmp3_6 = _in_a_omsiName;
2395 {
2396 modelica_metatype _txt = NULL((void*)0);
2397 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
2398 modelica_string _a_modelFunctionnamePrefixStr = NULL((void*)0);
2399 modelica_string _a_input = NULL((void*)0);
2400 modelica_string _a_omsiName = NULL((void*)0);
2401 modelica_integer _i_algSysIndex;
2402 modelica_integer _i_index;
2403 modelica_string _ret_2 = NULL((void*)0);
2404 modelica_string _ret_1 = NULL((void*)0);
2405 modelica_metatype _l_i = NULL((void*)0);
2406 int tmp3;
2407 // _txt has no default value.
2408 // _a_modelNamePrefixStr has no default value.
2409 // _a_modelFunctionnamePrefixStr has no default value.
2410 // _a_input has no default value.
2411 // _a_omsiName has no default value.
2412 // _i_algSysIndex has no default value.
2413 // _i_index has no default value.
2414 // _ret_2 has no default value.
2415 // _ret_1 has no default value.
2416 // _l_i has no default value.
2417 {
2418 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
2419 case 4: {
2420 modelica_integer tmp4;
2421 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2422 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2423 tmp4 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2424
2425 _i_index = tmp4 /* pattern as ty=Integer */;
2426 _txt = tmp3_1;
2427 _a_modelNamePrefixStr = tmp3_3;
2428 _a_modelFunctionnamePrefixStr = tmp3_4;
2429 _a_input = tmp3_5;
2430 /* Pattern matching succeeded */
2431#line 607 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2432 _l_i = omc_Tpl_writeStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), intString(_i_index));
2433#line 2433 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2434
2435#line 608 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2436 _ret_1 = omc_Config_simCodeTarget(threadData);
2437#line 2437 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2438#line 609 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2439 tmpMeta[0] = omc_CodegenOMSIC__Equations_fun__57(threadData, _txt, _ret_1, _a_modelFunctionnamePrefixStr, _a_input, _l_i, _a_modelNamePrefixStr);
2440#line 2440 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2441 goto tmp2_done;
2442 }
2443 case 13: {
2444 modelica_integer tmp5;
2445 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
2446 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2447 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2448
2449 _i_index = tmp5 /* pattern as ty=Integer */;
2450 _txt = tmp3_1;
2451 _a_modelNamePrefixStr = tmp3_3;
2452 _a_modelFunctionnamePrefixStr = tmp3_4;
2453 _a_input = tmp3_5;
2454 /* Pattern matching succeeded */
2455#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2456 _l_i = omc_Tpl_writeStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), intString(_i_index));
2457#line 2457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2458
2459#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2460 _ret_2 = omc_Config_simCodeTarget(threadData);
2461#line 2461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2462#line 621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2463 tmpMeta[0] = omc_CodegenOMSIC__Equations_fun__58(threadData, _txt, _ret_2, _a_modelFunctionnamePrefixStr, _a_input, _l_i, _a_modelNamePrefixStr);
2464#line 2464 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2465 goto tmp2_done;
2466 }
2467 case 3: {
2468 modelica_integer tmp6;
2469 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2470 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2471 tmp6 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2472
2473 _i_index = tmp6 /* pattern as ty=Integer */;
2474 _txt = tmp3_1;
2475 _a_modelNamePrefixStr = tmp3_3;
2476 _a_input = tmp3_5;
2477 /* Pattern matching succeeded */
2478#line 631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2479 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)));
2480#line 2480 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2481
2482#line 632 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2483 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2484#line 2484 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2485
2486#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2487 _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_index));
2488#line 2488 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2489
2490#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2491 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2492#line 2492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2493
2494#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2495 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2496#line 2496 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2497#line 636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2498 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2499#line 2499 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2500 goto tmp2_done;
2501 }
2502 case 16: {
2503 modelica_integer tmp7;
2504 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
2505 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
2506 tmp7 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2507
2508 _i_algSysIndex = tmp7 /* pattern as ty=Integer */;
2509 _txt = tmp3_1;
2510 _a_modelNamePrefixStr = tmp3_3;
2511 _a_input = tmp3_5;
2512 _a_omsiName = tmp3_6;
2513 /* Pattern matching succeeded */
2514#line 646 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2515 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)));
2516#line 2516 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2517
2518#line 647 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2519 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _a_omsiName);
2520#line 2520 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2521
2522#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2523 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)));
2524#line 2524 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2525
2526#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2527 _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_algSysIndex));
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2529
2530#line 650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2531 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2532#line 2532 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2533
2534#line 651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2535 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2536#line 2536 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2537#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2538 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)));
2539#line 2539 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2540 goto tmp2_done;
2541 }
2542 default:
2543 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
2544
2545 _txt = tmp3_1;
2546 /* Pattern matching succeeded */
2547#line 665 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2548 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)));
2549#line 2549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2550 goto tmp2_done;
2551 }
2552 }
2553 goto tmp2_end;
2554 tmp2_end: ;
2555 }
2556 goto goto_1;
2557 goto_1:;
2558 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2559 goto tmp2_done;
2560 tmp2_done:;
2561 }
2562 }
2563 _out_txt = tmpMeta[0];
2564 _return: OMC_LABEL_UNUSED__attribute__((unused))
2565 return _out_txt;
2566}
2567
2568PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__58(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr, modelica_string _in_a_input, modelica_metatype _in_a_i, modelica_string _in_a_modelNamePrefixStr)
2569{
2570 modelica_metatype _out_txt = NULL((void*)0);
2571 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2572 MMC_SO()mmc_check_stackoverflow(threadData);
2573 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2574 // _out_txt has no default value.
2575#line 2575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2576 { /* match expression */
2577 modelica_metatype tmp3_1;modelica_string tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;modelica_metatype tmp3_5;modelica_string tmp3_6;
2578 tmp3_1 = _in_txt;
2579 tmp3_2 = _in_mArg;
2580 tmp3_3 = _in_a_modelFunctionnamePrefixStr;
2581 tmp3_4 = _in_a_input;
2582 tmp3_5 = _in_a_i;
2583 tmp3_6 = _in_a_modelNamePrefixStr;
2584 {
2585 modelica_metatype _txt = NULL((void*)0);
2586 modelica_string _a_modelFunctionnamePrefixStr = NULL((void*)0);
2587 modelica_string _a_input = NULL((void*)0);
2588 modelica_metatype _a_i = NULL((void*)0);
2589 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
2590 volatile mmc_switch_type tmp3;
2591 int tmp4;
2592 // _txt has no default value.
2593 // _a_modelFunctionnamePrefixStr has no default value.
2594 // _a_input has no default value.
2595 // _a_i has no default value.
2596 // _a_modelNamePrefixStr has no default value.
2597 tmp3 = 0;
2598 for (; tmp3 < 3; tmp3++) {
2599 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2600 case 0: {
2601 if (5 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
2602
2603 _txt = tmp3_1;
2604 _a_input = tmp3_4;
2605 _a_i = tmp3_5;
2606 _a_modelNamePrefixStr = tmp3_6;
2607 /* Pattern matching succeeded */
2608#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2609 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)));
2610#line 2610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2611
2612#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2613 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2614#line 2614 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2615
2616#line 544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2617 _txt = omc_Tpl_writeText(threadData, _txt, _a_i);
2618#line 2618 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2619
2620#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2621 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2622#line 2622 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2623
2624#line 546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2625 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2626#line 2626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2627#line 547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2628 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2629#line 2629 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2630 goto tmp2_done;
2631 }
2632 case 1: {
2633 if (7 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
2634
2635 _txt = tmp3_1;
2636 _a_modelFunctionnamePrefixStr = tmp3_3;
2637 _a_input = tmp3_4;
2638 _a_i = tmp3_5;
2639 /* Pattern matching succeeded */
2640#line 557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2641 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
2642#line 2642 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2643
2644#line 558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2645 _txt = omc_Tpl_writeStr(threadData, _txt, _a_modelFunctionnamePrefixStr);
2646#line 2646 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2647
2648#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2649 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2650#line 2650 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2651
2652#line 560 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2653 _txt = omc_Tpl_writeText(threadData, _txt, _a_i);
2654#line 2654 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2655
2656#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2657 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2658#line 2658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2659
2660#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2661 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2662#line 2662 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2663#line 563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2664 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2665#line 2665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2666 goto tmp2_done;
2667 }
2668 case 2: {
2669
2670 _txt = tmp3_1;
2671 /* Pattern matching succeeded */
2672#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2673 tmpMeta[0] = _txt;
2674#line 2674 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2675 goto tmp2_done;
2676 }
2677 }
2678 goto tmp2_end;
2679 tmp2_end: ;
2680 }
2681 goto goto_1;
2682 goto_1:;
2683 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2684 goto tmp2_done;
2685 tmp2_done:;
2686 }
2687 }
2688 _out_txt = tmpMeta[0];
2689 _return: OMC_LABEL_UNUSED__attribute__((unused))
2690 return _out_txt;
2691}
2692
2693PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__57(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr, modelica_string _in_a_input, modelica_metatype _in_a_i, modelica_string _in_a_modelNamePrefixStr)
2694{
2695 modelica_metatype _out_txt = NULL((void*)0);
2696 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2697 MMC_SO()mmc_check_stackoverflow(threadData);
2698 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2699 // _out_txt has no default value.
2700#line 2700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2701 { /* match expression */
2702 modelica_metatype tmp3_1;modelica_string tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;modelica_metatype tmp3_5;modelica_string tmp3_6;
2703 tmp3_1 = _in_txt;
2704 tmp3_2 = _in_mArg;
2705 tmp3_3 = _in_a_modelFunctionnamePrefixStr;
2706 tmp3_4 = _in_a_input;
2707 tmp3_5 = _in_a_i;
2708 tmp3_6 = _in_a_modelNamePrefixStr;
2709 {
2710 modelica_metatype _txt = NULL((void*)0);
2711 modelica_string _a_modelFunctionnamePrefixStr = NULL((void*)0);
2712 modelica_string _a_input = NULL((void*)0);
2713 modelica_metatype _a_i = NULL((void*)0);
2714 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
2715 volatile mmc_switch_type tmp3;
2716 int tmp4;
2717 // _txt has no default value.
2718 // _a_modelFunctionnamePrefixStr has no default value.
2719 // _a_input has no default value.
2720 // _a_i has no default value.
2721 // _a_modelNamePrefixStr has no default value.
2722 tmp3 = 0;
2723 for (; tmp3 < 3; tmp3++) {
2724 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2725 case 0: {
2726 if (5 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
2727
2728 _txt = tmp3_1;
2729 _a_input = tmp3_4;
2730 _a_i = tmp3_5;
2731 _a_modelNamePrefixStr = tmp3_6;
2732 /* Pattern matching succeeded */
2733#line 482 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2734 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)));
2735#line 2735 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2736
2737#line 483 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2738 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2739#line 2739 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2740
2741#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2742 _txt = omc_Tpl_writeText(threadData, _txt, _a_i);
2743#line 2743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2744
2745#line 485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2746 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2747#line 2747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2748
2749#line 486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2750 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2751#line 2751 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2752#line 487 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2753 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2754#line 2754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2755 goto tmp2_done;
2756 }
2757 case 1: {
2758 if (7 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
2759
2760 _txt = tmp3_1;
2761 _a_modelFunctionnamePrefixStr = tmp3_3;
2762 _a_input = tmp3_4;
2763 _a_i = tmp3_5;
2764 /* Pattern matching succeeded */
2765#line 497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2766 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
2767#line 2767 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2768
2769#line 498 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2770 _txt = omc_Tpl_writeStr(threadData, _txt, _a_modelFunctionnamePrefixStr);
2771#line 2771 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2772
2773#line 499 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2774 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2775#line 2775 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2776
2777#line 500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2778 _txt = omc_Tpl_writeText(threadData, _txt, _a_i);
2779#line 2779 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2780
2781#line 501 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2782 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2783#line 2783 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2784
2785#line 502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2786 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2787#line 2787 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2788#line 503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2789 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2790#line 2790 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2791 goto tmp2_done;
2792 }
2793 case 2: {
2794
2795 _txt = tmp3_1;
2796 /* Pattern matching succeeded */
2797#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2798 tmpMeta[0] = _txt;
2799#line 2799 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2800 goto tmp2_done;
2801 }
2802 }
2803 goto tmp2_end;
2804 tmp2_end: ;
2805 }
2806 goto goto_1;
2807 goto_1:;
2808 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2809 goto tmp2_done;
2810 tmp2_done:;
2811 }
2812 }
2813 _out_txt = tmpMeta[0];
2814 _return: OMC_LABEL_UNUSED__attribute__((unused))
2815 return _out_txt;
2816}
2817
2818DLLExport
2819modelica_metatype omc_CodegenOMSIC__Equations_equationCStr(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_metatype _a_varDecls, modelica_metatype _a_auxFunction, modelica_metatype _a_context, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_auxFunction)
2820{
2821 modelica_metatype _out_txt = NULL((void*)0);
2822 modelica_metatype _out_a_varDecls = NULL((void*)0);
2823 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2824 modelica_metatype _l_preExp = NULL((void*)0);
2825 MMC_SO()mmc_check_stackoverflow(threadData);
2826 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2827 // _out_txt has no default value.
2828 // _out_a_varDecls has no default value.
2829 // _out_a_auxFunction has no default value.
2830 // _l_preExp has no default value.
2831#line 452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2832 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2833#line 2833 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2834
2835#line 453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2836 _out_txt = omc_CodegenOMSIC__Equations_fun__55(threadData, _txt, _a_eq, _a_auxFunction, _a_varDecls, _l_preExp, _a_context ,&_out_a_auxFunction ,&_out_a_varDecls ,&_l_preExp);
2837#line 2837 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2838 _return: OMC_LABEL_UNUSED__attribute__((unused))
2839 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2840 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2841 return _out_txt;
2842}
2843
2844PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__55(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_preExp, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_preExp)
2845{
2846 modelica_metatype _out_txt = NULL((void*)0);
2847 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2848 modelica_metatype _out_a_varDecls = NULL((void*)0);
2849 modelica_metatype _out_a_preExp = NULL((void*)0);
2850 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2851 MMC_SO()mmc_check_stackoverflow(threadData);
2852 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2853 // _out_txt has no default value.
2854 // _out_a_auxFunction has no default value.
2855 // _out_a_varDecls has no default value.
2856 // _out_a_preExp has no default value.
2857#line 369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2858
2859#line 369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2860
2861#line 369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2862
2863#line 369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2864
2865#line 2865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2866 { /* match expression */
2867 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;modelica_metatype tmp4_6;
2868 tmp4_1 = _in_txt;
2869 tmp4_2 = _in_a_eq;
2870 tmp4_3 = _in_a_auxFunction;
2871 tmp4_4 = _in_a_varDecls;
2872 tmp4_5 = _in_a_preExp;
2873 tmp4_6 = _in_a_context;
2874 {
2875 modelica_metatype _txt = NULL((void*)0);
2876 modelica_metatype _a_auxFunction = NULL((void*)0);
2877 modelica_metatype _a_varDecls = NULL((void*)0);
2878 modelica_metatype _a_preExp = NULL((void*)0);
2879 modelica_metatype _a_context = NULL((void*)0);
2880 modelica_metatype _i_eq = NULL((void*)0);
2881 modelica_metatype _i_exp = NULL((void*)0);
2882 modelica_metatype _i_cref = NULL((void*)0);
2883 modelica_metatype _l_whenEq = NULL((void*)0);
2884 modelica_metatype _l_expPart = NULL((void*)0);
2885 modelica_metatype _l_crefStr = NULL((void*)0);
2886 volatile mmc_switch_type tmp4;
2887 int tmp5;
2888 // _txt has no default value.
2889 // _a_auxFunction has no default value.
2890 // _a_varDecls has no default value.
2891 // _a_preExp has no default value.
2892 // _a_context has no default value.
2893 // _i_eq has no default value.
2894 // _i_exp has no default value.
2895 // _i_cref has no default value.
2896 // _l_whenEq has no default value.
2897 // _l_expPart has no default value.
2898 // _l_crefStr has no default value.
2899 tmp4 = 0;
2900 for (; tmp4 < 4; tmp4++) {
2901 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2902 case 0: {
2903 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2904 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2905 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
2906
2907 _i_cref = tmpMeta[4];
2908 _i_exp = tmpMeta[5];
2909 _txt = tmp4_1;
2910 _a_auxFunction = tmp4_3;
2911 _a_varDecls = tmp4_4;
2912 _a_preExp = tmp4_5;
2913 _a_context = tmp4_6;
2914 /* Pattern matching succeeded */
2915#line 391 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2916 _l_crefStr = omc_CodegenCFunctions_crefOMSI(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_cref, _a_context);
2917#line 2917 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2918
2919#line 392 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2920 _l_expPart = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_exp, _a_context, _a_preExp, _a_varDecls, _a_auxFunction ,&_a_preExp ,&_a_varDecls ,&_a_auxFunction);
2921#line 2921 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2922
2923#line 393 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2924 _txt = omc_Tpl_writeText(threadData, _txt, _a_preExp);
2925#line 2925 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2926
2927#line 394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2928 _txt = omc_Tpl_softNewLine(threadData, _txt);
2929#line 2929 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2930
2931#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2932 _txt = omc_Tpl_writeText(threadData, _txt, _l_crefStr);
2933#line 2933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2934
2935#line 396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2936 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
2937#line 2937 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2938
2939#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2940 _txt = omc_Tpl_writeText(threadData, _txt, _l_expPart);
2941#line 2941 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2942
2943#line 398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2944 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2945#line 2945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2946#line 399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2947 tmpMeta[0+0] = _txt;
2948#line 399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2949 tmpMeta[0+1] = _a_auxFunction;
2950#line 399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2951 tmpMeta[0+2] = _a_varDecls;
2952#line 399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2953 tmpMeta[0+3] = _a_preExp;
2954#line 2954 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2955 goto tmp3_done;
2956 }
2957 case 1: {
2958 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2959 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2960
2961 _i_exp = tmpMeta[4];
2962 _txt = tmp4_1;
2963 _a_auxFunction = tmp4_3;
2964 _a_varDecls = tmp4_4;
2965 _a_preExp = tmp4_5;
2966 _a_context = tmp4_6;
2967 /* Pattern matching succeeded */
2968#line 408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2969 _l_expPart = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_exp, _a_context, _a_preExp, _a_varDecls, _a_auxFunction ,&_a_preExp ,&_a_varDecls ,&_a_auxFunction);
2970#line 2970 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2971
2972#line 409 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2973 _txt = omc_Tpl_writeText(threadData, _txt, _a_preExp);
2974#line 2974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2975
2976#line 410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2977 _txt = omc_Tpl_softNewLine(threadData, _txt);
2978#line 2978 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2979
2980#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2981 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)));
2982#line 2982 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2983
2984#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2985 _txt = omc_Tpl_writeText(threadData, _txt, _l_expPart);
2986#line 2986 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2987
2988#line 413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2989 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2990#line 2990 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2991#line 414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2992 tmpMeta[0+0] = _txt;
2993#line 414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2994 tmpMeta[0+1] = _a_auxFunction;
2995#line 414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2996 tmpMeta[0+2] = _a_varDecls;
2997#line 414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2998 tmpMeta[0+3] = _a_preExp;
2999#line 2999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3000 goto tmp3_done;
3001 }
3002 case 2: {
3003 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
3004
3005 _i_eq = tmp4_2;
3006 _txt = tmp4_1;
3007 _a_auxFunction = tmp4_3;
3008 _a_varDecls = tmp4_4;
3009 _a_preExp = tmp4_5;
3010 _a_context = tmp4_6;
3011 /* Pattern matching succeeded */
3012#line 423 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3013 _l_whenEq = omc_CodegenOMSIC__Equations_equationWhen(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_eq, _a_context, _a_varDecls, _a_auxFunction ,&_a_varDecls ,&_a_auxFunction);
3014#line 3014 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3015
3016#line 424 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3017 _txt = omc_Tpl_writeText(threadData, _txt, _l_whenEq);
3018#line 3018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3019#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3020 tmpMeta[0+0] = _txt;
3021#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3022 tmpMeta[0+1] = _a_auxFunction;
3023#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3024 tmpMeta[0+2] = _a_varDecls;
3025#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3026 tmpMeta[0+3] = _a_preExp;
3027#line 3027 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3028 goto tmp3_done;
3029 }
3030 case 3: {
3031
3032 _txt = tmp4_1;
3033 _a_auxFunction = tmp4_3;
3034 _a_varDecls = tmp4_4;
3035 _a_preExp = tmp4_5;
3036 /* Pattern matching succeeded */
3037#line 434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3038 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)));
3039#line 3039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3040#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3041 tmpMeta[0+0] = _txt;
3042#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3043 tmpMeta[0+1] = _a_auxFunction;
3044#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3045 tmpMeta[0+2] = _a_varDecls;
3046#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3047 tmpMeta[0+3] = _a_preExp;
3048#line 3048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3049 goto tmp3_done;
3050 }
3051 }
3052 goto tmp3_end;
3053 tmp3_end: ;
3054 }
3055 goto goto_2;
3056 goto_2:;
3057 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3058 goto tmp3_done;
3059 tmp3_done:;
3060 }
3061 }
3062 _out_txt = tmpMeta[0+0];
3063 _out_a_auxFunction = tmpMeta[0+1];
3064 _out_a_varDecls = tmpMeta[0+2];
3065 _out_a_preExp = tmpMeta[0+3];
3066 _return: OMC_LABEL_UNUSED__attribute__((unused))
3067 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
3068 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
3069 if (out_out_a_preExp) { *out_out_a_preExp = _out_a_preExp; }
3070 return _out_txt;
3071}
3072
3073DLLExport
3074modelica_metatype omc_CodegenOMSIC__Equations_generateEquationFunction(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_string _a_modelNamePrefixStr, modelica_string _a_modelFunctionnamePrefixStr, modelica_metatype _a_context, modelica_metatype _a_functionPrototypes, modelica_metatype *out_out_a_functionPrototypes)
3075{
3076 modelica_metatype _out_txt = NULL((void*)0);
3077 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
3078 modelica_boolean _ret_10;
3079 modelica_string _ret_9 = NULL((void*)0);
3080 modelica_string _ret_8 = NULL((void*)0);
3081 modelica_metatype _l_funcArguments = NULL((void*)0);
3082 modelica_metatype _l_funcName = NULL((void*)0);
3083 modelica_metatype _l_equationCode = NULL((void*)0);
3084 modelica_metatype _l_auxFunction = NULL((void*)0);
3085 modelica_metatype _l_varDecls = NULL((void*)0);
3086 modelica_metatype _ret_2 = NULL((void*)0);
3087 modelica_metatype _l_equationInfos = NULL((void*)0);
3088 modelica_metatype _l_ix = NULL((void*)0);
3089 MMC_SO()mmc_check_stackoverflow(threadData);
3090 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3091 // _out_txt has no default value.
3092 // _out_a_functionPrototypes has no default value.
3093 // _ret_10 has no default value.
3094 // _ret_9 has no default value.
3095 // _ret_8 has no default value.
3096 // _l_funcArguments has no default value.
3097 // _l_funcName has no default value.
3098 // _l_equationCode has no default value.
3099 // _l_auxFunction has no default value.
3100 // _l_varDecls has no default value.
3101 // _ret_2 has no default value.
3102 // _l_equationInfos has no default value.
3103 // _l_ix has no default value.
3104#line 326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3105 _l_ix = omc_CodegenUtilSimulation_equationIndex(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
3106#line 3106 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3107
3108#line 327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3109 _ret_2 = omc_List_fill(threadData, _a_eq, ((modelica_integer) 1));
3110#line 3110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3111
3112#line 328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3113 _l_equationInfos = omc_CodegenUtilSimulation_dumpEqs(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_2);
3114#line 3114 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3115
3116#line 329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3117 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
3118#line 3118 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3119
3120#line 330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3121 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
3122#line 3122 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3123
3124#line 331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3125 _l_equationCode = omc_CodegenOMSIC__Equations_equationCStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq, _l_varDecls, _l_auxFunction, _a_context ,&_l_varDecls ,&_l_auxFunction);
3126#line 3126 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3127
3128#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3129 _l_funcName = omc_CodegenOMSIC__Equations_fun__49(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq, _a_modelFunctionnamePrefixStr);
3130#line 3130 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3131
3132#line 333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3133 _l_funcArguments = omc_CodegenOMSIC__Equations_fun__50(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
3134#line 3134 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3135
3136#line 334 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3137 _ret_8 = omc_Config_simCodeTarget(threadData);
3138#line 3138 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3139
3140#line 335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3141 _out_a_functionPrototypes = omc_CodegenOMSIC__Equations_fun__51(threadData, _a_functionPrototypes, _ret_8, _l_funcArguments, _l_ix, _l_funcName, _a_modelNamePrefixStr);
3142#line 3142 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3143
3144#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3145 _out_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)));
3146#line 3146 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3147
3148#line 337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3149 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_equationInfos);
3150#line 3150 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3151
3152#line 338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3153 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3154#line 3154 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3155
3156#line 339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3157 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)));
3158#line 3158 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3159
3160#line 340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3161 _ret_9 = omc_Config_simCodeTarget(threadData);
3162#line 3162 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3163
3164#line 341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3165 _out_txt = omc_CodegenOMSIC__Equations_fun__52(threadData, _out_txt, _ret_9, _l_funcArguments, _l_ix, _l_funcName, _a_modelNamePrefixStr);
3166#line 3166 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3167
3168#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3169 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3170#line 3170 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3171
3172#line 343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3173 _out_txt = omc_Tpl_pushBlock(threadData, _out_txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
3174#line 3174 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3175
3176#line 344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3177 _ret_10 = (stringEqual(omc_Tpl_textString(threadData, _l_varDecls), _OMC_LIT61)((((((*(mmc_uint_t*)((void*)((char*)(omc_Tpl_textString(threadData
, _l_varDecls)) - 3)))) >> (3)) - 8)) == (((((*(mmc_uint_t
*)((void*)((char*)(((void*)((char*)(&(_OMC_LIT_STRUCT61).
header) + 3))) - 3)))) >> (3)) - 8)) && !mmc_stringCompare
(omc_Tpl_textString(threadData, _l_varDecls),((void*)((char*)
(&(_OMC_LIT_STRUCT61).header) + 3))))
);
3178#line 3178 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3179
3180#line 345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3181 _out_txt = omc_CodegenOMSIC__Equations_fun__53(threadData, _out_txt, _ret_10, _l_varDecls);
3182#line 3182 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3183
3184#line 346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3185 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3186#line 3186 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3187
3188#line 347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3189 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_auxFunction);
3190#line 3190 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3191
3192#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3193 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3194#line 3194 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3195
3196#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3197 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_equationCode);
3198#line 3198 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3199
3200#line 350 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3201 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3202#line 3202 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3203
3204#line 351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3205 _out_txt = omc_Tpl_popBlock(threadData, _out_txt);
3206#line 3206 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3207
3208#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3209 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3210#line 3210 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3211
3212#line 353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3213 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3214#line 3214 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3215 _return: OMC_LABEL_UNUSED__attribute__((unused))
3216 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
3217 return _out_txt;
3218}
3219
3220PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__53(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_varDecls)
3221{
3222 modelica_metatype _out_txt = NULL((void*)0);
3223 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3224 MMC_SO()mmc_check_stackoverflow(threadData);
3225 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3226 // _out_txt has no default value.
3227#line 3227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3228 { /* match expression */
3229 modelica_metatype tmp3_1;modelica_boolean tmp3_2;modelica_metatype tmp3_3;
3230 tmp3_1 = _in_txt;
3231 tmp3_2 = _in_mArg;
3232 tmp3_3 = _in_a_varDecls;
3233 {
3234 modelica_metatype _txt = NULL((void*)0);
3235 modelica_metatype _a_varDecls = NULL((void*)0);
3236 volatile mmc_switch_type tmp3;
3237 int tmp4;
3238 // _txt has no default value.
3239 // _a_varDecls has no default value.
3240 tmp3 = 0;
3241 for (; tmp3 < 2; tmp3++) {
3242 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3243 case 0: {
3244 if (0 != tmp3_2) goto tmp2_end;
3245
3246 _txt = tmp3_1;
3247 _a_varDecls = tmp3_3;
3248 /* Pattern matching succeeded */
3249#line 290 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3250 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)));
3251#line 3251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3252
3253#line 291 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3254 _txt = omc_Tpl_writeText(threadData, _txt, _a_varDecls);
3255#line 3255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3256
3257#line 292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3258 _txt = omc_Tpl_softNewLine(threadData, _txt);
3259#line 3259 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3260#line 293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3261 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3262#line 3262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3263 goto tmp2_done;
3264 }
3265 case 1: {
3266
3267 _txt = tmp3_1;
3268 /* Pattern matching succeeded */
3269#line 299 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3270 tmpMeta[0] = _txt;
3271#line 3271 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3272 goto tmp2_done;
3273 }
3274 }
3275 goto tmp2_end;
3276 tmp2_end: ;
3277 }
3278 goto goto_1;
3279 goto_1:;
3280 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3281 goto tmp2_done;
3282 tmp2_done:;
3283 }
3284 }
3285 _out_txt = tmpMeta[0];
3286 _return: OMC_LABEL_UNUSED__attribute__((unused))
3287 return _out_txt;
3288}
3289PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__53(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_varDecls)
3290{
3291 modelica_integer tmp1;
3292 modelica_metatype _out_txt = NULL((void*)0);
3293 tmp1 = mmc_unbox_integer(_in_mArg)(((mmc_sint_t) (_in_mArg)) >> 1);
3294 _out_txt = omc_CodegenOMSIC__Equations_fun__53(threadData, _in_txt, tmp1, _in_a_varDecls);
3295 /* skip box _out_txt; Tpl.Text */
3296 return _out_txt;
3297}
3298
3299PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_metatype _in_a_funcArguments, modelica_metatype _in_a_ix, modelica_metatype _in_a_funcName, modelica_string _in_a_modelNamePrefixStr)
3300{
3301 modelica_metatype _out_txt = NULL((void*)0);
3302 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3303 MMC_SO()mmc_check_stackoverflow(threadData);
3304 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3305 // _out_txt has no default value.
3306#line 3306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3307 { /* match expression */
3308 modelica_metatype tmp3_1;modelica_string tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;modelica_metatype tmp3_5;modelica_string tmp3_6;
3309 tmp3_1 = _in_txt;
3310 tmp3_2 = _in_mArg;
3311 tmp3_3 = _in_a_funcArguments;
3312 tmp3_4 = _in_a_ix;
3313 tmp3_5 = _in_a_funcName;
3314 tmp3_6 = _in_a_modelNamePrefixStr;
3315 {
3316 modelica_metatype _txt = NULL((void*)0);
3317 modelica_metatype _a_funcArguments = NULL((void*)0);
3318 modelica_metatype _a_ix = NULL((void*)0);
3319 modelica_metatype _a_funcName = NULL((void*)0);
3320 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
3321 volatile mmc_switch_type tmp3;
3322 int tmp4;
3323 // _txt has no default value.
3324 // _a_funcArguments has no default value.
3325 // _a_ix has no default value.
3326 // _a_funcName has no default value.
3327 // _a_modelNamePrefixStr has no default value.
3328 tmp3 = 0;
3329 for (; tmp3 < 3; tmp3++) {
3330 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3331 case 0: {
3332 if (5 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3333
3334 _txt = tmp3_1;
3335 _a_funcArguments = tmp3_3;
3336 _a_ix = tmp3_4;
3337 _a_funcName = tmp3_5;
3338 _a_modelNamePrefixStr = tmp3_6;
3339 /* Pattern matching succeeded */
3340#line 236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3341 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3342#line 3342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3343
3344#line 237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3345 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, omc_Tpl_textString(threadData, _a_funcName));
3346#line 3346 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3347
3348#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3349 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3350#line 3350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3351
3352#line 239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3353 _txt = omc_Tpl_writeText(threadData, _txt, _a_ix);
3354#line 3354 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3355
3356#line 240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3357 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
3358#line 3358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3359
3360#line 241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3361 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcArguments);
3362#line 3362 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3363#line 242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3364 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)));
3365#line 3365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3366 goto tmp2_done;
3367 }
3368 case 1: {
3369 if (7 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3370
3371 _txt = tmp3_1;
3372 _a_funcArguments = tmp3_3;
3373 _a_ix = tmp3_4;
3374 _a_funcName = tmp3_5;
3375 _a_modelNamePrefixStr = tmp3_6;
3376 /* Pattern matching succeeded */
3377#line 252 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3378 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3379#line 3379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3380
3381#line 253 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3382 _txt = omc_Tpl_writeStr(threadData, _txt, _a_modelNamePrefixStr);
3383#line 3383 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3384
3385#line 254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3386 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)));
3387#line 3387 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3388
3389#line 255 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3390 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcName);
3391#line 3391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3392
3393#line 256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3394 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3396
3397#line 257 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3398 _txt = omc_Tpl_writeText(threadData, _txt, _a_ix);
3399#line 3399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3400
3401#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3402 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
3403#line 3403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3404
3405#line 259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3406 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcArguments);
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3408#line 260 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3409 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)));
3410#line 3410 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3411 goto tmp2_done;
3412 }
3413 case 2: {
3414
3415 _txt = tmp3_1;
3416 /* Pattern matching succeeded */
3417#line 269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3418 tmpMeta[0] = _txt;
3419#line 3419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3420 goto tmp2_done;
3421 }
3422 }
3423 goto tmp2_end;
3424 tmp2_end: ;
3425 }
3426 goto goto_1;
3427 goto_1:;
3428 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3429 goto tmp2_done;
3430 tmp2_done:;
3431 }
3432 }
3433 _out_txt = tmpMeta[0];
3434 _return: OMC_LABEL_UNUSED__attribute__((unused))
3435 return _out_txt;
3436}
3437
3438PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__51(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_metatype _in_a_funcArguments, modelica_metatype _in_a_ix, modelica_metatype _in_a_funcName, modelica_string _in_a_modelNamePrefixStr)
3439{
3440 modelica_metatype _out_txt = NULL((void*)0);
3441 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3442 MMC_SO()mmc_check_stackoverflow(threadData);
3443 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3444 // _out_txt has no default value.
3445#line 3445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3446 { /* match expression */
3447 modelica_metatype tmp3_1;modelica_string tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;modelica_metatype tmp3_5;modelica_string tmp3_6;
3448 tmp3_1 = _in_txt;
3449 tmp3_2 = _in_mArg;
3450 tmp3_3 = _in_a_funcArguments;
3451 tmp3_4 = _in_a_ix;
3452 tmp3_5 = _in_a_funcName;
3453 tmp3_6 = _in_a_modelNamePrefixStr;
3454 {
3455 modelica_metatype _txt = NULL((void*)0);
3456 modelica_metatype _a_funcArguments = NULL((void*)0);
3457 modelica_metatype _a_ix = NULL((void*)0);
3458 modelica_metatype _a_funcName = NULL((void*)0);
3459 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
3460 volatile mmc_switch_type tmp3;
3461 int tmp4;
3462 // _txt has no default value.
3463 // _a_funcArguments has no default value.
3464 // _a_ix has no default value.
3465 // _a_funcName has no default value.
3466 // _a_modelNamePrefixStr has no default value.
3467 tmp3 = 0;
3468 for (; tmp3 < 3; tmp3++) {
3469 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3470 case 0: {
3471 if (5 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3472
3473 _txt = tmp3_1;
3474 _a_funcArguments = tmp3_3;
3475 _a_ix = tmp3_4;
3476 _a_funcName = tmp3_5;
3477 _a_modelNamePrefixStr = tmp3_6;
3478 /* Pattern matching succeeded */
3479#line 173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3480 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3481#line 3481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3482
3483#line 174 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3484 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, omc_Tpl_textString(threadData, _a_funcName));
3485#line 3485 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3486
3487#line 175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3488 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3489#line 3489 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3490
3491#line 176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3492 _txt = omc_Tpl_writeText(threadData, _txt, _a_ix);
3493#line 3493 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3494
3495#line 177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3496 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
3497#line 3497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3498
3499#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3500 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcArguments);
3501#line 3501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3502
3503#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3504 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
3505#line 3505 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3506#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3507 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3508#line 3508 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3509 goto tmp2_done;
3510 }
3511 case 1: {
3512 if (7 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3513
3514 _txt = tmp3_1;
3515 _a_funcArguments = tmp3_3;
3516 _a_ix = tmp3_4;
3517 _a_funcName = tmp3_5;
3518 /* Pattern matching succeeded */
3519#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3520 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3521#line 3521 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3522
3523#line 191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3524 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcName);
3525#line 3525 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3526
3527#line 192 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3528 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3529#line 3529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3530
3531#line 193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3532 _txt = omc_Tpl_writeText(threadData, _txt, _a_ix);
3533#line 3533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3534
3535#line 194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3536 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
3537#line 3537 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3538
3539#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3540 _txt = omc_Tpl_writeText(threadData, _txt, _a_funcArguments);
3541#line 3541 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3542
3543#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3544 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
3545#line 3545 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3546#line 197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3547 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3548#line 3548 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3549 goto tmp2_done;
3550 }
3551 case 2: {
3552
3553 _txt = tmp3_1;
3554 /* Pattern matching succeeded */
3555#line 206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3556 tmpMeta[0] = _txt;
3557#line 3557 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3558 goto tmp2_done;
3559 }
3560 }
3561 goto tmp2_end;
3562 tmp2_end: ;
3563 }
3564 goto goto_1;
3565 goto_1:;
3566 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3567 goto tmp2_done;
3568 tmp2_done:;
3569 }
3570 }
3571 _out_txt = tmpMeta[0];
3572 _return: OMC_LABEL_UNUSED__attribute__((unused))
3573 return _out_txt;
3574}
3575
3576PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq)
3577{
3578 modelica_metatype _out_txt = NULL((void*)0);
3579 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3580 MMC_SO()mmc_check_stackoverflow(threadData);
3581 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3582 // _out_txt has no default value.
3583#line 3583 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3584 { /* match expression */
3585 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3586 tmp3_1 = _in_txt;
3587 tmp3_2 = _in_a_eq;
3588 {
3589 modelica_metatype _txt = NULL((void*)0);
3590 int tmp3;
3591 // _txt has no default value.
3592 {
3593 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
3594 case 3: {
3595 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3596
3597 _txt = tmp3_1;
3598 /* Pattern matching succeeded */
3599#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3600 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)));
3601#line 3601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3602 goto tmp2_done;
3603 }
3604 case 16: {
3605 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
3606
3607 _txt = tmp3_1;
3608 /* Pattern matching succeeded */
3609#line 136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3610 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)));
3611#line 3611 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3612 goto tmp2_done;
3613 }
3614 default:
3615 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3616
3617 _txt = tmp3_1;
3618 /* Pattern matching succeeded */
3619#line 142 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3620 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)));
3621#line 3621 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3622 goto tmp2_done;
3623 }
3624 }
3625 goto tmp2_end;
3626 tmp2_end: ;
3627 }
3628 goto goto_1;
3629 goto_1:;
3630 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3631 goto tmp2_done;
3632 tmp2_done:;
3633 }
3634 }
3635 _out_txt = tmpMeta[0];
3636 _return: OMC_LABEL_UNUSED__attribute__((unused))
3637 return _out_txt;
3638}
3639
3640PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__49(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_string _in_a_modelFunctionnamePrefixStr)
3641{
3642 modelica_metatype _out_txt = NULL((void*)0);
3643 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3644 MMC_SO()mmc_check_stackoverflow(threadData);
3645 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3646 // _out_txt has no default value.
3647#line 3647 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3648 { /* match expression */
3649 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_string tmp3_3;
3650 tmp3_1 = _in_txt;
3651 tmp3_2 = _in_a_eq;
3652 tmp3_3 = _in_a_modelFunctionnamePrefixStr;
3653 {
3654 modelica_metatype _txt = NULL((void*)0);
3655 modelica_string _a_modelFunctionnamePrefixStr = NULL((void*)0);
3656 modelica_string _ret_0 = NULL((void*)0);
3657 int tmp3;
3658 // _txt has no default value.
3659 // _a_modelFunctionnamePrefixStr has no default value.
3660 // _ret_0 has no default value.
3661 {
3662 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
3663 case 3: {
3664 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3665
3666 _txt = tmp3_1;
3667 /* Pattern matching succeeded */
3668#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3669 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)));
3670#line 3670 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3671 goto tmp2_done;
3672 }
3673 case 16: {
3674 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
3675
3676 _txt = tmp3_1;
3677 /* Pattern matching succeeded */
3678#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3679 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)));
3680#line 3680 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3681 goto tmp2_done;
3682 }
3683 default:
3684 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3685
3686 _txt = tmp3_1;
3687 _a_modelFunctionnamePrefixStr = tmp3_3;
3688 /* Pattern matching succeeded */
3689#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3690 _ret_0 = omc_Config_simCodeTarget(threadData);
3691#line 3691 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3692#line 111 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3693 tmpMeta[0] = omc_CodegenOMSIC__Equations_fun__48(threadData, _txt, _ret_0, _a_modelFunctionnamePrefixStr);
3694#line 3694 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3695 goto tmp2_done;
3696 }
3697 }
3698 goto tmp2_end;
3699 tmp2_end: ;
3700 }
3701 goto goto_1;
3702 goto_1:;
3703 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3704 goto tmp2_done;
3705 tmp2_done:;
3706 }
3707 }
3708 _out_txt = tmpMeta[0];
3709 _return: OMC_LABEL_UNUSED__attribute__((unused))
3710 return _out_txt;
3711}
3712
3713PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_string _in_mArg, modelica_string _in_a_modelFunctionnamePrefixStr)
3714{
3715 modelica_metatype _out_txt = NULL((void*)0);
3716 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3717 MMC_SO()mmc_check_stackoverflow(threadData);
3718 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3719 // _out_txt has no default value.
3720#line 3720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3721 { /* match expression */
3722 modelica_metatype tmp3_1;modelica_string tmp3_2;modelica_string tmp3_3;
3723 tmp3_1 = _in_txt;
3724 tmp3_2 = _in_mArg;
3725 tmp3_3 = _in_a_modelFunctionnamePrefixStr;
3726 {
3727 modelica_metatype _txt = NULL((void*)0);
3728 modelica_string _a_modelFunctionnamePrefixStr = NULL((void*)0);
3729 volatile mmc_switch_type tmp3;
3730 int tmp4;
3731 // _txt has no default value.
3732 // _a_modelFunctionnamePrefixStr has no default value.
3733 tmp3 = 0;
3734 for (; tmp3 < 3; tmp3++) {
3735 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3736 case 0: {
3737 if (5 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3738
3739 _txt = tmp3_1;
3740 /* Pattern matching succeeded */
3741#line 60 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3742 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)));
3743#line 3743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3744 goto tmp2_done;
3745 }
3746 case 1: {
3747 if (7 != MMC_STRLEN(tmp3_2)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_2)(((struct mmc_string*)((void*)((char*)(tmp3_2) - 3)))->data
)
) != 0) goto tmp2_end;
3748
3749 _txt = tmp3_1;
3750 _a_modelFunctionnamePrefixStr = tmp3_3;
3751 /* Pattern matching succeeded */
3752#line 67 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3753 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
3754#line 3754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3755#line 68 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3756 tmpMeta[0] = omc_Tpl_writeStr(threadData, _txt, _a_modelFunctionnamePrefixStr);
3757#line 3757 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3758 goto tmp2_done;
3759 }
3760 case 2: {
3761
3762 _txt = tmp3_1;
3763 /* Pattern matching succeeded */
3764#line 74 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3765 tmpMeta[0] = _txt;
3766#line 3766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3767 goto tmp2_done;
3768 }
3769 }
3770 goto tmp2_end;
3771 tmp2_end: ;
3772 }
3773 goto goto_1;
3774 goto_1:;
3775 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3776 goto tmp2_done;
3777 tmp2_done:;
3778 }
3779 }
3780 _out_txt = tmpMeta[0];
3781 _return: OMC_LABEL_UNUSED__attribute__((unused))
3782 return _out_txt;
3783}
3784
3785DLLExport
3786modelica_metatype omc_CodegenOMSIC__Equations_equationFunctionPrototypes(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_string _a_modelNamePrefixStr)
3787{
3788 modelica_metatype _out_txt = NULL((void*)0);
3789 modelica_metatype _l_ix = NULL((void*)0);
3790 MMC_SO()mmc_check_stackoverflow(threadData);
3791 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3792 // _out_txt has no default value.
3793 // _l_ix has no default value.
3794#line 34 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3795 _l_ix = omc_CodegenUtilSimulation_equationIndex(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
3796#line 3796 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3797
3798#line 35 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3799 _out_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3800#line 3800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3801
3802#line 36 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3803 _out_txt = omc_CodegenUtil_symbolName(threadData, _out_txt, _a_modelNamePrefixStr, _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)));
3804#line 3804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3805
3806#line 37 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3807 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3808#line 3808 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3809
3810#line 38 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3811 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_ix);
3812#line 3812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3813
3814#line 39 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3815 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)));
3816#line 3816 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3817
3818#line 40 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3819 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3820#line 3820 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3821 _return: OMC_LABEL_UNUSED__attribute__((unused))
3822 return _out_txt;
3823}
3824