Bug Summary

File:OMCompiler/Compiler/boot/build/SynchronousFeatures.c
Warning:line 9523, column 3
Value stored to '_subClk' 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/SynchronousFeatures.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/SynchronousFeatures.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "SynchronousFeatures.h"
8#define _OMC_LIT0_data"" ""
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,0,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data": [" ": ["
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,3,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ": ["
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data"]: " "]: "
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,4,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "]: "
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"\n" "\n"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,1,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT4
= { (((1) << 10) + (((6) & 255) << 2)),
{&ErrorTypes_MessageType_SYMBOLIC__desc,}};
21#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
22static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT5
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
23#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
24#define _OMC_LIT6_data"An independent subset of the model has imbalanced number of equations (%s) and variables (%s).\nvariables:\n%s\nequations:\n%s" "An independent subset of the model has imbalanced number of equations (%s) and variables (%s).\nvariables:\n%s\nequations:\n%s"
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,122,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(122)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)122)<<(3))+((1<<(3+3))+5)), "An independent subset of the model has imbalanced number of equations (%s) and variables (%s).\nvariables:\n%s\nequations:\n%s"
}
;
26#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT7
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))}};
28#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT8
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(199))((void*)(((((mmc_uint_t) (199)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))}};
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31static const MMC_DEFREALLIT(_OMC_LIT_STRUCT9,0.0)struct mmc_real_lit _OMC_LIT_STRUCT9 = {0,(((8/8) << 10
) + 9),0.0}
;
32#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT10
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).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))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),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_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))}};
34#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
35static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT11
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_BaseClockPartitionKind_UNKNOWN__PARTITION__desc,}};
36#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
37#define _OMC_LIT12_data"SynchronousFeatures.setVarPartition failed" "SynchronousFeatures.setVarPartition failed"
38static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,42,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "SynchronousFeatures.setVarPartition failed"
}
;
39#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
40#define _OMC_LIT13_data"Too many equations, over-determined system. The model has %s equation(s) and %s variable(s)." "Too many equations, over-determined system. The model has %s equation(s) and %s variable(s)."
41static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,92,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(92)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)92)<<(3))+((1<<(3+3))+5)), "Too many equations, over-determined system. The model has %s equation(s) and %s variable(s)."
}
;
42#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))}};
44#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
45static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT15
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(33))((void*)(((((mmc_uint_t) (33)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
46#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
47#define _OMC_LIT16_data"Too few equations, under-determined system. The model has %s equation(s) and %s variable(s)." "Too few equations, under-determined system. The model has %s equation(s) and %s variable(s)."
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,92,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(92)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)92)<<(3))+((1<<(3+3))+5)), "Too few equations, under-determined system. The model has %s equation(s) and %s variable(s)."
}
;
49#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
50static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT17
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
51#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
52static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT18
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(32))((void*)(((((mmc_uint_t) (32)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))}};
53#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
54#define _OMC_LIT19_data"check eq " "check eq "
55static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,9,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "check eq "
}
;
56#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
57static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT20
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
58#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
59#define _OMC_LIT21_data"Variable %s belongs to clocked and continuous partitions." "Variable %s belongs to clocked and continuous partitions."
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,57,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(57)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)57)<<(3))+((1<<(3+3))+5)), "Variable %s belongs to clocked and continuous partitions."
}
;
61#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
62static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT22
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))}};
63#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
64static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT23
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(561))((void*)(((((mmc_uint_t) (561)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))}};
65#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
66#define _OMC_LIT24_data"Equation belongs to clocked and continuous partitions." "Equation belongs to clocked and continuous partitions."
67static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,54,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "Equation belongs to clocked and continuous partitions."
}
;
68#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
69static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT25
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))}};
70#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
71static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT26
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(567))((void*)(((((mmc_uint_t) (567)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))}};
72#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
73#define _OMC_LIT27_data"SynchronousFeatures.detectEqPartitionCall1 failed\n" "SynchronousFeatures.detectEqPartitionCall1 failed\n"
74static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,50,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "SynchronousFeatures.detectEqPartitionCall1 failed\n"
}
;
75#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
76#define _OMC_LIT28_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,104,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(104)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)104)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
}
;
78#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
79static const MMC_DEFREALLIT(_OMC_LIT_STRUCT29_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT29_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
80#define _OMC_LIT29_6((void*)((char*)(&(_OMC_LIT_STRUCT29_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT29_6)((void*)((char*)(&(_OMC_LIT_STRUCT29_6).header) + 3))
81static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT29
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_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(2914))((void*)(((((mmc_uint_t) (2914)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2914))((void*)(((((mmc_uint_t) (2914)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(100))((void*)(((((mmc_uint_t) (100)) << 1)+0))),_OMC_LIT29_6((void*)((char*)(&(_OMC_LIT_STRUCT29_6).header) + 3))}};
82#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
83#define _OMC_LIT30_data"hold" "hold"
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,4,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "hold"
}
;
85#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
86#define _OMC_LIT31_data"sample" "sample"
87static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,6,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "sample"
}
;
88#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
89#define _OMC_LIT32_data"subSample" "subSample"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,9,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "subSample"
}
;
91#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
92#define _OMC_LIT33_data"superSample" "superSample"
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,11,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "superSample"
}
;
94#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
95#define _OMC_LIT34_data"shiftSample" "shiftSample"
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,11,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "shiftSample"
}
;
97#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
98#define _OMC_LIT35_data"backSample" "backSample"
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,10,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "backSample"
}
;
100#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
101#define _OMC_LIT36_data"noClock" "noClock"
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,7,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "noClock"
}
;
103#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
104#define _OMC_LIT37_data"CONT_PARTITION" "CONT_PARTITION"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,14,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "CONT_PARTITION"
}
;
106#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
107#define _OMC_LIT38_data"CLOCKED_PARTITION" "CLOCKED_PARTITION"
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,17,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "CLOCKED_PARTITION"
}
;
109#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
110#define _OMC_LIT39_data"UNSPECIFIED_PARTITION" "UNSPECIFIED_PARTITION"
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,21,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "UNSPECIFIED_PARTITION"
}
;
112#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
113static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT40
= { (((1) << 10) + (((1) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
114#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
115#define _OMC_LIT41_data"Invalid form of clock equation" "Invalid form of clock equation"
116static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,30,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "Invalid form of clock equation"
}
;
117#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
118static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT42
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
119#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
120static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT43
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(569))((void*)(((((mmc_uint_t) (569)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))}};
121#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
122#define _OMC_LIT44_data"SynchronousFeatures.isClockEquation failed.\n" "SynchronousFeatures.isClockEquation failed.\n"
123static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,44,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "SynchronousFeatures.isClockEquation failed.\n"
}
;
124#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
125static const MMC_DEFREALLIT(_OMC_LIT_STRUCT45_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT45_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
126#define _OMC_LIT45_6((void*)((char*)(&(_OMC_LIT_STRUCT45_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT45_6)((void*)((char*)(&(_OMC_LIT_STRUCT45_6).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT45
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_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(2782))((void*)(((((mmc_uint_t) (2782)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2782))((void*)(((((mmc_uint_t) (2782)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(94))((void*)(((((mmc_uint_t) (94)) << 1)+0))),_OMC_LIT45_6((void*)((char*)(&(_OMC_LIT_STRUCT45_6).header) + 3))}};
128#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((6) & 255) << 2)),
{&BackendDAE_IndexType_BASECLOCK__IDX__desc,}};
130#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT47
= { (((1) << 10) + (((5) & 255) << 2)),
{&BackendDAE_BaseClockPartitionKind_CONTINUOUS__TIME__PARTITION__desc,}};
132#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
133static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((6) & 255) << 2)),
{&BackendDAE_BaseClockPartitionKind_UNSPECIFIED__PARTITION__desc,}};
134#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
135#define _OMC_LIT49_data"$var" "$var"
136static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,4,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$var"
}
;
137#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
138static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT50
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
139#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
140static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT51
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
141#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
142static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT52
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_EquationKind_DYNAMIC__EQUATION__desc,}};
143#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
144static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT53
= { (((5) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EvaluationStages_EVALUATION__STAGES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
145#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
146static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT54
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EquationAttributes_EQUATION__ATTRIBUTES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))}};
147#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
148static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT55
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_VarKind_VARIABLE__desc,}};
149#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
150static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT56
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
151#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
152static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT57
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarParallelism_NON__PARALLEL__desc,}};
153#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
154static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT58
= { (((1) << 10) + (((5) & 255) << 2)),
{&BackendDAE_TearingSelect_DEFAULT__desc,}};
155#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
156static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT59
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))}};
157#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
158static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT60
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
159#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT61
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ConnectorType_NON__CONNECTOR__desc,}};
161#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
162static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT62
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_VarInnerOuter_NOT__INNER__OUTER__desc,}};
163#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
164#define _OMC_LIT63_data"previous" "previous"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,8,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "previous"
}
;
166#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
167#define _OMC_LIT64_data"$whenclk" "$whenclk"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,8,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "$whenclk"
}
;
169#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
170static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,2,7)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT65
= { (((2) << 10) + (((7) & 255) << 2)),
{&DAE_Type_T__CLOCK__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
171#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
172static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT66
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_ClockKind_INFERRED__CLOCK__desc,}};
173#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
174static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,7)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT67
= { (((2) << 10) + (((7) & 255) << 2)),
{&DAE_Exp_CLKCONST__desc,_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))}};
175#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
176#define _OMC_LIT68_data"$subclk" "$subclk"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,7,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "$subclk"
}
;
178#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
179#define _OMC_LIT69_data"_" "_"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,1,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
181#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
182static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT70
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
183#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
184static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT71
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_TailCall_NO__TAIL__desc,}};
185#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
186#define _OMC_LIT72_data"$getPart" "$getPart"
187static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,8,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "$getPart"
}
;
188#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
189static 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)),
{&Absyn_Path_IDENT__desc,_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
190#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
191#define _OMC_LIT74_data"der" "der"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,3,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
193#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
194#define _OMC_LIT75_data"delay" "delay"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,5,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "delay"
}
;
196#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
197#define _OMC_LIT76_data"spatialDistribution" "spatialDistribution"
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,19,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "spatialDistribution"
}
;
199#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
200#define _OMC_LIT77_data"initial" "initial"
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,7,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "initial"
}
;
202#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
203#define _OMC_LIT78_data"terminal" "terminal"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,8,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "terminal"
}
;
205#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
206#define _OMC_LIT79_data"smooth" "smooth"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,6,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "smooth"
}
;
208#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
209#define _OMC_LIT80_data"pre" "pre"
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,3,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "pre"
}
;
211#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
212#define _OMC_LIT81_data"edge" "edge"
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,4,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "edge"
}
;
214#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
215#define _OMC_LIT82_data"change" "change"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,6,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "change"
}
;
217#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
218#define _OMC_LIT83_data"reinit" "reinit"
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,6,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "reinit"
}
;
220#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
221#define _OMC_LIT84_data"firstTick" "firstTick"
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,9,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "firstTick"
}
;
223#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
224#define _OMC_LIT85_data"interval" "interval"
225static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,8,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "interval"
}
;
226#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
227#define _OMC_LIT86_data"Partition has different sub-clock %ss (%s) and (%s)." "Partition has different sub-clock %ss (%s) and (%s)."
228static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,52,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(52)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)52)<<(3))+((1<<(3+3))+5)), "Partition has different sub-clock %ss (%s) and (%s)."
}
;
229#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
230static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT87
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))}};
231#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
232static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT88
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(570))((void*)(((((mmc_uint_t) (570)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
233#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
234#define _OMC_LIT89_data"shift" "shift"
235static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,5,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "shift"
}
;
236#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
237#define _OMC_LIT90_data"factor" "factor"
238static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,6,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "factor"
}
;
239#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
240static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT91
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
241#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
242static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT92
= { (((1) << 10) + (((7) & 255) << 2)),
{&BackendDAE_IndexType_SUBCLOCK__IDX__desc,}};
243#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
244static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT93
= { (((3) << 10) + (((3) & 255) << 2)),
{&MMath_Rational_RATIONAL__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
245#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
246static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT94
= { (((3) << 10) + (((3) & 255) << 2)),
{&MMath_Rational_RATIONAL__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
247#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
248static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT95
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_SubClock_SUBCLOCK__desc,_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)),_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
249#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
250static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT96,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT96
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_SubClock_INFERED__SUBCLOCK__desc,}};
251#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
252#define _OMC_LIT97_data"Infered sub clock partitions have different solvers:" "Infered sub clock partitions have different solvers:"
253static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,52,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(52)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)52)<<(3))+((1<<(3+3))+5)), "Infered sub clock partitions have different solvers:"
}
;
254#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
255#define _OMC_LIT98_data" <->" " <->"
256static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,4,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " <->"
}
;
257#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
258#define _OMC_LIT99_data".\n" ".\n"
259static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,2,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ".\n"
}
;
260#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
261#define _OMC_LIT100_data"Internal error %s" "Internal error %s"
262static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,17,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
263#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
264static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT101
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))}};
265#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT102
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))}};
267#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
268#define _OMC_LIT103_data"SynchrnonousFeatures.computeAbsoluteSubClock failed\n" "SynchrnonousFeatures.computeAbsoluteSubClock failed\n"
269static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,52,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(52)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)52)<<(3))+((1<<(3+3))+5)), "SynchrnonousFeatures.computeAbsoluteSubClock failed\n"
}
;
270#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
271static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT104
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
272#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
273#define _OMC_LIT105_data"SynchrnonousFeatures.getSubClockForClkConstructor failed.\n" "SynchrnonousFeatures.getSubClockForClkConstructor failed.\n"
274static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,58,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "SynchrnonousFeatures.getSubClockForClkConstructor failed.\n"
}
;
275#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
276static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT106,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT106
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
277#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
278static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT107
= { (((3) << 10) + (((3) & 255) << 2)),
{&BackendDAE_BasePartition_BASE__PARTITION__desc,_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
279#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
280static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT108
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_SubPartition_SUB__PARTITION__desc,_OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
281#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
282static 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)),
{&Absyn_Path_IDENT__desc,_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))}};
283#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
284static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT110,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT110
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
285#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
286static 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)),
{&DAE_Operator_SUB__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
287#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
288static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT112,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT112
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Operator_DIV__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
289#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
290static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT113,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT113
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))}};
291#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
292static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT114,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT114
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_CallAttributes_CALL__ATTR__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)),_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))}};
293#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
294static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT115,4,16)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT115
= { (((4) << 10) + (((16) & 255) << 2)),
{&DAE_Exp_CALL__desc,_OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))}};
295#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
296static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT116
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))}};
297#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
298static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT117,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT117
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
299#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
300#define _OMC_LIT118_data"Applying clock solverMethod %s instead of specified %s. Supported are: ImplicitEuler, SemiImplicitEuler, ExplicitEuler and ImplicitTrapezoid." "Applying clock solverMethod %s instead of specified %s. Supported are: ImplicitEuler, SemiImplicitEuler, ExplicitEuler and ImplicitTrapezoid."
301static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,141,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(141)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)141)<<(3))+((1<<(3+3))+5)), "Applying clock solverMethod %s instead of specified %s. Supported are: ImplicitEuler, SemiImplicitEuler, ExplicitEuler and ImplicitTrapezoid."
}
;
302#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
303static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT119,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT119
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))}};
304#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
305static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT120,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT120
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(568))((void*)(((((mmc_uint_t) (568)) << 1)+0))),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)),_OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))}};
306#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
307#define _OMC_LIT121_data"ImplicitEuler" "ImplicitEuler"
308static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,13,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "ImplicitEuler"
}
;
309#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
310#define _OMC_LIT122_data"SemiImplicitEuler" "SemiImplicitEuler"
311static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,17,_OMC_LIT122_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT122
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "SemiImplicitEuler"
}
;
312#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
313#define _OMC_LIT123_data"ImplicitTrapezoid" "ImplicitTrapezoid"
314static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,17,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "ImplicitTrapezoid"
}
;
315#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
316#define _OMC_LIT124_data"ExplicitEuler" "ExplicitEuler"
317static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,13,_OMC_LIT124_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT124
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "ExplicitEuler"
}
;
318#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
319#define _OMC_LIT125_data"Explicit" "Explicit"
320static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT125,8,_OMC_LIT125_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT125
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Explicit"
}
;
321#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
322#define _OMC_LIT126_data"i" "i"
323static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT126,1,_OMC_LIT126_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT126
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "i"
}
;
324#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
325static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT127,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT127
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
326#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
327static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT128,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT128
= { (((4) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentRef_CREF__IDENT__desc,_OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)),_OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
328#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
329static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT129,3,9)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT129
= { (((3) << 10) + (((9) & 255) << 2)),
{&DAE_Exp_CREF__desc,_OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)),_OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))}};
330#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
331static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT130,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT130
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Subscript_INDEX__desc,_OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))}};
332#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
333static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT131,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT131
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
334#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
335static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT132,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT132
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Operator_ADD__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
336#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
337static const MMC_DEFREALLIT(_OMC_LIT_STRUCT133,0.5)struct mmc_real_lit _OMC_LIT_STRUCT133 = {0,(((8/8) << 10
) + 9),0.5}
;
338#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
339static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT134,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT134
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))}};
340#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
341static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT135,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT135
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Operator_MUL__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
342#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
343static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT136,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT136
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))}};
344#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
345static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT137,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT137
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Type_T__BOOL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
346#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
347static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT138,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT138
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_CallAttributes_CALL__ATTR__desc,_OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)),_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))}};
348#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
349static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT139,4,16)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT139
= { (((4) << 10) + (((16) & 255) << 2)),
{&DAE_Exp_CALL__desc,_OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))}};
350#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
351static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT140,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT140
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))}};
352#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
353static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT141,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT141
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
354#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
355#define _OMC_LIT142_data"$_clkfire" "$_clkfire"
356static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,9,_OMC_LIT142_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT142
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "$_clkfire"
}
;
357#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
358static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT143,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT143
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))}};
359#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
360static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT144,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT144
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
361#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
362static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT145,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT145
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_CallAttributes_CALL__ATTR__desc,_OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),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_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)),_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))}};
363#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
364#define _OMC_LIT146_data"synchronous features pre-phase: synchronousFeatures\n\n" "synchronous features pre-phase: synchronousFeatures\n\n"
365static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,53,_OMC_LIT146_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT146
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "synchronous features pre-phase: synchronousFeatures\n\n"
}
;
366#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
367#define _OMC_LIT147_data"clock partitioning" "clock partitioning"
368static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT147,18,_OMC_LIT147_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT147
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "clock partitioning"
}
;
369#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
370#define _OMC_LIT148_data"Base clocks" "Base clocks"
371static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT148,11,_OMC_LIT148_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT148
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "Base clocks"
}
;
372#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
373#define _OMC_LIT149_data"Sub clocks" "Sub clocks"
374static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,10,_OMC_LIT149_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT149
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "Sub clocks"
}
;
375#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
376#define _OMC_LIT150_data"dumpSynchronous" "dumpSynchronous"
377static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT150,15,_OMC_LIT150_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT150
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "dumpSynchronous"
}
;
378#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
379#define _OMC_LIT151_data"Dumps information of the clock partitioning." "Dumps information of the clock partitioning."
380static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT151,44,_OMC_LIT151_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT151
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "Dumps information of the clock partitioning."
}
;
381#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
382static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT152,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT152
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))}};
383#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
384static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT153,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT153
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(109))((void*)(((((mmc_uint_t) (109)) << 1)+0))),_OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))}};
385#define _OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT153)((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3))
386#define _OMC_LIT154_data"Get clocked system in SynchronousFeatures.addContVarsEqs" "Get clocked system in SynchronousFeatures.addContVarsEqs"
387static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT154,56,_OMC_LIT154_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT154
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), "Get clocked system in SynchronousFeatures.addContVarsEqs"
}
;
388#define _OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT154)((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3))
389#define _OMC_LIT155_data"synchronous features post-phase: synchronousFeatures\n\n" "synchronous features post-phase: synchronousFeatures\n\n"
390static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT155,54,_OMC_LIT155_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT155
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "synchronous features post-phase: synchronousFeatures\n\n"
}
;
391#define _OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT155)((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))
392#include "util/modelica.h"
393
394#include "SynchronousFeatures_includes.h"
395
396
397/* default, do not make protected functions static */
398#if !defined(PROTECTED_FUNCTION_STATIC)
399#define PROTECTED_FUNCTION_STATIC
400#endif
401PROTECTED_FUNCTION_STATIC modelica_string omc_SynchronousFeatures_subClockTreeString(threadData_t *threadData, modelica_metatype _treeIn);
402static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockTreeString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_subClockTreeString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_subClockTreeStringomc_SynchronousFeatures_subClockTreeString,0}};
403#define boxvar_SynchronousFeatures_subClockTreeString((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockTreeString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockTreeString)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockTreeString
).header) + 3))
404PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_subClkEqual(threadData_t *threadData, modelica_metatype _sc1, modelica_metatype _sc2);
405PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_subClkEqual(threadData_t *threadData, modelica_metatype _sc1, modelica_metatype _sc2);
406static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClkEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_subClkEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_subClkEqual,0}};
407#define boxvar_SynchronousFeatures_subClkEqual((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClkEqual
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClkEqual)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClkEqual
).header) + 3))
408PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_partitionEquations(threadData_t *threadData, modelica_metatype _arr, modelica_metatype _ixs, modelica_metatype _ea);
409static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionEquationsomc_SynchronousFeatures_partitionEquations,0}};
410#define boxvar_SynchronousFeatures_partitionEquations((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionEquations)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionEquations
).header) + 3))
411PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createEqSystem(threadData_t *threadData, modelica_metatype _el, modelica_metatype _vl, modelica_metatype _rel, modelica_metatype _iTpl, modelica_metatype *out_oTpl);
412static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createEqSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createEqSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createEqSystemomc_SynchronousFeatures_createEqSystem,0}};
413#define boxvar_SynchronousFeatures_createEqSystem((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createEqSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createEqSystem)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createEqSystem
).header) + 3))
414PROTECTED_FUNCTION_STATIC void omc_SynchronousFeatures_setVarPartition(threadData_t *threadData, modelica_metatype _varsPartition, modelica_integer _i, modelica_metatype _eqsIxs, modelica_metatype _eqsPartitions);
415PROTECTED_FUNCTION_STATIC void boxptr_SynchronousFeatures_setVarPartition(threadData_t *threadData, modelica_metatype _varsPartition, modelica_metatype _i, modelica_metatype _eqsIxs, modelica_metatype _eqsPartitions);
416static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setVarPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setVarPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setVarPartition,0}};
417#define boxvar_SynchronousFeatures_setVarPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setVarPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setVarPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setVarPartition
).header) + 3))
418PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData_t *threadData, modelica_integer _ix, modelica_integer _n, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars);
419PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksReq(threadData_t *threadData, modelica_metatype _ix, modelica_metatype _n, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars);
420static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksReq,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionIndependentBlocksReq
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionIndependentBlocksReq,0}};
421#define boxvar_SynchronousFeatures_partitionIndependentBlocksReq((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksReq
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksReq)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksReq
).header) + 3))
422PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData_t *threadData, modelica_integer _eqIdx, modelica_integer _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars);
423PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksEq(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars);
424static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksEq,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionIndependentBlocksEq
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionIndependentBlocksEq,0}};
425#define boxvar_SynchronousFeatures_partitionIndependentBlocksEq((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksEq
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksEq)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksEq
).header) + 3))
426PROTECTED_FUNCTION_STATIC modelica_integer omc_SynchronousFeatures_partitionIndependentBlocksMasked(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _mask, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _vars, modelica_metatype _rvars);
427PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksMasked(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _mask, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _vars, modelica_metatype _rvars);
428static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksMasked,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionIndependentBlocksMasked
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionIndependentBlocksMasked,0}};
429#define boxvar_SynchronousFeatures_partitionIndependentBlocksMasked((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksMasked
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksMasked)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocksMasked
).header) + 3))
430PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocks2(threadData_t *threadData, modelica_integer _eqIdx, modelica_integer _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap);
431PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocks2(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap);
432static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionIndependentBlocks2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionIndependentBlocks2,0}};
433#define boxvar_SynchronousFeatures_partitionIndependentBlocks2((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks2)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks2
).header) + 3))
434PROTECTED_FUNCTION_STATIC modelica_integer omc_SynchronousFeatures_partitionIndependentBlocks(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap);
435PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocks(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap);
436static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_partitionIndependentBlocks
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_partitionIndependentBlocks,0}};
437#define boxvar_SynchronousFeatures_partitionIndependentBlocks((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_partitionIndependentBlocks
).header) + 3))
438PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setClockedPartition(threadData_t *threadData, modelica_metatype _inNewPartitionType, modelica_metatype _inOldPartitionType, modelica_metatype _inComp, modelica_metatype _info);
439static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setClockedPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setClockedPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setClockedPartitionomc_SynchronousFeatures_setClockedPartition,0}};
440#define boxvar_SynchronousFeatures_setClockedPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setClockedPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setClockedPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setClockedPartition
).header) + 3))
441PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getPartitionConflictError(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype *out_tokens);
442static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getPartitionConflictError,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getPartitionConflictError
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getPartitionConflictErroromc_SynchronousFeatures_getPartitionConflictError,0}};
443#define boxvar_SynchronousFeatures_getPartitionConflictError((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getPartitionConflictError
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getPartitionConflictError)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getPartitionConflictError
).header) + 3))
444PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSystPartition(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inPartitionKind);
445static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSystPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setSystPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setSystPartitionomc_SynchronousFeatures_setSystPartition,0}};
446#define boxvar_SynchronousFeatures_setSystPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSystPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSystPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSystPartition
).header) + 3))
447PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionCall1(threadData_t *threadData, modelica_boolean _expClocked, modelica_boolean _refClocked, modelica_metatype _inPartition, modelica_metatype _inExp, modelica_metatype _inRefs, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_boolean *out_cont);
448PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionCall1(threadData_t *threadData, modelica_metatype _expClocked, modelica_metatype _refClocked, modelica_metatype _inPartition, modelica_metatype _inExp, modelica_metatype _inRefs, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_metatype *out_cont);
449static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionCall1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_detectEqPartitionCall1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_detectEqPartitionCall1,0}};
450#define boxvar_SynchronousFeatures_detectEqPartitionCall1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionCall1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionCall1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionCall1
).header) + 3))
451PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inRefs, modelica_metatype _inPartition, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_boolean *out_cont);
452PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inRefs, modelica_metatype _inPartition, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_metatype *out_cont);
453static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_detectEqPartitionCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_detectEqPartitionCall,0}};
454#define boxvar_SynchronousFeatures_detectEqPartitionCall((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionCall)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionCall
).header) + 3))
455PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl);
456PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl);
457static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionExp1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_detectEqPartitionExp1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_detectEqPartitionExp1,0}};
458#define boxvar_SynchronousFeatures_detectEqPartitionExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionExp1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp1
).header) + 3))
459PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
460static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_detectEqPartitionExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_detectEqPartitionExpomc_SynchronousFeatures_detectEqPartitionExp,0}};
461#define boxvar_SynchronousFeatures_detectEqPartitionExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartitionExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp
).header) + 3))
462PROTECTED_FUNCTION_STATIC modelica_string omc_SynchronousFeatures_printPartitionType(threadData_t *threadData, modelica_metatype _isClockedPartition);
463static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_printPartitionType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_printPartitionType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_printPartitionTypeomc_SynchronousFeatures_printPartitionType,0}};
464#define boxvar_SynchronousFeatures_printPartitionType((void*)((char*)(&(boxvar_lit_SynchronousFeatures_printPartitionType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_printPartitionType)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_printPartitionType
).header) + 3))
465PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartition(threadData_t *threadData, modelica_metatype _inEq, modelica_metatype *out_refsInfo);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_detectEqPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_detectEqPartitionomc_SynchronousFeatures_detectEqPartition,0}};
467#define boxvar_SynchronousFeatures_detectEqPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_detectEqPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartition
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isClockEquation(threadData_t *threadData, modelica_metatype _inEq);
469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isClockEquation(threadData_t *threadData, modelica_metatype _inEq);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isClockEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isClockEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isClockEquation,0}};
471#define boxvar_SynchronousFeatures_isClockEquation((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isClockEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isClockEquation)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isClockEquation
).header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isClockExp(threadData_t *threadData, modelica_metatype _inExp);
473PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isClockExp(threadData_t *threadData, modelica_metatype _inExp);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isClockExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isClockExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isClockExp,0}};
475#define boxvar_SynchronousFeatures_isClockExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isClockExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isClockExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isClockExp
).header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_baseClockPartitioning(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared, modelica_metatype *out_outClockedSysts, modelica_metatype *out_outUnpartRemEqs);
477static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_baseClockPartitioning,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_baseClockPartitioning
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_baseClockPartitioningomc_SynchronousFeatures_baseClockPartitioning,0}};
478#define boxvar_SynchronousFeatures_baseClockPartitioning((void*)((char*)(&(boxvar_lit_SynchronousFeatures_baseClockPartitioning
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_baseClockPartitioning)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_baseClockPartitioning
).header) + 3))
479PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getVarIxs(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inVariables);
480static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getVarIxs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getVarIxs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getVarIxsomc_SynchronousFeatures_getVarIxs,0}};
481#define boxvar_SynchronousFeatures_getVarIxs((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getVarIxs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getVarIxs)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getVarIxs
).header) + 3))
482PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substExp(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_integer _inCnt);
483PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substExp(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _inCnt);
484static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substExp,0}};
485#define boxvar_SynchronousFeatures_substExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substExp
).header) + 3))
486PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createEqVarPair(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inType, modelica_metatype _inExp, modelica_metatype *out_outEq);
487static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createEqVarPair,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createEqVarPair
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createEqVarPairomc_SynchronousFeatures_createEqVarPair,0}};
488#define boxvar_SynchronousFeatures_createEqVarPair((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createEqVarPair
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createEqVarPair)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createEqVarPair
).header) + 3))
489PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createVar(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inType);
490static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createVaromc_SynchronousFeatures_createVar,0}};
491#define boxvar_SynchronousFeatures_createVar((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createVar)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createVar
).header) + 3))
492PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substituteExpsCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inAttr, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outTpl);
493PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substituteExpsCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inAttr, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outTpl);
494static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteExpsCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substituteExpsCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substituteExpsCall,0}};
495#define boxvar_SynchronousFeatures_substituteExpsCall((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteExpsCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteExpsCall)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteExpsCall
).header) + 3))
496PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substClockExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outCnt);
497PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substClockExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outCnt);
498static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substClockExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substClockExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substClockExp,0}};
499#define boxvar_SynchronousFeatures_substClockExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substClockExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substClockExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substClockExp
).header) + 3))
500PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_isKnownOrConstantExp__traverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_outContinue, modelica_metatype *out_outTpl);
501PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isKnownOrConstantExp__traverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outContinue, modelica_metatype *out_outTpl);
502static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isKnownOrConstantExp__traverser,0}};
503#define boxvar_SynchronousFeatures_isKnownOrConstantExp__traverser((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser
).header) + 3))
504PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isKnownOrConstantExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inKnownVars);
505PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isKnownOrConstantExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inKnownVars);
506static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isKnownOrConstantExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isKnownOrConstantExp,0}};
507#define boxvar_SynchronousFeatures_isKnownOrConstantExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp
).header) + 3))
508PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substClock(threadData_t *threadData, modelica_metatype _inClk, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outCnt);
509PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substClock(threadData_t *threadData, modelica_metatype _inClk, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outCnt);
510static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substClock,0}};
511#define boxvar_SynchronousFeatures_substClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substClock
).header) + 3))
512PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
513static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substitutePartitionOpExp1omc_SynchronousFeatures_substitutePartitionOpExp1,0}};
514#define boxvar_SynchronousFeatures_substitutePartitionOpExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1
).header) + 3))
515PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
516static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substitutePartitionOpExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substitutePartitionOpExpomc_SynchronousFeatures_substitutePartitionOpExp,0}};
517#define boxvar_SynchronousFeatures_substitutePartitionOpExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp
).header) + 3))
518PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExps(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared);
519static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substitutePartitionOpExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substitutePartitionOpExpsomc_SynchronousFeatures_substitutePartitionOpExps,0}};
520#define boxvar_SynchronousFeatures_substitutePartitionOpExps((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substitutePartitionOpExps)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExps
).header) + 3))
521PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_splitClockVars(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype *out_outClockVarsMask);
522static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_splitClockVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_splitClockVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_splitClockVarsomc_SynchronousFeatures_splitClockVars,0}};
523#define boxvar_SynchronousFeatures_splitClockVars((void*)((char*)(&(boxvar_lit_SynchronousFeatures_splitClockVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_splitClockVars)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_splitClockVars
).header) + 3))
524PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_splitClockEqs(threadData_t *threadData, modelica_metatype _inEqs, modelica_metatype *out_outClockEqsMask);
525static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_splitClockEqs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_splitClockEqs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_splitClockEqsomc_SynchronousFeatures_splitClockEqs,0}};
526#define boxvar_SynchronousFeatures_splitClockEqs((void*)((char*)(&(boxvar_lit_SynchronousFeatures_splitClockEqs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_splitClockEqs)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_splitClockEqs
).header) + 3))
527PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfoExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
528static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectSubclkInfoExp1omc_SynchronousFeatures_collectSubclkInfoExp1,0}};
529#define boxvar_SynchronousFeatures_collectSubclkInfoExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1
).header) + 3))
530PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectEquationArrayClocks(threadData_t *threadData, modelica_metatype _eqs, modelica_integer _partitionsCnt, modelica_metatype _partitions, modelica_metatype _partitionsWhenClocks, modelica_metatype _clksCnt, modelica_metatype _contPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewVars);
531PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_collectEquationArrayClocks(threadData_t *threadData, modelica_metatype _eqs, modelica_metatype _partitionsCnt, modelica_metatype _partitions, modelica_metatype _partitionsWhenClocks, modelica_metatype _clksCnt, modelica_metatype _contPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewVars);
532static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectEquationArrayClocks,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectEquationArrayClocks
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectEquationArrayClocks,0}};
533#define boxvar_SynchronousFeatures_collectEquationArrayClocks((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectEquationArrayClocks
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectEquationArrayClocks)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectEquationArrayClocks
).header) + 3))
534PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfo(threadData_t *threadData, modelica_metatype _inEqs, modelica_metatype _inRemovedEqs, modelica_integer _inPartitionCnt, modelica_metatype _inPartitions, modelica_metatype _inReqsPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype *out_outNewVars, modelica_metatype *out_outContPartitions, modelica_metatype *out_oClksCnt);
535PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_collectSubclkInfo(threadData_t *threadData, modelica_metatype _inEqs, modelica_metatype _inRemovedEqs, modelica_metatype _inPartitionCnt, modelica_metatype _inPartitions, modelica_metatype _inReqsPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype *out_outNewVars, modelica_metatype *out_outContPartitions, modelica_metatype *out_oClksCnt);
536static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfo,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectSubclkInfo
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectSubclkInfo,0}};
537#define boxvar_SynchronousFeatures_collectSubclkInfo((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfo
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfo)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfo
).header) + 3))
538PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createSubClock(threadData_t *threadData, modelica_integer _inPartitionIdx, modelica_integer _inCnt, modelica_metatype _inExp, modelica_metatype *out_outEq);
539PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_createSubClock(threadData_t *threadData, modelica_metatype _inPartitionIdx, modelica_metatype _inCnt, modelica_metatype _inExp, modelica_metatype *out_outEq);
540static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createSubClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createSubClock,0}};
541#define boxvar_SynchronousFeatures_createSubClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClock
).header) + 3))
542PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubClkName(threadData_t *threadData, modelica_integer _inPartitionIdx, modelica_integer _inClkIdx, modelica_metatype _inTy);
543PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_getSubClkName(threadData_t *threadData, modelica_metatype _inPartitionIdx, modelica_metatype _inClkIdx, modelica_metatype _inTy);
544static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClkName,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubClkName
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubClkName,0}};
545#define boxvar_SynchronousFeatures_getSubClkName((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClkName
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClkName)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClkName
).header) + 3))
546PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substGetPartition(threadData_t *threadData, modelica_metatype _inExp);
547static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substGetPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substGetPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substGetPartitionomc_SynchronousFeatures_substGetPartition,0}};
548#define boxvar_SynchronousFeatures_substGetPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substGetPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substGetPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substGetPartition
).header) + 3))
549PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createSubClockVarFactor(threadData_t *threadData, modelica_integer _inPartitionIdx, modelica_integer _inClkCnt, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outClkCnt);
550PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_createSubClockVarFactor(threadData_t *threadData, modelica_metatype _inPartitionIdx, modelica_metatype _inClkCnt, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outClkCnt);
551static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClockVarFactor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createSubClockVarFactor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createSubClockVarFactor,0}};
552#define boxvar_SynchronousFeatures_createSubClockVarFactor((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClockVarFactor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClockVarFactor)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClockVarFactor
).header) + 3))
553PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfoCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inContPartitions, modelica_integer _inPartitionIdx, modelica_integer _inClkCnt, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _source, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outClkCnt);
554PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_collectSubclkInfoCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inContPartitions, modelica_metatype _inPartitionIdx, modelica_metatype _inClkCnt, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _source, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outClkCnt);
555static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectSubclkInfoCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectSubclkInfoCall,0}};
556#define boxvar_SynchronousFeatures_collectSubclkInfoCall((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoCall)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoCall
).header) + 3))
557PROTECTED_FUNCTION_STATIC void omc_SynchronousFeatures_setContClockedPartition(threadData_t *threadData, modelica_boolean _inIsContClockedPartition, modelica_integer _inPartitionIdx, modelica_metatype _inContPartitions, modelica_metatype _source);
558PROTECTED_FUNCTION_STATIC void boxptr_SynchronousFeatures_setContClockedPartition(threadData_t *threadData, modelica_metatype _inIsContClockedPartition, modelica_metatype _inPartitionIdx, modelica_metatype _inContPartitions, modelica_metatype _source);
559static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setContClockedPartition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setContClockedPartition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setContClockedPartition,0}};
560#define boxvar_SynchronousFeatures_setContClockedPartition((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setContClockedPartition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setContClockedPartition)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setContClockedPartition
).header) + 3))
561PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createSubClockVar(threadData_t *threadData, modelica_integer _inPartitionIdx, modelica_integer _inClkCnt, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype *out_outEq);
562PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_createSubClockVar(threadData_t *threadData, modelica_metatype _inPartitionIdx, modelica_metatype _inClkCnt, modelica_metatype _inPath, modelica_metatype _inExpLst, modelica_metatype _inAttr, modelica_metatype _inPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype *out_outEq);
563static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClockVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createSubClockVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createSubClockVar,0}};
564#define boxvar_SynchronousFeatures_createSubClockVar((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClockVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createSubClockVar)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createSubClockVar
).header) + 3))
565PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfoExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
566static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectSubclkInfoExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectSubclkInfoExpomc_SynchronousFeatures_collectSubclkInfoExp,0}};
567#define boxvar_SynchronousFeatures_collectSubclkInfoExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp
).header) + 3))
568PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setShift(threadData_t *threadData, modelica_metatype _oldVal, modelica_metatype _newVal);
569static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setShift,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setShift
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setShiftomc_SynchronousFeatures_setShift,0}};
570#define boxvar_SynchronousFeatures_setShift((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setShift
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setShift)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setShift
).header) + 3))
571PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setFactor(threadData_t *threadData, modelica_metatype _oldVal, modelica_metatype _newVal);
572static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setFactor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setFactor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setFactoromc_SynchronousFeatures_setFactor,0}};
573#define boxvar_SynchronousFeatures_setFactor((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setFactor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setFactor)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setFactor
).header) + 3))
574PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isInferedBaseClock(threadData_t *threadData, modelica_metatype _subClk);
575PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isInferedBaseClock(threadData_t *threadData, modelica_metatype _subClk);
576static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isInferedBaseClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isInferedBaseClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isInferedBaseClock,0}};
577#define boxvar_SynchronousFeatures_isInferedBaseClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isInferedBaseClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isInferedBaseClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isInferedBaseClock
).header) + 3))
578PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isInferedSubClock(threadData_t *threadData, modelica_metatype _subClk);
579PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isInferedSubClock(threadData_t *threadData, modelica_metatype _subClk);
580static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isInferedSubClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isInferedSubClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isInferedSubClock,0}};
581#define boxvar_SynchronousFeatures_isInferedSubClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isInferedSubClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isInferedSubClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isInferedSubClock
).header) + 3))
582PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_orderSubPartitions(threadData_t *threadData, modelica_integer _numParts, modelica_metatype _subclocks, modelica_metatype _order, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype _remEqs, modelica_metatype _shared, modelica_integer _partitionOffset, modelica_metatype *out_subClksOut);
583PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_orderSubPartitions(threadData_t *threadData, modelica_metatype _numParts, modelica_metatype _subclocks, modelica_metatype _order, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype _remEqs, modelica_metatype _shared, modelica_metatype _partitionOffset, modelica_metatype *out_subClksOut);
584static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_orderSubPartitions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_orderSubPartitions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_orderSubPartitions,0}};
585#define boxvar_SynchronousFeatures_orderSubPartitions((void*)((char*)(&(boxvar_lit_SynchronousFeatures_orderSubPartitions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_orderSubPartitions)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_orderSubPartitions
).header) + 3))
586PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_subClockPartitioning(threadData_t *threadData, modelica_metatype _inEqSystem, modelica_metatype _inShared, modelica_integer _off, modelica_metatype *out_outBaseClock, modelica_metatype *out_outSubClocks);
587PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_subClockPartitioning(threadData_t *threadData, modelica_metatype _inEqSystem, modelica_metatype _inShared, modelica_metatype _off, modelica_metatype *out_outBaseClock, modelica_metatype *out_outSubClocks);
588static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockPartitioning,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_subClockPartitioning
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_subClockPartitioning,0}};
589#define boxvar_SynchronousFeatures_subClockPartitioning((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockPartitioning
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockPartitioning)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockPartitioning
).header) + 3))
590PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_replaceSampledClocks2(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _tplIn, modelica_boolean *out_cont, modelica_metatype *out_tplOut);
591PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_replaceSampledClocks2(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _tplIn, modelica_metatype *out_cont, modelica_metatype *out_tplOut);
592static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_replaceSampledClocks2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_replaceSampledClocks2,0}};
593#define boxvar_SynchronousFeatures_replaceSampledClocks2((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks2)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks2
).header) + 3))
594PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_replaceSampledClocks1(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _tplIn, modelica_metatype *out_tplOut);
595static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_replaceSampledClocks1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_replaceSampledClocks1omc_SynchronousFeatures_replaceSampledClocks1,0}};
596#define boxvar_SynchronousFeatures_replaceSampledClocks1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks1
).header) + 3))
597PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_replaceSampledClocks(threadData_t *threadData, modelica_metatype _eqsIn, modelica_metatype _varsIn, modelica_metatype *out_varsOut);
598static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_replaceSampledClocks
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_replaceSampledClocksomc_SynchronousFeatures_replaceSampledClocks,0}};
599#define boxvar_SynchronousFeatures_replaceSampledClocks((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_replaceSampledClocks)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_replaceSampledClocks
).header) + 3))
600PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_findHighestWhenPrefixIdx(threadData_t *threadData, modelica_metatype _inVar, modelica_integer _idxIn, modelica_integer *out_idxOut);
601PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_findHighestWhenPrefixIdx(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _idxIn, modelica_metatype *out_idxOut);
602static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findHighestWhenPrefixIdx,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_findHighestWhenPrefixIdx
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_findHighestWhenPrefixIdx,0}};
603#define boxvar_SynchronousFeatures_findHighestWhenPrefixIdx((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findHighestWhenPrefixIdx
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findHighestWhenPrefixIdx)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findHighestWhenPrefixIdx
).header) + 3))
604PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_findBaseClockInterfaces1(threadData_t *threadData, modelica_metatype _eq, modelica_integer _eqIdx, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _clockEqsIn, modelica_metatype _subClockInterfaceEqIdxsIn, modelica_metatype _subClockInterfaceEqsIn, modelica_metatype *out_subClockInterfaceEqIdxsOut, modelica_metatype *out_subClockInterfaceEqsOut);
605PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_findBaseClockInterfaces1(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _eqIdx, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _clockEqsIn, modelica_metatype _subClockInterfaceEqIdxsIn, modelica_metatype _subClockInterfaceEqsIn, modelica_metatype *out_subClockInterfaceEqIdxsOut, modelica_metatype *out_subClockInterfaceEqsOut);
606static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_findBaseClockInterfaces1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_findBaseClockInterfaces1,0}};
607#define boxvar_SynchronousFeatures_findBaseClockInterfaces1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces1
).header) + 3))
608PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_findBaseClockInterfaces(threadData_t *threadData, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype _m, modelica_metatype _mT, modelica_metatype *out_subClockInterfaceEqIdxs, modelica_metatype *out_subClockInterfaceEqs);
609static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_findBaseClockInterfaces
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_findBaseClockInterfacesomc_SynchronousFeatures_findBaseClockInterfaces,0}};
610#define boxvar_SynchronousFeatures_findBaseClockInterfaces((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findBaseClockInterfaces
).header) + 3))
611PROTECTED_FUNCTION_STATIC void omc_SynchronousFeatures_removeEdge(threadData_t *threadData, modelica_integer _eq, modelica_integer _var, modelica_metatype _m, modelica_metatype _mT);
612PROTECTED_FUNCTION_STATIC void boxptr_SynchronousFeatures_removeEdge(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _var, modelica_metatype _m, modelica_metatype _mT);
613static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeEdge,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_removeEdge
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_removeEdge,0}};
614#define boxvar_SynchronousFeatures_removeEdge((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeEdge
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeEdge)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeEdge
).header) + 3))
615PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getBaseClock(threadData_t *threadData, modelica_metatype _eq);
616static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getBaseClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getBaseClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getBaseClockomc_SynchronousFeatures_getBaseClock,0}};
617#define boxvar_SynchronousFeatures_getBaseClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getBaseClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getBaseClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getBaseClock
).header) + 3))
618PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isBaseClockEq(threadData_t *threadData, modelica_metatype _eq);
619PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isBaseClockEq(threadData_t *threadData, modelica_metatype _eq);
620static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isBaseClockEq,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_isBaseClockEq
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_isBaseClockEq,0}};
621#define boxvar_SynchronousFeatures_isBaseClockEq((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isBaseClockEq
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_isBaseClockEq)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isBaseClockEq
).header) + 3))
622PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_chooseBaseClock(threadData_t *threadData, modelica_metatype _clockEqs, modelica_integer _numPartitions, modelica_metatype _eqPartMap, modelica_metatype _eqs, modelica_integer *out_baseClockEqIdx);
623PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_chooseBaseClock(threadData_t *threadData, modelica_metatype _clockEqs, modelica_metatype _numPartitions, modelica_metatype _eqPartMap, modelica_metatype _eqs, modelica_metatype *out_baseClockEqIdx);
624static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_chooseBaseClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_chooseBaseClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_chooseBaseClock,0}};
625#define boxvar_SynchronousFeatures_chooseBaseClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_chooseBaseClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_chooseBaseClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_chooseBaseClock
).header) + 3))
626PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_getConnectedSubPartitions(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _varPartMap, modelica_metatype _vars, modelica_integer *out_part1, modelica_integer *out_var1, modelica_metatype *out_sub1, modelica_integer *out_part2, modelica_integer *out_var2, modelica_metatype *out_sub2);
627PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_getConnectedSubPartitions(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _varPartMap, modelica_metatype _vars, modelica_metatype *out_part1, modelica_metatype *out_var1, modelica_metatype *out_sub1, modelica_metatype *out_part2, modelica_metatype *out_var2, modelica_metatype *out_sub2);
628static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getConnectedSubPartitions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getConnectedSubPartitions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getConnectedSubPartitions,0}};
629#define boxvar_SynchronousFeatures_getConnectedSubPartitions((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getConnectedSubPartitions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getConnectedSubPartitions)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getConnectedSubPartitions
).header) + 3))
630PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSubClockSolver(threadData_t *threadData, modelica_metatype _subClk, modelica_metatype _solver);
631static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockSolver,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setSubClockSolver
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setSubClockSolveromc_SynchronousFeatures_setSubClockSolver,0}};
632#define boxvar_SynchronousFeatures_setSubClockSolver((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockSolver
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockSolver)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockSolver
).header) + 3))
633PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSubClockShift(threadData_t *threadData, modelica_metatype _subClk, modelica_metatype _shift);
634static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockShift,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setSubClockShift
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setSubClockShiftomc_SynchronousFeatures_setSubClockShift,0}};
635#define boxvar_SynchronousFeatures_setSubClockShift((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockShift
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockShift)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockShift
).header) + 3))
636PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubClockSolverOpt(threadData_t *threadData, modelica_metatype _subClk);
637static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockSolverOpt,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubClockSolverOpt
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubClockSolverOptomc_SynchronousFeatures_getSubClockSolverOpt,0}};
638#define boxvar_SynchronousFeatures_getSubClockSolverOpt((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockSolverOpt
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockSolverOpt)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockSolverOpt
).header) + 3))
639PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubClockShift(threadData_t *threadData, modelica_metatype _subClk);
640static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockShift,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubClockShift
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubClockShiftomc_SynchronousFeatures_getSubClockShift,0}};
641#define boxvar_SynchronousFeatures_getSubClockShift((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockShift
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockShift)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockShift
).header) + 3))
642PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubClockFactor(threadData_t *threadData, modelica_metatype _subClk);
643static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockFactor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubClockFactor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubClockFactoromc_SynchronousFeatures_getSubClockFactor,0}};
644#define boxvar_SynchronousFeatures_getSubClockFactor((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockFactor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockFactor)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockFactor
).header) + 3))
645PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSubClockFactor(threadData_t *threadData, modelica_metatype _subClk, modelica_metatype _factor);
646static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockFactor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setSubClockFactor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setSubClockFactoromc_SynchronousFeatures_setSubClockFactor,0}};
647#define boxvar_SynchronousFeatures_setSubClockFactor((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockFactor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSubClockFactor)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSubClockFactor
).header) + 3))
648PROTECTED_FUNCTION_STATIC void omc_SynchronousFeatures_addPartAdjacencyEdge(threadData_t *threadData, modelica_integer _part1, modelica_metatype _sub1, modelica_integer _part2, modelica_metatype _sub2, modelica_metatype _partAdjacency);
649PROTECTED_FUNCTION_STATIC void boxptr_SynchronousFeatures_addPartAdjacencyEdge(threadData_t *threadData, modelica_metatype _part1, modelica_metatype _sub1, modelica_metatype _part2, modelica_metatype _sub2, modelica_metatype _partAdjacency);
650static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_addPartAdjacencyEdge,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_addPartAdjacencyEdge
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_addPartAdjacencyEdge,0}};
651#define boxvar_SynchronousFeatures_addPartAdjacencyEdge((void*)((char*)(&(boxvar_lit_SynchronousFeatures_addPartAdjacencyEdge
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_addPartAdjacencyEdge)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_addPartAdjacencyEdge
).header) + 3))
652PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_mergeSolver(threadData_t *threadData, modelica_metatype _solver1, modelica_metatype _solver2);
653static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_mergeSolver,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_mergeSolver
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_mergeSolveromc_SynchronousFeatures_mergeSolver,0}};
654#define boxvar_SynchronousFeatures_mergeSolver((void*)((char*)(&(boxvar_lit_SynchronousFeatures_mergeSolver
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_mergeSolver)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_mergeSolver
).header) + 3))
655PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_computeAbsoluteSubClock(threadData_t *threadData, modelica_metatype _preClock, modelica_metatype _subSeqClock);
656static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_computeAbsoluteSubClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_computeAbsoluteSubClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_computeAbsoluteSubClockomc_SynchronousFeatures_computeAbsoluteSubClock,0}};
657#define boxvar_SynchronousFeatures_computeAbsoluteSubClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_computeAbsoluteSubClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_computeAbsoluteSubClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_computeAbsoluteSubClock
).header) + 3))
658PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_findSubClocks(threadData_t *threadData, modelica_integer _numPartitions, modelica_integer _baseClockEq, modelica_metatype _baseClk, modelica_metatype _baseClockConstructors, modelica_metatype _subPartitionInterfaceEqs, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _eqs, modelica_metatype _partAdjacency, modelica_metatype *out_outSubClocks);
659PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_findSubClocks(threadData_t *threadData, modelica_metatype _numPartitions, modelica_metatype _baseClockEq, modelica_metatype _baseClk, modelica_metatype _baseClockConstructors, modelica_metatype _subPartitionInterfaceEqs, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _eqs, modelica_metatype _partAdjacency, modelica_metatype *out_outSubClocks);
660static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findSubClocks,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_findSubClocks
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_findSubClocks,0}};
661#define boxvar_SynchronousFeatures_findSubClocks((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findSubClocks
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_findSubClocks)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_findSubClocks
).header) + 3))
662PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSolverSubClock(threadData_t *threadData, modelica_metatype _baseClkIn, modelica_metatype _inSubClock, modelica_metatype *out_outSubClock);
663static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSolverSubClock,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_setSolverSubClock
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_setSolverSubClockomc_SynchronousFeatures_setSolverSubClock,0}};
664#define boxvar_SynchronousFeatures_setSolverSubClock((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSolverSubClock
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_setSolverSubClock)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_setSolverSubClock
).header) + 3))
665PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubClockForClkConstructor(threadData_t *threadData, modelica_metatype _refClock, modelica_metatype _clk);
666static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockForClkConstructor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubClockForClkConstructor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubClockForClkConstructoromc_SynchronousFeatures_getSubClockForClkConstructor,0}};
667#define boxvar_SynchronousFeatures_getSubClockForClkConstructor((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockForClkConstructor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubClockForClkConstructor)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubClockForClkConstructor
).header) + 3))
668PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getSubPartitionAdjacency(threadData_t *threadData, modelica_integer _numPartitions, modelica_integer _baseClockEq, modelica_metatype _subPartitionInterfaceEqs, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _clockedVarsMask, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype *out_order);
669PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_getSubPartitionAdjacency(threadData_t *threadData, modelica_metatype _numPartitions, modelica_metatype _baseClockEq, modelica_metatype _subPartitionInterfaceEqs, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _clockedVarsMask, modelica_metatype _eqs, modelica_metatype _vars, modelica_metatype *out_order);
670static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubPartitionAdjacency,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getSubPartitionAdjacency
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getSubPartitionAdjacency,0}};
671#define boxvar_SynchronousFeatures_getSubPartitionAdjacency((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubPartitionAdjacency
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getSubPartitionAdjacency)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getSubPartitionAdjacency
).header) + 3))
672PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_removeHoldExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inComps, modelica_metatype *out_outComps);
673static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_removeHoldExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_removeHoldExpomc_SynchronousFeatures_removeHoldExp,0}};
674#define boxvar_SynchronousFeatures_removeHoldExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExp)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExp
).header) + 3))
675PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_removeHoldExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inComps, modelica_metatype *out_outComps);
676static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExp1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_removeHoldExp1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_removeHoldExp1omc_SynchronousFeatures_removeHoldExp1,0}};
677#define boxvar_SynchronousFeatures_removeHoldExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExp1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExp1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExp1
).header) + 3))
678PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_removeHoldExpsSyst(threadData_t *threadData, modelica_metatype _inSysts, modelica_metatype *out_outHoldComps);
679static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExpsSyst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_removeHoldExpsSyst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_removeHoldExpsSystomc_SynchronousFeatures_removeHoldExpsSyst,0}};
680#define boxvar_SynchronousFeatures_removeHoldExpsSyst((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExpsSyst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_removeHoldExpsSyst)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_removeHoldExpsSyst
).header) + 3))
681PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_subClockPartitioning1(threadData_t *threadData, modelica_metatype _inSysts, modelica_metatype _inShared, modelica_metatype _inHoldComps, modelica_metatype *out_outShared);
682static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockPartitioning1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_subClockPartitioning1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_subClockPartitioning1omc_SynchronousFeatures_subClockPartitioning1,0}};
683#define boxvar_SynchronousFeatures_subClockPartitioning1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockPartitioning1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_subClockPartitioning1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_subClockPartitioning1
).header) + 3))
684PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectPrevVars1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inPrevVars, modelica_metatype *out_outPrevVars);
685static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectPrevVars1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectPrevVars1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectPrevVars1omc_SynchronousFeatures_collectPrevVars1,0}};
686#define boxvar_SynchronousFeatures_collectPrevVars1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectPrevVars1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectPrevVars1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectPrevVars1
).header) + 3))
687PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectPrevVars(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inPrevVars, modelica_metatype *out_outPrevVars);
688static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectPrevVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_collectPrevVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_collectPrevVarsomc_SynchronousFeatures_collectPrevVars,0}};
689#define boxvar_SynchronousFeatures_collectPrevVars((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectPrevVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_collectPrevVars)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectPrevVars
).header) + 3))
690PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_markClockedStates(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared, modelica_metatype _derVars);
691static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_markClockedStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_markClockedStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_markClockedStatesomc_SynchronousFeatures_markClockedStates,0}};
692#define boxvar_SynchronousFeatures_markClockedStates((void*)((char*)(&(boxvar_lit_SynchronousFeatures_markClockedStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_markClockedStates)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_markClockedStates
).header) + 3))
693PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substituteFiniteDifference(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
694static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteFiniteDifference,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substituteFiniteDifference
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substituteFiniteDifferenceomc_SynchronousFeatures_substituteFiniteDifference,0}};
695#define boxvar_SynchronousFeatures_substituteFiniteDifference((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteFiniteDifference
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteFiniteDifference)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteFiniteDifference
).header) + 3))
696PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substituteFiniteDifference1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
697static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteFiniteDifference1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_substituteFiniteDifference1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_substituteFiniteDifference1omc_SynchronousFeatures_substituteFiniteDifference1,0}};
698#define boxvar_SynchronousFeatures_substituteFiniteDifference1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteFiniteDifference1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_substituteFiniteDifference1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substituteFiniteDifference1
).header) + 3))
699PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_shiftDerVars(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
700static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_shiftDerVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_shiftDerVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_shiftDerVarsomc_SynchronousFeatures_shiftDerVars,0}};
701#define boxvar_SynchronousFeatures_shiftDerVars((void*)((char*)(&(boxvar_lit_SynchronousFeatures_shiftDerVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_shiftDerVars)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_shiftDerVars
).header) + 3))
702PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_shiftDerVars1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
703static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_shiftDerVars1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_shiftDerVars1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_shiftDerVars1omc_SynchronousFeatures_shiftDerVars1,0}};
704#define boxvar_SynchronousFeatures_shiftDerVars1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_shiftDerVars1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_shiftDerVars1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_shiftDerVars1
).header) + 3))
705PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getDerVars(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
706static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getDerVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getDerVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getDerVarsomc_SynchronousFeatures_getDerVars,0}};
707#define boxvar_SynchronousFeatures_getDerVars((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getDerVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getDerVars)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getDerVars
).header) + 3))
708PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getDerVars1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inDerVars, modelica_metatype *out_outDerVars);
709static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getDerVars1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_getDerVars1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_getDerVars1omc_SynchronousFeatures_getDerVars1,0}};
710#define boxvar_SynchronousFeatures_getDerVars1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getDerVars1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_getDerVars1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_getDerVars1
).header) + 3))
711PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_treatClockedStates(threadData_t *threadData, modelica_metatype _inSysts, modelica_metatype _inShared, modelica_metatype *out_shared);
712static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_treatClockedStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_treatClockedStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_treatClockedStatesomc_SynchronousFeatures_treatClockedStates,0}};
713#define boxvar_SynchronousFeatures_treatClockedStates((void*)((char*)(&(boxvar_lit_SynchronousFeatures_treatClockedStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_treatClockedStates)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_treatClockedStates
).header) + 3))
714PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createBoolClockWhenClauses(threadData_t *threadData, modelica_metatype _inShared, modelica_metatype _inRemovedEqs);
715static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createBoolClockWhenClauses,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_createBoolClockWhenClauses
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_createBoolClockWhenClausesomc_SynchronousFeatures_createBoolClockWhenClauses,0}};
716#define boxvar_SynchronousFeatures_createBoolClockWhenClauses((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createBoolClockWhenClauses
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_createBoolClockWhenClauses)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_createBoolClockWhenClauses
).header) + 3))
717PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_clockPartitioning1(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared);
718static const MMC_DEFSTRUCTLIT(boxvar_lit_SynchronousFeatures_clockPartitioning1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SynchronousFeatures_clockPartitioning1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SynchronousFeatures_clockPartitioning1omc_SynchronousFeatures_clockPartitioning1,0}};
719#define boxvar_SynchronousFeatures_clockPartitioning1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_clockPartitioning1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SynchronousFeatures_clockPartitioning1)((void*)((char*)(&(boxvar_lit_SynchronousFeatures_clockPartitioning1
).header) + 3))
720
721PROTECTED_FUNCTION_STATIC modelica_string omc_SynchronousFeatures_subClockTreeString(threadData_t *threadData, modelica_metatype _treeIn)
722{
723 modelica_string _sOut = NULL((void*)0);
724 modelica_metatype _tpl = NULL((void*)0);
725 modelica_metatype _subClock = NULL((void*)0);
726 modelica_integer _i;
727 modelica_integer _idx;
728 modelica_integer tmp1;
729 modelica_integer tmp2;
730 modelica_integer tmp3;
731 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
732 MMC_SO()mmc_check_stackoverflow(threadData);
733 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
734 _sOut = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
735 // _tpl has no default value.
736 // _subClock has no default value.
737 // _i has no default value.
738 _idx = ((modelica_integer) 1);
739#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
740 {
741#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
742 modelica_metatype _tpl;
743#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
744 for (tmpMeta[0] = _treeIn, tmp3 = arrayLength(tmpMeta[0]), tmp2 = 1; tmp2 <= tmp3; tmp2++)
745#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
746 {
747#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
748 _tpl = arrayGet(tmpMeta[0],tmp2)nobox_arrayGet(threadData,tmpMeta[0],tmp2);
749#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
750 /* Pattern-matching assignment */
751#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
752 tmpMeta[1] = _tpl;
753#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
754 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
755#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
756 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
757#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
758 tmp1 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
759#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
760 _subClock = tmpMeta[2];
761#line 3275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
762 _i = tmp1 /* pattern as ty=Integer */;
763#line 763 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
764
765#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
766 tmpMeta[1] = stringAppend(intString(_idx),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
767#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
768 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_i));
769#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
770 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
771#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
772 tmpMeta[4] = stringAppend(tmpMeta[3],omc_BackendDump_subClockString(threadData, _subClock));
773#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
774 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
775#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
776 tmpMeta[6] = stringAppend(tmpMeta[5],_sOut);
777#line 3276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
778 _sOut = tmpMeta[6];
779#line 779 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
780
781#line 3277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
782 _idx = ((modelica_integer) 1) + _idx;
783#line 783 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
784 }
785 }
786 _return: OMC_LABEL_UNUSED__attribute__((unused))
787 return _sOut;
788}
789
790PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_subClkEqual(threadData_t *threadData, modelica_metatype _sc1, modelica_metatype _sc2)
791{
792 modelica_boolean _isEqual;
793 modelica_boolean tmp1 = 0;
794 MMC_SO()mmc_check_stackoverflow(threadData);
795 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
796 // _isEqual has no default value.
797#line 797 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
798 { /* match expression */
799 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
800 tmp4_1 = _sc1;
801 tmp4_2 = _sc2;
802 {
803 volatile mmc_switch_type tmp4;
804 int tmp5;
805 tmp4 = 0;
806 for (; tmp4 < 3; tmp4++) {
807 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
808 case 0: {
809 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
810 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
811 /* Pattern matching succeeded */
812#line 3258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
813 tmp1 = 1;
814#line 814 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
815 goto tmp3_done;
816 }
817 case 1: {
818 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
819 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;
820
821 /* Pattern matching succeeded */
822#line 3260 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
823 tmp1 = ((omc_MMath_equals(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_sc1) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_sc2) - 3))) + (
2)))))
)) && omc_MMath_equals(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_sc1) - 3))) + (
3)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_sc2) - 3))) + (
3)))))
))) && omc_Util_optionEqual(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_sc1) - 3))) + (
4)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sc2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_sc2) - 3))) + (
4)))))
), boxvar_stringEqual((void*)((char*)(&(boxvar_lit_stringEqual).header) + 3))));
824#line 824 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
825 goto tmp3_done;
826 }
827 case 2: {
828
829 /* Pattern matching succeeded */
830#line 3262 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
831 tmp1 = 0;
832#line 832 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
833 goto tmp3_done;
834 }
835 }
836 goto tmp3_end;
837 tmp3_end: ;
838 }
839 goto goto_2;
840 goto_2:;
841 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
842 goto tmp3_done;
843 tmp3_done:;
844 }
845 }
846 _isEqual = tmp1;
847 _return: OMC_LABEL_UNUSED__attribute__((unused))
848 return _isEqual;
849}
850PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_subClkEqual(threadData_t *threadData, modelica_metatype _sc1, modelica_metatype _sc2)
851{
852 modelica_boolean _isEqual;
853 modelica_metatype out_isEqual;
854 _isEqual = omc_SynchronousFeatures_subClkEqual(threadData, _sc1, _sc2);
855 out_isEqual = mmc_mk_icon(_isEqual);
856 return out_isEqual;
857}
858
859PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_partitionEquations(threadData_t *threadData, modelica_metatype _arr, modelica_metatype _ixs, modelica_metatype _ea)
860{
861 modelica_metatype _restEqs = NULL((void*)0);
862 modelica_integer _ix;
863 modelica_metatype _lst = NULL((void*)0);
864 modelica_metatype _eq = NULL((void*)0);
865 modelica_integer tmp1;
866 modelica_integer tmp2;
867 modelica_integer tmp3;
868 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
869 MMC_SO()mmc_check_stackoverflow(threadData);
870 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
871 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
872 _restEqs = tmpMeta[0];
873 // _ix has no default value.
874 // _lst has no default value.
875 // _eq has no default value.
876#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
877 tmp1 = omc_BackendEquation_getNumberOfEquations(threadData, _arr); tmp2 = ((modelica_integer) -1); tmp3 = ((modelica_integer) 1);
878#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
879 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
880#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
881 {
882#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
883 modelica_integer _i;
884#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
885 for(_i = omc_BackendEquation_getNumberOfEquations(threadData, _arr); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
886#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
887 {
888#line 3235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
889 _ix = mmc_unbox_integer(arrayGet(_ixs,_i) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_ixs,_i))) >>
1)
;
890#line 890 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
891
892#line 3236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
893 _eq = omc_BackendEquation_get(threadData, _arr, _i);
894#line 894 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
895
896#line 3237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
897 if((_ix == ((modelica_integer) 0)))
898#line 3237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
899 {
900#line 3238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
901 tmpMeta[1] = mmc_mk_cons(_eq, _restEqs);
902#line 3238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
903 _restEqs = tmpMeta[1];
904#line 904 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
905 }
906 else
907 {
908#line 3240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
909 _lst = arrayGet(_ea,_ix)nobox_arrayGet(threadData,_ea,_ix) /* DAE.ASUB */;
910#line 910 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
911
912#line 3241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
913 tmpMeta[1] = mmc_mk_cons(_eq, _lst);
914#line 3241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
915 _lst = tmpMeta[1];
916#line 916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
917
918#line 3243 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
919 arrayUpdate(_ea, _ix, _lst)boxptr_arrayUpdate(threadData,_ea,mmc_mk_icon(_ix),_lst);
920#line 920 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
921 }
922 }
923 }
924 _return: OMC_LABEL_UNUSED__attribute__((unused))
925 return _restEqs;
926}
927
928PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createEqSystem(threadData_t *threadData, modelica_metatype _el, modelica_metatype _vl, modelica_metatype _rel, modelica_metatype _iTpl, modelica_metatype *out_oTpl)
929{
930 modelica_metatype _syst = NULL((void*)0);
931 modelica_metatype _oTpl = NULL((void*)0);
932 modelica_metatype _arr = NULL((void*)0);
933 modelica_metatype _remArr = NULL((void*)0);
934 modelica_metatype _vars = NULL((void*)0);
935 modelica_integer _i1;
936 modelica_integer _i2;
937 modelica_string _s1 = NULL((void*)0);
938 modelica_string _s2 = NULL((void*)0);
939 modelica_string _s3 = NULL((void*)0);
940 modelica_string _s4 = NULL((void*)0);
941 modelica_metatype _crs = NULL((void*)0);
942 modelica_boolean _success;
943 modelica_boolean _throwNoError;
944 modelica_integer tmp1;
945 modelica_integer tmp2;
946 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
947 MMC_SO()mmc_check_stackoverflow(threadData);
948 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
949 // _syst has no default value.
950 // _oTpl has no default value.
951 // _arr has no default value.
952 // _remArr has no default value.
953 // _vars has no default value.
954 // _i1 has no default value.
955 // _i2 has no default value.
956 // _s1 has no default value.
957 // _s2 has no default value.
958 // _s3 has no default value.
959 // _s4 has no default value.
960 // _crs has no default value.
961 // _success has no default value.
962 // _throwNoError has no default value.
963#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
964 /* Pattern-matching assignment */
965#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
966 tmpMeta[0] = _iTpl;
967#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
968 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
969#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
970 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
971#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
972 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
973#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
974 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
975#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
976 _success = tmp1 /* pattern as ty=Boolean */;
977#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
978 _throwNoError = tmp2 /* pattern as ty=Boolean */;
979#line 979 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
980
981#line 3202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
982 _vars = omc_BackendVariable_listVar1(threadData, _vl);
983#line 983 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
984
985#line 3203 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
986 _arr = omc_BackendEquation_listEquation(threadData, _el);
987#line 987 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
988
989#line 3204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
990 _remArr = omc_BackendEquation_listEquation(threadData, _rel);
991#line 991 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
992
993#line 3205 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
994 _i1 = omc_BackendEquation_equationArraySize(threadData, _arr);
995#line 995 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
996
997#line 3206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
998 _i2 = omc_BackendVariable_varsSize(threadData, _vars);
999#line 999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1000
1001#line 3209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1002 if(((_i1 != _i2) && (!_throwNoError)))
1003#line 3209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1004 {
1005#line 3210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1006 _s1 = intString(_i1);
1007#line 1007 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1008
1009#line 3211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1010 _s2 = intString(_i2);
1011#line 1011 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1012
1013#line 3212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1014 _crs = omc_List_mapMap(threadData, _vl, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
);
1015#line 1015 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1016
1017#line 3213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1018 _s3 = stringDelimitList(_crs, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1019#line 1019 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1020
1021#line 3214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1022 _s4 = omc_BackendDump_dumpEqnsStr(threadData, _el);
1023#line 1023 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1024
1025#line 3215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1026 tmpMeta[0] = mmc_mk_cons(_s1, mmc_mk_cons(_s2, mmc_mk_cons(_s3, mmc_mk_cons(_s4, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))))));
1027#line 3215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1028 omc_Error_addSourceMessage(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), tmpMeta[0], _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1029#line 1029 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1030
1031#line 3216 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1032 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1033#line 1033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1034 }
1035
1036#line 3219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1037 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1038#line 3219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1039 _syst = omc_BackendDAEUtil_createEqSystem(threadData, _vars, _arr, tmpMeta[0], _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _remArr);
1040#line 1040 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1041
1042#line 3220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1043 _success = (_success && (_i1 == _i2));
1044#line 1044 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1045
1046#line 3221 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1047 tmpMeta[0] = mmc_mk_box2(0, mmc_mk_boolean(_success)((_success) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_throwNoError)((_throwNoError) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1048#line 3221 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1049 _oTpl = tmpMeta[0];
1050#line 1050 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1051 _return: OMC_LABEL_UNUSED__attribute__((unused))
1052 if (out_oTpl) { *out_oTpl = _oTpl; }
1053 return _syst;
1054}
1055
1056PROTECTED_FUNCTION_STATIC void omc_SynchronousFeatures_setVarPartition(threadData_t *threadData, modelica_metatype _varsPartition, modelica_integer _i, modelica_metatype _eqsIxs, modelica_metatype _eqsPartitions)
1057{
1058 modelica_integer _partitionIdx;
1059 static int tmp1 = 0;
1060 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1061 MMC_SO()mmc_check_stackoverflow(threadData);
1062 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1063 // _partitionIdx has no default value.
1064#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1065 {
1066#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1067 modelica_metatype _eq;
1068#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1069 for (tmpMeta[0] = _eqsIxs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1070#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1071 {
1072#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1073 _eq = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1074#line 3178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1075 _partitionIdx = mmc_unbox_integer(arrayGet(_eqsPartitions,mmc_unbox_integer(_eq)) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_eqsPartitions,(((mmc_sint_t
) (_eq)) >> 1)))) >> 1)
;
1076#line 1076 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1077
1078#line 3179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1079 if((_partitionIdx != ((modelica_integer) 0)))
1080#line 3179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1081 {
1082#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1083 {
1084#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1085 if(!((mmc_unbox_integer(arrayGet(_varsPartition,_i) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_varsPartition,_i))
) >> 1)
== ((modelica_integer) 0)) || (mmc_unbox_integer(arrayGet(_varsPartition,_i) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_varsPartition,_i))
) >> 1)
== _partitionIdx)))
1086#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1087 {
1088#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1089 {
1090#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1091 FILE_INFO info = {"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo",3180,7,3180,118,0};
1092#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1093 omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT12).header) + 3))) - 3)))->data)
);
1094#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1095 }
1096#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1097 }
1098#line 3180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1099 }
1100#line 1100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1101
1102#line 3181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1103 arrayUpdate(_varsPartition, _i, mmc_mk_integer(_partitionIdx))boxptr_arrayUpdate(threadData,_varsPartition,mmc_mk_icon(_i),
mmc_mk_icon(_partitionIdx))
;
1104#line 1104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1105 }
1106 }
1107 }
1108 _return: OMC_LABEL_UNUSED__attribute__((unused))
1109 return;
1110}
1111PROTECTED_FUNCTION_STATIC void boxptr_SynchronousFeatures_setVarPartition(threadData_t *threadData, modelica_metatype _varsPartition, modelica_metatype _i, modelica_metatype _eqsIxs, modelica_metatype _eqsPartitions)
1112{
1113 modelica_integer tmp1;
1114 tmp1 = mmc_unbox_integer(_i)(((mmc_sint_t) (_i)) >> 1);
1115 omc_SynchronousFeatures_setVarPartition(threadData, _varsPartition, tmp1, _eqsIxs, _eqsPartitions);
1116 return;
1117}
1118
1119DLLExport
1120modelica_metatype omc_SynchronousFeatures_partitionIndependentBlocksSplitBlocks(threadData_t *threadData, modelica_integer _n, modelica_metatype _inSyst, modelica_metatype _ixs, modelica_metatype _rixs, modelica_metatype _mT, modelica_metatype _rmT, modelica_boolean _throwNoError, modelica_metatype _funcs, modelica_boolean _isInitial, modelica_metatype *out_unpartRemovedEqs, modelica_metatype *out_varPartMap)
1121{
1122 modelica_metatype _systs = NULL((void*)0);
1123 modelica_metatype _unpartRemovedEqs = NULL((void*)0);
1124 modelica_metatype _varPartMap = NULL((void*)0);
1125 modelica_metatype _ea = NULL((void*)0);
1126 modelica_metatype _rea = NULL((void*)0);
1127 modelica_metatype _va = NULL((void*)0);
1128 modelica_integer _i1;
1129 modelica_integer _i2;
1130 modelica_boolean _b;
1131 modelica_boolean _b1;
1132 modelica_metatype _syst = NULL((void*)0);
1133 modelica_metatype _varsPartition = NULL((void*)0);
1134 modelica_metatype _lstVars = NULL((void*)0);
1135 modelica_string tmp1;
1136 modelica_string tmp2;
1137 modelica_integer tmp3;
1138 modelica_integer tmp4;
1139 modelica_integer tmp5;
1140 modelica_integer tmp6;
1141 modelica_integer tmp7;
1142 modelica_integer tmp8;
1143 modelica_integer tmp9;
1144 modelica_integer tmp10;
1145 modelica_integer tmp11;
1146 modelica_integer tmp12;
1147 modelica_boolean tmp13;
1148 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1149 MMC_SO()mmc_check_stackoverflow(threadData);
1150 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1151 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1152 _systs = tmpMeta[0];
1153 // _unpartRemovedEqs has no default value.
1154 // _varPartMap has no default value.
1155 // _ea has no default value.
1156 // _rea has no default value.
1157 // _va has no default value.
1158 // _i1 has no default value.
1159 // _i2 has no default value.
1160 // _b has no default value.
1161 _b1 = 1;
1162 // _syst has no default value.
1163 // _varsPartition has no default value.
1164 // _lstVars has no default value.
1165#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1166 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1167#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1168 _ea = arrayCreate(_n, tmpMeta[1]);
1169#line 1169 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1170
1171#line 3133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1172 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1173#line 3133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1174 _rea = arrayCreate(_n, tmpMeta[1]);
1175#line 1175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1176
1177#line 3134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1178 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1179#line 3134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1180 _va = arrayCreate(_n, tmpMeta[1]);
1181#line 1181 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1182
1183#line 3135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1184 _varPartMap = arrayCreate(_n, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
1185#line 1185 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1186
1187#line 3136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1188 _i1 = omc_BackendEquation_equationArraySize(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (3)))))
));
1189#line 1189 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1190
1191#line 3137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1192 _i2 = omc_BackendVariable_varsSize(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (2)))))
));
1193#line 1193 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1194
1195#line 3139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1196 if(((_i1 != _i2) && (!_throwNoError)))
1197#line 3139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1198 {
1199#line 3140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1200 tmp1 = modelica_integer_to_modelica_string(_i1, ((modelica_integer) 0), 1);
1201#line 3140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1202 tmp2 = modelica_integer_to_modelica_string(_i2, ((modelica_integer) 0), 1);
1203#line 3140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1204 tmpMeta[1] = mmc_mk_cons(tmp1, mmc_mk_cons(tmp2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1205#line 3140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1206 omc_Error_addSourceMessage(threadData, ((_i1 > _i2)?_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)):_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))), tmpMeta[1], _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1207#line 1207 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1208
1209#line 3141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1210 omc_BackendDAEUtil_checkAdjacencyMatrixSolvability(threadData, _inSyst, _funcs, _isInitial);
1211#line 1211 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1212
1213#line 3142 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1214 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1215#line 1215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1216 }
1217
1218#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1219 omc_SynchronousFeatures_partitionEquations(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (3)))))
), _ixs, _ea);
1220#line 1220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1221
1222#line 3146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1223 _unpartRemovedEqs = omc_SynchronousFeatures_partitionEquations(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 10))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (10)))))
), _rixs, _rea);
1224#line 1224 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1225
1226#line 3148 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1227 _varsPartition = arrayCreate(omc_BackendVariable_varsSize(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (2)))))
)), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)));
1228#line 1228 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1229
1230#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1231 tmp3 = ((modelica_integer) 1); tmp4 = 1; tmp5 = omc_BackendVariable_varsSize(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (2)))))
));
1232#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1233 if(!(((tmp4 > 0) && (tmp3 > tmp5)) || ((tmp4 < 0) && (tmp3 < tmp5))))
1234#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1235 {
1236#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1237 modelica_integer _i;
1238#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1239 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp3, tmp5); _i += tmp4)
1240#line 3149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1241 {
1242#line 3150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1243 omc_SynchronousFeatures_setVarPartition(threadData, _varsPartition, _i, arrayGet(_mT,_i)nobox_arrayGet(threadData,_mT,_i) /* DAE.ASUB */, _ixs);
1244#line 1244 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1245
1246#line 3151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1247 omc_SynchronousFeatures_setVarPartition(threadData, _varsPartition, _i, arrayGet(_rmT,_i)nobox_arrayGet(threadData,_rmT,_i) /* DAE.ASUB */, _rixs);
1248#line 1248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1249 }
1250 }
1251
1252#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1253 tmp6 = arrayLength(_varsPartition); tmp7 = ((modelica_integer) -1); tmp8 = ((modelica_integer) 1);
1254#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1255 if(!(((tmp7 > 0) && (tmp6 > tmp8)) || ((tmp7 < 0) && (tmp6 < tmp8))))
1256#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1257 {
1258#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1259 modelica_integer _i;
1260#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1261 for(_i = arrayLength(_varsPartition); in_range_integer(_i, tmp6, tmp8); _i += tmp7)
1262#line 3153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1263 {
1264#line 3154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1265 if((mmc_unbox_integer(arrayGet(_varsPartition,_i) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_varsPartition,_i))
) >> 1)
!= ((modelica_integer) 0)))
1266#line 3154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1267 {
1268#line 3155 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1269 _lstVars = arrayGet(_va,mmc_unbox_integer(arrayGet(_varsPartition,_i) /* DAE.ASUB */))nobox_arrayGet(threadData,_va,(((mmc_sint_t) (nobox_arrayGet(
threadData,_varsPartition,_i))) >> 1))
/* DAE.ASUB */;
1270#line 1270 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1271
1272#line 3156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1273 tmpMeta[1] = mmc_mk_cons(omc_BackendVariable_getVarAt(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (2)))))
), _i), _lstVars);
1274#line 3156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1275 arrayUpdate(_va, mmc_unbox_integer(arrayGet(_varsPartition,_i) /* DAE.ASUB */), tmpMeta[1])boxptr_arrayUpdate(threadData,_va,mmc_mk_icon((((mmc_sint_t) (
nobox_arrayGet(threadData,_varsPartition,_i))) >> 1)),tmpMeta
[1])
;
1276#line 1276 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1277 }
1278 }
1279 }
1280
1281#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1282 tmp10 = ((modelica_integer) 1); tmp11 = 1; tmp12 = _n;
1283#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1284 if(!(((tmp11 > 0) && (tmp10 > tmp12)) || ((tmp11 < 0) && (tmp10 < tmp12))))
1285#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1286 {
1287#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1288 modelica_integer _i;
1289#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1290 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp10, tmp12); _i += tmp11)
1291#line 3160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1292 {
1293#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1294 /* Pattern-matching tuple assignment */
1295#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1296 tmpMeta[3] = mmc_mk_box2(0, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_throwNoError)((_throwNoError) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1297#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1298 tmpMeta[4] = omc_SynchronousFeatures_createEqSystem(threadData, arrayGet(_ea,_i)nobox_arrayGet(threadData,_ea,_i) /* DAE.ASUB */, arrayGet(_va,_i)nobox_arrayGet(threadData,_va,_i) /* DAE.ASUB */, arrayGet(_rea,_i)nobox_arrayGet(threadData,_rea,_i) /* DAE.ASUB */, tmpMeta[3], &tmpMeta[1]);
1299#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1300 _syst = tmpMeta[4];
1301#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1302 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1303#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1304 tmp9 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1305#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1306 _b = tmp9 /* pattern as ty=Boolean */;
1307#line 1307 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1308
1309#line 3162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1310 tmpMeta[1] = mmc_mk_cons(_syst, _systs);
1311#line 3162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1312 _systs = tmpMeta[1];
1313#line 1313 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1314
1315#line 3163 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1316 _b1 = (_b1 && _b);
1317#line 1317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1318 }
1319 }
1320
1321#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1322 /* Pattern-matching assignment */
1323#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1324 tmp13 = (_throwNoError || _b1);
1325#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1326 if (1 != tmp13) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1327#line 1327 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1328
1329#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1330 _systs = listReverse(_systs);
1331#line 1331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1332 _return: OMC_LABEL_UNUSED__attribute__((unused))
1333 if (out_unpartRemovedEqs) { *out_unpartRemovedEqs = _unpartRemovedEqs; }
1334 if (out_varPartMap) { *out_varPartMap = _varPartMap; }
1335 return _systs;
1336}
1337modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksSplitBlocks(threadData_t *threadData, modelica_metatype _n, modelica_metatype _inSyst, modelica_metatype _ixs, modelica_metatype _rixs, modelica_metatype _mT, modelica_metatype _rmT, modelica_metatype _throwNoError, modelica_metatype _funcs, modelica_metatype _isInitial, modelica_metatype *out_unpartRemovedEqs, modelica_metatype *out_varPartMap)
1338{
1339 modelica_integer tmp1;
1340 modelica_integer tmp2;
1341 modelica_integer tmp3;
1342 modelica_metatype _systs = NULL((void*)0);
1343 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1344 tmp1 = mmc_unbox_integer(_n)(((mmc_sint_t) (_n)) >> 1);
1345 tmp2 = mmc_unbox_integer(_throwNoError)(((mmc_sint_t) (_throwNoError)) >> 1);
1346 tmp3 = mmc_unbox_integer(_isInitial)(((mmc_sint_t) (_isInitial)) >> 1);
1347 _systs = omc_SynchronousFeatures_partitionIndependentBlocksSplitBlocks(threadData, tmp1, _inSyst, _ixs, _rixs, _mT, _rmT, tmp2, _funcs, tmp3, out_unpartRemovedEqs, out_varPartMap);
1348 /* skip box _systs; list<BackendDAE.EqSystem> */
1349 /* skip box _unpartRemovedEqs; list<BackendDAE.Equation> */
1350 /* skip box _varPartMap; array<#Integer> */
1351 return _systs;
1352}
1353
1354PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData_t *threadData, modelica_integer _ix, modelica_integer _n, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1355{
1356 modelica_boolean _ochange;
1357 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1358 MMC_SO()mmc_check_stackoverflow(threadData);
1359 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1360 // _ochange has no default value.
1361#line 3090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1362 _ochange = (mmc_unbox_integer(arrayGet(_rixs, _ix))(((mmc_sint_t) (nobox_arrayGet(threadData,_rixs,_ix))) >>
1)
== ((modelica_integer) 0));
1363#line 1363 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1364
1365#line 3092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1366 if(_ochange)
1367#line 3092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1368 {
1369#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1370 arrayUpdate(_rixs, _ix, mmc_mk_integer(_n))boxptr_arrayUpdate(threadData,_rixs,mmc_mk_icon(_ix),mmc_mk_icon
(_n))
;
1371#line 1371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1372
1373#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1374 {
1375#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1376 modelica_metatype _i;
1377#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1378 for (tmpMeta[0] = arrayGet(_rm, _ix)nobox_arrayGet(threadData,_rm,_ix); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1379#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1380 {
1381#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1382 _i = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1383#line 3095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1384 if((!mmc_unbox_boolean(arrayGet(_rvars, labs(mmc_unbox_integer(_i))))(((mmc_sint_t) (nobox_arrayGet(threadData,_rvars,labs((((mmc_sint_t
) (_i)) >> 1))))) >> 1)
))
1385#line 3095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1386 {
1387#line 3096 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1388 arrayUpdate(_rvars, labs(mmc_unbox_integer(_i)), mmc_mk_boolean(1))boxptr_arrayUpdate(threadData,_rvars,mmc_mk_icon(labs((((mmc_sint_t
) (_i)) >> 1))),((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon
(0))))
;
1389#line 1389 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1390
1391#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1392 {
1393#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1394 modelica_metatype _j;
1395#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1396 for (tmpMeta[1] = arrayGet(_mT, labs(mmc_unbox_integer(_i)))nobox_arrayGet(threadData,_mT,labs((((mmc_sint_t) (_i)) >>
1)))
; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1397#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1398 {
1399#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1400 _j = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1401#line 3098 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1402 omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData, labs(mmc_unbox_integer(_j)(((mmc_sint_t) (_j)) >> 1)), _n, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1403#line 1403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1404 }
1405 }
1406
1407#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1408 {
1409#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1410 modelica_metatype _j;
1411#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1412 for (tmpMeta[1] = arrayGet(_rmT, labs(mmc_unbox_integer(_i)))nobox_arrayGet(threadData,_rmT,labs((((mmc_sint_t) (_i)) >>
1)))
; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1413#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1414 {
1415#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1416 _j = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1417#line 3101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1418 omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData, labs(mmc_unbox_integer(_j)(((mmc_sint_t) (_j)) >> 1)), _n, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1419#line 1419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1420 }
1421 }
1422 }
1423 }
1424 }
1425 }
1426 _return: OMC_LABEL_UNUSED__attribute__((unused))
1427 return _ochange;
1428}
1429PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksReq(threadData_t *threadData, modelica_metatype _ix, modelica_metatype _n, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1430{
1431 modelica_integer tmp1;
1432 modelica_integer tmp2;
1433 modelica_boolean _ochange;
1434 modelica_metatype out_ochange;
1435 tmp1 = mmc_unbox_integer(_ix)(((mmc_sint_t) (_ix)) >> 1);
1436 tmp2 = mmc_unbox_integer(_n)(((mmc_sint_t) (_n)) >> 1);
1437 _ochange = omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData, tmp1, tmp2, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1438 out_ochange = mmc_mk_icon(_ochange);
1439 return out_ochange;
1440}
1441
1442PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData_t *threadData, modelica_integer _eqIdx, modelica_integer _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1443{
1444 modelica_boolean _ochange;
1445 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1446 MMC_SO()mmc_check_stackoverflow(threadData);
1447 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1448 // _ochange has no default value.
1449#line 3060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1450 _ochange = (mmc_unbox_integer(arrayGet(_eqPartMap, _eqIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_eqPartMap,_eqIdx))
) >> 1)
== ((modelica_integer) 0));
1451#line 1451 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1452
1453#line 3062 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1454 if(_ochange)
1455#line 3062 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1456 {
1457#line 3063 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1458 arrayUpdate(_eqPartMap, _eqIdx, mmc_mk_integer(_partIdx))boxptr_arrayUpdate(threadData,_eqPartMap,mmc_mk_icon(_eqIdx),
mmc_mk_icon(_partIdx))
;
1459#line 1459 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1460
1461#line 3064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1462 {
1463#line 3064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1464 modelica_metatype _varIdx;
1465#line 3064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1466 for (tmpMeta[0] = arrayGet(_m, _eqIdx)nobox_arrayGet(threadData,_m,_eqIdx); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1467#line 3064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1468 {
1469#line 3064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1470 _varIdx = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1471#line 3065 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1472 if((!mmc_unbox_boolean(arrayGet(_vars, labs(mmc_unbox_integer(_varIdx))))(((mmc_sint_t) (nobox_arrayGet(threadData,_vars,labs((((mmc_sint_t
) (_varIdx)) >> 1))))) >> 1)
))
1473#line 3065 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1474 {
1475#line 3066 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1476 arrayUpdate(_vars, labs(mmc_unbox_integer(_varIdx)), mmc_mk_boolean(1))boxptr_arrayUpdate(threadData,_vars,mmc_mk_icon(labs((((mmc_sint_t
) (_varIdx)) >> 1))),((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon
(0))))
;
1477#line 1477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1478
1479#line 3067 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1480 arrayUpdate(_varPartMap, labs(mmc_unbox_integer(_varIdx)), mmc_mk_integer(_partIdx))boxptr_arrayUpdate(threadData,_varPartMap,mmc_mk_icon(labs(((
(mmc_sint_t) (_varIdx)) >> 1))),mmc_mk_icon(_partIdx))
;
1481#line 1481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1482
1483#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1484 {
1485#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1486 modelica_metatype _nextEqIdx;
1487#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1488 for (tmpMeta[1] = arrayGet(_mT, labs(mmc_unbox_integer(_varIdx)))nobox_arrayGet(threadData,_mT,labs((((mmc_sint_t) (_varIdx)) >>
1)))
; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1489#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1490 {
1491#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1492 _nextEqIdx = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1493#line 3069 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1494 omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData, labs(mmc_unbox_integer(_nextEqIdx)(((mmc_sint_t) (_nextEqIdx)) >> 1)), _partIdx, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1495#line 1495 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1496 }
1497 }
1498
1499#line 3071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1500 {
1501#line 3071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1502 modelica_metatype _nextEqIdx;
1503#line 3071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1504 for (tmpMeta[1] = arrayGet(_rmT, labs(mmc_unbox_integer(_varIdx)))nobox_arrayGet(threadData,_rmT,labs((((mmc_sint_t) (_varIdx))
>> 1)))
; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1505#line 3071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1506 {
1507#line 3071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1508 _nextEqIdx = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1509#line 3072 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1510 omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData, labs(mmc_unbox_integer(_nextEqIdx)(((mmc_sint_t) (_nextEqIdx)) >> 1)), _partIdx, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1511#line 1511 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1512 }
1513 }
1514 }
1515 }
1516 }
1517 }
1518 _return: OMC_LABEL_UNUSED__attribute__((unused))
1519 return _ochange;
1520}
1521PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksEq(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1522{
1523 modelica_integer tmp1;
1524 modelica_integer tmp2;
1525 modelica_boolean _ochange;
1526 modelica_metatype out_ochange;
1527 tmp1 = mmc_unbox_integer(_eqIdx)(((mmc_sint_t) (_eqIdx)) >> 1);
1528 tmp2 = mmc_unbox_integer(_partIdx)(((mmc_sint_t) (_partIdx)) >> 1);
1529 _ochange = omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData, tmp1, tmp2, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1530 out_ochange = mmc_mk_icon(_ochange);
1531 return out_ochange;
1532}
1533
1534PROTECTED_FUNCTION_STATIC modelica_integer omc_SynchronousFeatures_partitionIndependentBlocksMasked(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _mask, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _vars, modelica_metatype _rvars)
1535{
1536 modelica_integer _on;
1537 modelica_integer tmp1;
1538 modelica_integer tmp2;
1539 modelica_integer tmp3;
1540 modelica_integer tmp4;
1541 modelica_integer tmp5;
1542 modelica_integer tmp6;
1543 modelica_integer tmp7;
1544 modelica_integer tmp8;
1545 modelica_integer tmp9;
1546 MMC_SO()mmc_check_stackoverflow(threadData);
1547 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1548 _on = ((modelica_integer) 0);
1549#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1550 tmp1 = arrayLength(_m); tmp2 = ((modelica_integer) -1); tmp3 = ((modelica_integer) 1);
1551#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1552 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1553#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1554 {
1555#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1556 modelica_integer _i;
1557#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1558 for(_i = arrayLength(_m); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
1559#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1560 {
1561#line 3038 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1562 if(mmc_unbox_boolean(arrayGet(_mask,_i) /* DAE.ASUB */)(((mmc_sint_t) (nobox_arrayGet(threadData,_mask,_i))) >>
1)
)
1563#line 3038 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1564 {
1565#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1566 _on = (omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData, _i, ((modelica_integer) 1) + _on, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _remEqPartMap, _vars, _rvars)?((modelica_integer) 1) + _on:_on);
1567#line 1567 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1568 }
1569 }
1570 }
1571
1572#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1573 tmp4 = arrayLength(_rm); tmp5 = ((modelica_integer) -1); tmp6 = ((modelica_integer) 1);
1574#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1575 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
1576#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1577 {
1578#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1579 modelica_integer _i;
1580#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1581 for(_i = arrayLength(_rm); in_range_integer(_i, tmp4, tmp6); _i += tmp5)
1582#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1583 {
1584#line 3043 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1585 _on = (omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData, _i, ((modelica_integer) 1) + _on, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _remEqPartMap, _vars, _rvars)?((modelica_integer) 1) + _on:_on);
1586#line 1586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1587 }
1588 }
1589
1590#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1591 tmp7 = ((modelica_integer) 1); tmp8 = 1; tmp9 = arrayLength(_rm);
1592#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1593 if(!(((tmp8 > 0) && (tmp7 > tmp9)) || ((tmp8 < 0) && (tmp7 < tmp9))))
1594#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1595 {
1596#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1597 modelica_integer _i;
1598#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1599 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp7, tmp9); _i += tmp8)
1600#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1601 {
1602#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1603 }
1604#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1605 }
1606#line 1606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1607 _return: OMC_LABEL_UNUSED__attribute__((unused))
1608 return _on;
1609}
1610PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocksMasked(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _mask, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _remEqPartMap, modelica_metatype _vars, modelica_metatype _rvars)
1611{
1612 modelica_integer _on;
1613 modelica_metatype out_on;
1614 _on = omc_SynchronousFeatures_partitionIndependentBlocksMasked(threadData, _m, _mT, _rm, _rmT, _mask, _eqPartMap, _varPartMap, _remEqPartMap, _vars, _rvars);
1615 out_on = mmc_mk_icon(_on);
1616 return out_on;
1617}
1618
1619PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_partitionIndependentBlocks2(threadData_t *threadData, modelica_integer _eqIdx, modelica_integer _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap)
1620{
1621 modelica_boolean _ochange;
1622 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1623 MMC_SO()mmc_check_stackoverflow(threadData);
1624 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1625 // _ochange has no default value.
1626#line 3013 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1627 _ochange = (mmc_unbox_integer(arrayGet(_eqPartMap, _eqIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_eqPartMap,_eqIdx))
) >> 1)
== ((modelica_integer) -1));
1628#line 1628 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1629
1630#line 3014 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1631 if(_ochange)
1632#line 3014 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1633 {
1634#line 3015 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1635 arrayUpdate(_eqPartMap, _eqIdx, mmc_mk_integer(_partIdx))boxptr_arrayUpdate(threadData,_eqPartMap,mmc_mk_icon(_eqIdx),
mmc_mk_icon(_partIdx))
;
1636#line 1636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1637
1638#line 3016 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1639 {
1640#line 3016 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1641 modelica_metatype _var;
1642#line 3016 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1643 for (tmpMeta[0] = arrayGet(_m, _eqIdx)nobox_arrayGet(threadData,_m,_eqIdx); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1644#line 3016 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1645 {
1646#line 3016 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1647 _var = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1648#line 3017 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1649 if((!(mmc_unbox_integer(arrayGet(_varPartMap, labs(mmc_unbox_integer(_var))))(((mmc_sint_t) (nobox_arrayGet(threadData,_varPartMap,labs(((
(mmc_sint_t) (_var)) >> 1))))) >> 1)
> ((modelica_integer) 0))))
1650#line 3017 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1651 {
1652#line 3018 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1653 arrayUpdate(_varPartMap, labs(mmc_unbox_integer(_var)), mmc_mk_integer(_partIdx))boxptr_arrayUpdate(threadData,_varPartMap,mmc_mk_icon(labs(((
(mmc_sint_t) (_var)) >> 1))),mmc_mk_icon(_partIdx))
;
1654#line 1654 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1655
1656#line 3019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1657 {
1658#line 3019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1659 modelica_metatype _newEq;
1660#line 3019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1661 for (tmpMeta[1] = arrayGet(_mT, labs(mmc_unbox_integer(_var)))nobox_arrayGet(threadData,_mT,labs((((mmc_sint_t) (_var)) >>
1)))
; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1662#line 3019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1663 {
1664#line 3019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1665 _newEq = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1666#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1667 omc_SynchronousFeatures_partitionIndependentBlocks2(threadData, labs(mmc_unbox_integer(_newEq)(((mmc_sint_t) (_newEq)) >> 1)), _partIdx, _m, _mT, _eqPartMap, _varPartMap);
1668#line 1668 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1669 }
1670 }
1671 }
1672 }
1673 }
1674 }
1675 _return: OMC_LABEL_UNUSED__attribute__((unused))
1676 return _ochange;
1677}
1678PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocks2(threadData_t *threadData, modelica_metatype _eqIdx, modelica_metatype _partIdx, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap)
1679{
1680 modelica_integer tmp1;
1681 modelica_integer tmp2;
1682 modelica_boolean _ochange;
1683 modelica_metatype out_ochange;
1684 tmp1 = mmc_unbox_integer(_eqIdx)(((mmc_sint_t) (_eqIdx)) >> 1);
1685 tmp2 = mmc_unbox_integer(_partIdx)(((mmc_sint_t) (_partIdx)) >> 1);
1686 _ochange = omc_SynchronousFeatures_partitionIndependentBlocks2(threadData, tmp1, tmp2, _m, _mT, _eqPartMap, _varPartMap);
1687 out_ochange = mmc_mk_icon(_ochange);
1688 return out_ochange;
1689}
1690
1691PROTECTED_FUNCTION_STATIC modelica_integer omc_SynchronousFeatures_partitionIndependentBlocks(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap)
1692{
1693 modelica_integer _on;
1694 modelica_integer tmp1;
1695 modelica_integer tmp2;
1696 modelica_integer tmp3;
1697 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1698 MMC_SO()mmc_check_stackoverflow(threadData);
1699 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1700 _on = ((modelica_integer) 0);
1701#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1702 tmp1 = arrayLength(_m); tmp2 = ((modelica_integer) -1); tmp3 = ((modelica_integer) 1);
1703#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1704 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1705#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1706 {
1707#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1708 modelica_integer _eq;
1709#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1710 for(_eq = arrayLength(_m); in_range_integer(_eq, tmp1, tmp3); _eq += tmp2)
1711#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1712 {
1713#line 2996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1714 tmpMeta[0] = stringAppend(_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)),intString(_eq));
1715#line 2996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1716 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1717#line 2996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1718 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
1719#line 1719 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1720
1721#line 2997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1722 if((!(mmc_unbox_integer(arrayGet(_eqPartMap, _eq))(((mmc_sint_t) (nobox_arrayGet(threadData,_eqPartMap,_eq))) >>
1)
== ((modelica_integer) -2))))
1723#line 2997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1724 {
1725#line 2998 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1726 _on = (omc_SynchronousFeatures_partitionIndependentBlocks2(threadData, _eq, ((modelica_integer) 1) + _on, _m, _mT, _eqPartMap, _varPartMap)?((modelica_integer) 1) + _on:_on);
1727#line 1727 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1728 }
1729 }
1730 }
1731 _return: OMC_LABEL_UNUSED__attribute__((unused))
1732 return _on;
1733}
1734PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocks(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap)
1735{
1736 modelica_integer _on;
1737 modelica_metatype out_on;
1738 _on = omc_SynchronousFeatures_partitionIndependentBlocks(threadData, _m, _mT, _eqPartMap, _varPartMap);
1739 out_on = mmc_mk_icon(_on);
1740 return out_on;
1741}
1742
1743DLLExport
1744modelica_integer omc_SynchronousFeatures_partitionIndependentBlocks0(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1745{
1746 modelica_integer _on;
1747 modelica_integer tmp1;
1748 modelica_integer tmp2;
1749 modelica_integer tmp3;
1750 modelica_integer tmp4;
1751 modelica_integer tmp5;
1752 modelica_integer tmp6;
1753 MMC_SO()mmc_check_stackoverflow(threadData);
1754 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1755 _on = ((modelica_integer) 0);
1756#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1757 tmp1 = arrayLength(_m); tmp2 = ((modelica_integer) -1); tmp3 = ((modelica_integer) 1);
1758#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1759 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1760#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1761 {
1762#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1763 modelica_integer _i;
1764#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1765 for(_i = arrayLength(_m); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
1766#line 2980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1767 {
1768#line 2981 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1769 _on = (omc_SynchronousFeatures_partitionIndependentBlocksEq(threadData, _i, ((modelica_integer) 1) + _on, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars)?((modelica_integer) 1) + _on:_on);
1770#line 1770 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1771 }
1772 }
1773
1774#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1775 tmp4 = arrayLength(_rm); tmp5 = ((modelica_integer) -1); tmp6 = ((modelica_integer) 1);
1776#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1777 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
1778#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1779 {
1780#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1781 modelica_integer _i;
1782#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1783 for(_i = arrayLength(_rm); in_range_integer(_i, tmp4, tmp6); _i += tmp5)
1784#line 2983 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1785 {
1786#line 2984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1787 _on = (omc_SynchronousFeatures_partitionIndependentBlocksReq(threadData, _i, ((modelica_integer) 1) + _on, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars)?((modelica_integer) 1) + _on:_on);
1788#line 1788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1789 }
1790 }
1791 _return: OMC_LABEL_UNUSED__attribute__((unused))
1792 return _on;
1793}
1794modelica_metatype boxptr_SynchronousFeatures_partitionIndependentBlocks0(threadData_t *threadData, modelica_metatype _m, modelica_metatype _mT, modelica_metatype _rm, modelica_metatype _rmT, modelica_metatype _eqPartMap, modelica_metatype _varPartMap, modelica_metatype _rixs, modelica_metatype _vars, modelica_metatype _rvars)
1795{
1796 modelica_integer _on;
1797 modelica_metatype out_on;
1798 _on = omc_SynchronousFeatures_partitionIndependentBlocks0(threadData, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _rixs, _vars, _rvars);
1799 out_on = mmc_mk_icon(_on);
1800 return out_on;
1801}
1802
1803PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setClockedPartition(threadData_t *threadData, modelica_metatype _inNewPartitionType, modelica_metatype _inOldPartitionType, modelica_metatype _inComp, modelica_metatype _info)
1804{
1805 modelica_metatype _outPartitionType = NULL((void*)0);
1806 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1807 MMC_SO()mmc_check_stackoverflow(threadData);
1808 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1809 // _outPartitionType has no default value.
1810#line 1810 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1811 { /* match expression */
1812 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1813 tmp3_1 = _inOldPartitionType;
1814 tmp3_2 = _inNewPartitionType;
1815 {
1816 modelica_boolean _newVal;
1817 modelica_boolean _oldVal;
1818 modelica_metatype _msg = NULL((void*)0);
1819 modelica_metatype _tokens = NULL((void*)0);
1820 volatile mmc_switch_type tmp3;
1821 int tmp4;
1822 // _newVal has no default value.
1823 // _oldVal has no default value.
1824 // _msg has no default value.
1825 // _tokens has no default value.
1826 tmp3 = 0;
1827 for (; tmp3 < 4; tmp3++) {
1828 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1829 case 0: {
1830 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1831
1832 /* Pattern matching succeeded */
1833#line 2959 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1834 tmpMeta[0] = _inNewPartitionType;
1835#line 1835 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1836 goto tmp2_done;
1837 }
1838 case 1: {
1839 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;
1840
1841 /* Pattern matching succeeded */
1842#line 2960 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1843 tmpMeta[0] = _inOldPartitionType;
1844#line 1844 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1845 goto tmp2_done;
1846 }
1847 case 2: {
1848 modelica_integer tmp5;
1849 modelica_integer tmp6;
1850 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1851 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1852 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1853 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;
1854 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1855 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1856 _oldVal = tmp5 /* pattern as ty=Boolean */;
1857 _newVal = tmp6 /* pattern as ty=Boolean */;
1858 /* Pattern matching succeeded */
1859 /* Check guard condition after assignments */
1860 if (!((!_oldVal && !_newVal) || (_oldVal && _newVal))) goto tmp2_end;
1861#line 2962 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1862 tmpMeta[0] = _inNewPartitionType;
1863#line 1863 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1864 goto tmp2_done;
1865 }
1866 case 3: {
1867
1868 /* Pattern matching succeeded */
1869#line 2965 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1870 _msg = omc_SynchronousFeatures_getPartitionConflictError(threadData, _inComp ,&_tokens);
1871#line 1871 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1872
1873#line 2966 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1874 omc_Error_addSourceMessage(threadData, _msg, _tokens, _info);
1875#line 1875 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1876#line 2967 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1877 goto goto_1;
1878#line 1878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1879 goto tmp2_done;
1880 }
1881 }
1882 goto tmp2_end;
1883 tmp2_end: ;
1884 }
1885 goto goto_1;
1886 goto_1:;
1887 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1888 goto tmp2_done;
1889 tmp2_done:;
1890 }
1891 }
1892 _outPartitionType = tmpMeta[0];
1893 _return: OMC_LABEL_UNUSED__attribute__((unused))
1894 return _outPartitionType;
1895}
1896
1897PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getPartitionConflictError(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype *out_tokens)
1898{
1899 modelica_metatype _msg = NULL((void*)0);
1900 modelica_metatype _tokens = NULL((void*)0);
1901 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1902 MMC_SO()mmc_check_stackoverflow(threadData);
1903 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1904 // _msg has no default value.
1905 // _tokens has no default value.
1906#line 2939 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1907
1908#line 2939 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1909
1910#line 1910 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1911 { /* match expression */
1912 modelica_metatype tmp4_1;
1913 tmp4_1 = _inComp;
1914 {
1915 modelica_metatype _cr = NULL((void*)0);
1916 volatile mmc_switch_type tmp4;
1917 int tmp5;
1918 // _cr has no default value.
1919 tmp4 = 0;
1920 for (; tmp4 < 2; tmp4++) {
1921 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1922 case 0: {
1923 if (optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
1924 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1925 _cr = tmpMeta[2];
1926 /* Pattern matching succeeded */
1927#line 2941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1928 tmpMeta[2] = mmc_mk_cons(omc_ComponentReference_printComponentRefStr(threadData, _cr), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1929#line 2941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1930 tmpMeta[0+0] = _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3));
1931#line 2941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1932 tmpMeta[0+1] = tmpMeta[2];
1933#line 1933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1934 goto tmp3_done;
1935 }
1936 case 1: {
1937
1938 /* Pattern matching succeeded */
1939#line 2943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1940 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1941#line 2943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1942 tmpMeta[0+0] = _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3));
1943#line 2943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1944 tmpMeta[0+1] = tmpMeta[2];
1945#line 1945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1946 goto tmp3_done;
1947 }
1948 }
1949 goto tmp3_end;
1950 tmp3_end: ;
1951 }
1952 goto goto_2;
1953 goto_2:;
1954 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1955 goto tmp3_done;
1956 tmp3_done:;
1957 }
1958 }
1959 _msg = tmpMeta[0+0];
1960 _tokens = tmpMeta[0+1];
1961 _return: OMC_LABEL_UNUSED__attribute__((unused))
1962 if (out_tokens) { *out_tokens = _tokens; }
1963 return _msg;
1964}
1965
1966PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_setSystPartition(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inPartitionKind)
1967{
1968 modelica_metatype _outSyst = NULL((void*)0);
1969 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1970 MMC_SO()mmc_check_stackoverflow(threadData);
1971 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1972 // _outSyst has no default value.
1973#line 1973 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1974 { /* match expression */
1975 modelica_metatype tmp3_1;
1976 tmp3_1 = _inSyst;
1977 {
1978 modelica_metatype _syst = NULL((void*)0);
1979 volatile mmc_switch_type tmp3;
1980 int tmp4;
1981 // _syst has no default value.
1982 tmp3 = 0;
1983 for (; tmp3 < 1; tmp3++) {
1984 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1985 case 0: {
1986
1987 _syst = tmp3_1;
1988 /* Pattern matching succeeded */
1989#line 2929 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1990 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
1991#line 2929 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1992 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_syst)((void*)((char*)(_syst) - 3)), 11*sizeof(modelica_metatype));
1993#line 2929 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1994 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[9] = _inPartitionKind;
1995#line 2929 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1996 _syst = tmpMeta[1];
1997#line 1997 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
1998#line 2930 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
1999 tmpMeta[0] = _syst;
2000#line 2000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2001 goto tmp2_done;
2002 }
2003 }
2004 goto tmp2_end;
2005 tmp2_end: ;
2006 }
2007 goto goto_1;
2008 goto_1:;
2009 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2010 goto tmp2_done;
2011 tmp2_done:;
2012 }
2013 }
2014 _outSyst = tmpMeta[0];
2015 _return: OMC_LABEL_UNUSED__attribute__((unused))
2016 return _outSyst;
2017}
2018
2019PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionCall1(threadData_t *threadData, modelica_boolean _expClocked, modelica_boolean _refClocked, modelica_metatype _inPartition, modelica_metatype _inExp, modelica_metatype _inRefs, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_boolean *out_cont)
2020{
2021 modelica_metatype _outPartition = NULL((void*)0);
2022 modelica_metatype _outRefs = NULL((void*)0);
2023 modelica_boolean _cont;
2024 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2025 MMC_SO()mmc_check_stackoverflow(threadData);
2026 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2027 // _outPartition has no default value.
2028 // _outRefs has no default value.
2029 _cont = 0;
2030#line 2906 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2031
2032#line 2906 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2033
2034#line 2034 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2035 { /* match expression */
2036 modelica_metatype tmp4_1;
2037 tmp4_1 = _inExp;
2038 {
2039 modelica_metatype _cr = NULL((void*)0);
2040 volatile mmc_switch_type tmp4;
2041 int tmp5;
2042 // _cr has no default value.
2043 tmp4 = 0;
2044 for (; tmp4 < 2; tmp4++) {
2045 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2046 case 0: {
2047 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2048 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2049
2050 _cr = tmpMeta[2];
2051 /* Pattern matching succeeded */
2052#line 2911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2053 tmpMeta[3] = mmc_mk_box2(0, _cr, mmc_mk_boolean(_refClocked)((_refClocked) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2054#line 2911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2055 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], _inRefs);
2056#line 2911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2057 tmpMeta[0+0] = omc_SynchronousFeatures_setClockedPartition(threadData, mmc_mk_some(mmc_mk_boolean(_expClocked)((_expClocked) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0)))), _inPartition, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _info);
2058#line 2911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2059 tmpMeta[0+1] = tmpMeta[2];
2060#line 2060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2061 goto tmp3_done;
2062 }
2063 case 1: {
2064
2065 /* Pattern matching succeeded */
2066#line 2914 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2067 omc_Error_addInternalError(threadData, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
2068#line 2068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2069#line 2915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2070 goto goto_2;
2071#line 2071 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2072 goto tmp3_done;
2073 }
2074 }
2075 goto tmp3_end;
2076 tmp3_end: ;
2077 }
2078 goto goto_2;
2079 goto_2:;
2080 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2081 goto tmp3_done;
2082 tmp3_done:;
2083 }
2084 }
2085 _outPartition = tmpMeta[0+0];
2086 _outRefs = tmpMeta[0+1];
2087 _return: OMC_LABEL_UNUSED__attribute__((unused))
2088 if (out_outRefs) { *out_outRefs = _outRefs; }
2089 if (out_cont) { *out_cont = _cont; }
2090 return _outPartition;
2091}
2092PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionCall1(threadData_t *threadData, modelica_metatype _expClocked, modelica_metatype _refClocked, modelica_metatype _inPartition, modelica_metatype _inExp, modelica_metatype _inRefs, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_metatype *out_cont)
2093{
2094 modelica_integer tmp1;
2095 modelica_integer tmp2;
2096 modelica_boolean _cont;
2097 modelica_metatype _outPartition = NULL((void*)0);
2098 tmp1 = mmc_unbox_integer(_expClocked)(((mmc_sint_t) (_expClocked)) >> 1);
2099 tmp2 = mmc_unbox_integer(_refClocked)(((mmc_sint_t) (_refClocked)) >> 1);
2100 _outPartition = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, tmp1, tmp2, _inPartition, _inExp, _inRefs, _info, out_outRefs, &_cont);
2101 /* skip box _outPartition; Option<#Boolean> */
2102 /* skip box _outRefs; list<tuple<DAE.ComponentRef, #Boolean>> */
2103 if (out_cont) { *out_cont = mmc_mk_icon(_cont); }
2104 return _outPartition;
2105}
2106
2107PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inRefs, modelica_metatype _inPartition, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_boolean *out_cont)
2108{
2109 modelica_metatype _outPartition = NULL((void*)0);
2110 modelica_metatype _outRefs = NULL((void*)0);
2111 modelica_boolean _cont;
2112 modelica_boolean tmp1_c2 __attribute__((unused)) = 0;
2113 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
2114 MMC_SO()mmc_check_stackoverflow(threadData);
2115 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2116 // _outPartition has no default value.
2117 // _outRefs has no default value.
2118 // _cont has no default value.
2119#line 2874 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2120
2121#line 2874 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2122
2123#line 2874 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2124
2125#line 2125 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2126 { /* match expression */
2127 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
2128 tmp4_1 = _inPath;
2129 tmp4_2 = _inExps;
2130 {
2131 modelica_metatype _e = NULL((void*)0);
2132 volatile mmc_switch_type tmp4;
2133 int tmp5;
2134 // _e has no default value.
2135 tmp4 = 0;
2136 for (; tmp4 < 8; tmp4++) {
2137 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2138 case 0: {
2139 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2140 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2141 if (4 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT30)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT30).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2142 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2143 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2144 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2145 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2146 _e = tmpMeta[4];
2147 /* Pattern matching succeeded */
2148#line 2878 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2149 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 0, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2150#line 2150 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2151 goto tmp3_done;
2152 }
2153 case 1: {
2154 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2155 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2156 if (6 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2157 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2158 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2159 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2160 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2161 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2162 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2163 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2164 _e = tmpMeta[4];
2165 /* Pattern matching succeeded */
2166#line 2880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2167 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 0, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2168#line 2168 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2169 goto tmp3_done;
2170 }
2171 case 2: {
2172 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2173 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2174 if (9 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2175 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2176 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2177 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2178 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2179 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2180 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2181 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2182 _e = tmpMeta[4];
2183 /* Pattern matching succeeded */
2184#line 2882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2185 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2186#line 2186 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2187 goto tmp3_done;
2188 }
2189 case 3: {
2190 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2191 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2192 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2193 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2194 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2195 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2196 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2197 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2198 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2199 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2200 _e = tmpMeta[4];
2201 /* Pattern matching succeeded */
2202#line 2884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2203 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2204#line 2204 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2205 goto tmp3_done;
2206 }
2207 case 4: {
2208 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2209 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2210 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2211 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2212 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2213 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2214 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2215 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2216 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2217 if (listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2218 tmpMeta[8] = MMC_CAR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (1)))))
;
2219 tmpMeta[9] = MMC_CDR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2220 if (!listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2221 _e = tmpMeta[4];
2222 /* Pattern matching succeeded */
2223#line 2886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2224 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2225#line 2225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2226 goto tmp3_done;
2227 }
2228 case 5: {
2229 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2230 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2231 if (10 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2232 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2233 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2234 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2235 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2236 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2237 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2238 if (listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2239 tmpMeta[8] = MMC_CAR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (1)))))
;
2240 tmpMeta[9] = MMC_CDR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2241 if (!listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2242 _e = tmpMeta[4];
2243 /* Pattern matching succeeded */
2244#line 2888 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2245 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2246#line 2246 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2247 goto tmp3_done;
2248 }
2249 case 6: {
2250 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2251 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2252 if (7 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT36)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT36).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2253 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2254 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2255 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2256 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2257 _e = tmpMeta[4];
2258 /* Pattern matching succeeded */
2259#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2260 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall1(threadData, 1, 1, _inPartition, _e, _inRefs, _info, &tmpMeta[0+1], &tmp1_c2);
2261#line 2261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2262 goto tmp3_done;
2263 }
2264 case 7: {
2265
2266 /* Pattern matching succeeded */
2267#line 2891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2268 tmpMeta[0+0] = _inPartition;
2269#line 2891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2270 tmpMeta[0+1] = _inRefs;
2271#line 2891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2272 tmp1_c2 = 1;
2273#line 2273 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2274 goto tmp3_done;
2275 }
2276 }
2277 goto tmp3_end;
2278 tmp3_end: ;
2279 }
2280 goto goto_2;
2281 goto_2:;
2282 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2283 goto tmp3_done;
2284 tmp3_done:;
2285 }
2286 }
2287 _outPartition = tmpMeta[0+0];
2288 _outRefs = tmpMeta[0+1];
2289 _cont = tmp1_c2;
2290 _return: OMC_LABEL_UNUSED__attribute__((unused))
2291 if (out_outRefs) { *out_outRefs = _outRefs; }
2292 if (out_cont) { *out_cont = _cont; }
2293 return _outPartition;
2294}
2295PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inRefs, modelica_metatype _inPartition, modelica_metatype _info, modelica_metatype *out_outRefs, modelica_metatype *out_cont)
2296{
2297 modelica_boolean _cont;
2298 modelica_metatype _outPartition = NULL((void*)0);
2299 _outPartition = omc_SynchronousFeatures_detectEqPartitionCall(threadData, _inPath, _inExps, _inRefs, _inPartition, _info, out_outRefs, &_cont);
2300 /* skip box _outPartition; Option<#Boolean> */
2301 /* skip box _outRefs; list<tuple<DAE.ComponentRef, #Boolean>> */
2302 if (out_cont) { *out_cont = mmc_mk_icon(_cont); }
2303 return _outPartition;
2304}
2305
2306PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl)
2307{
2308 modelica_metatype _outExp = NULL((void*)0);
2309 modelica_boolean _cont;
2310 modelica_metatype _outTpl = NULL((void*)0);
2311 modelica_metatype _refs = NULL((void*)0);
2312 modelica_metatype _partition = NULL((void*)0);
2313 modelica_metatype _info = NULL((void*)0);
2314 modelica_boolean tmp1_c2 __attribute__((unused)) = 0;
2315 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2316 MMC_SO()mmc_check_stackoverflow(threadData);
2317 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2318 _outExp = _inExp;
2319 // _cont has no default value.
2320 // _outTpl has no default value.
2321 // _refs has no default value.
2322 // _partition has no default value.
2323 // _info has no default value.
2324#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2325 /* Pattern-matching assignment */
2326#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2327 tmpMeta[0] = _inTpl;
2328#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2329 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2330#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2331 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2332#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2333 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2334#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2335 _partition = tmpMeta[1];
2336#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2337 _refs = tmpMeta[2];
2338#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2339 _info = tmpMeta[3];
2340#line 2340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2341
2342#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2343
2344#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2345
2346#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2347
2348#line 2348 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2349 { /* match expression */
2350 modelica_metatype tmp4_1;
2351 tmp4_1 = _inExp;
2352 {
2353 modelica_metatype _path = NULL((void*)0);
2354 modelica_metatype _exps = NULL((void*)0);
2355 modelica_metatype _e = NULL((void*)0);
2356 modelica_metatype _cr = NULL((void*)0);
2357 volatile mmc_switch_type tmp4;
2358 int tmp5;
2359 // _path has no default value.
2360 // _exps has no default value.
2361 // _e has no default value.
2362 // _cr has no default value.
2363 tmp4 = 0;
2364 for (; tmp4 < 3; tmp4++) {
2365 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2366 case 0: {
2367 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
2368 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2369 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2370 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2371
2372 _e = tmpMeta[4];
2373 /* Pattern matching succeeded */
2374#line 2855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2375 /* Pattern-matching assignment */
2376#line 2855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2377 tmpMeta[3] = _e;
2378#line 2855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2379 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 goto_2;
2380#line 2855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2381 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2382#line 2855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2383 _cr = tmpMeta[4];
2384#line 2384 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2385#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2386 tmpMeta[4] = mmc_mk_box2(0, _cr, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2387#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2388 tmpMeta[3] = mmc_mk_cons(tmpMeta[4], _refs);
2389#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2390 tmpMeta[0+0] = _partition;
2391#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2392 tmpMeta[0+1] = tmpMeta[3];
2393#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2394 tmp1_c2 = 0;
2395#line 2395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2396 goto tmp3_done;
2397 }
2398 case 1: {
2399 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2400 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2401 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2402
2403 _path = tmpMeta[3];
2404 _exps = tmpMeta[4];
2405 /* Pattern matching succeeded */
2406#line 2858 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2407 tmpMeta[0+0] = omc_SynchronousFeatures_detectEqPartitionCall(threadData, _path, _exps, _refs, _partition, _info, &tmpMeta[0+1], &tmp1_c2);
2408#line 2408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2409 goto tmp3_done;
2410 }
2411 case 2: {
2412
2413 /* Pattern matching succeeded */
2414#line 2859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2415 tmpMeta[0+0] = _partition;
2416#line 2859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2417 tmpMeta[0+1] = _refs;
2418#line 2859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2419 tmp1_c2 = 1;
2420#line 2420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2421 goto tmp3_done;
2422 }
2423 }
2424 goto tmp3_end;
2425 tmp3_end: ;
2426 }
2427 goto goto_2;
2428 goto_2:;
2429 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2430 goto tmp3_done;
2431 tmp3_done:;
2432 }
2433 }
2434 _partition = tmpMeta[0+0];
2435 _refs = tmpMeta[0+1];
2436 _cont = tmp1_c2;
2437
2438#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2439 tmpMeta[0] = mmc_mk_box3(0, _partition, _refs, _info);
2440#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2441 _outTpl = tmpMeta[0];
2442#line 2442 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2443 _return: OMC_LABEL_UNUSED__attribute__((unused))
2444 if (out_cont) { *out_cont = _cont; }
2445 if (out_outTpl) { *out_outTpl = _outTpl; }
2446 return _outExp;
2447}
2448PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_detectEqPartitionExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl)
2449{
2450 modelica_boolean _cont;
2451 modelica_metatype _outExp = NULL((void*)0);
2452 _outExp = omc_SynchronousFeatures_detectEqPartitionExp1(threadData, _inExp, _inTpl, &_cont, out_outTpl);
2453 /* skip box _outExp; DAE.Exp */
2454 if (out_cont) { *out_cont = mmc_mk_icon(_cont); }
2455 /* skip box _outTpl; tuple<Option<#Boolean>, list<tuple<DAE.ComponentRef, #Boolean>>, SourceInfo> */
2456 return _outExp;
2457}
2458
2459PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartitionExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
2460{
2461 modelica_metatype _outExp = NULL((void*)0);
2462 modelica_metatype _outTpl = NULL((void*)0);
2463 MMC_SO()mmc_check_stackoverflow(threadData);
2464 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2465 // _outExp has no default value.
2466 // _outTpl has no default value.
2467#line 2832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2468 _outExp = omc_Expression_traverseExpTopDown(threadData, _inExp, boxvar_SynchronousFeatures_detectEqPartitionExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp1
).header) + 3))
, _inTpl ,&_outTpl);
2469#line 2469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2470 _return: OMC_LABEL_UNUSED__attribute__((unused))
2471 if (out_outTpl) { *out_outTpl = _outTpl; }
2472 return _outExp;
2473}
2474
2475PROTECTED_FUNCTION_STATIC modelica_string omc_SynchronousFeatures_printPartitionType(threadData_t *threadData, modelica_metatype _isClockedPartition)
2476{
2477 modelica_string _out = NULL((void*)0);
2478 modelica_string tmp1 = 0;
2479 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2480 MMC_SO()mmc_check_stackoverflow(threadData);
2481 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2482 // _out has no default value.
2483#line 2483 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2484 { /* match expression */
2485 modelica_metatype tmp4_1;
2486 tmp4_1 = _isClockedPartition;
2487 {
2488 volatile mmc_switch_type tmp4;
2489 int tmp5;
2490 tmp4 = 0;
2491 for (; tmp4 < 3; tmp4++) {
2492 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2493 case 0: {
2494 modelica_integer tmp6;
2495 if (optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2496 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2497 tmp6 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
2498 if (0 != tmp6) goto tmp3_end;
2499 /* Pattern matching succeeded */
2500#line 2820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2501 tmp1 = _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3));
2502#line 2502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2503 goto tmp3_done;
2504 }
2505 case 1: {
2506 modelica_integer tmp7;
2507 if (optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2508 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2509 tmp7 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
2510 if (1 != tmp7) goto tmp3_end;
2511 /* Pattern matching succeeded */
2512#line 2821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2513 tmp1 = _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3));
2514#line 2514 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2515 goto tmp3_done;
2516 }
2517 case 2: {
2518
2519 /* Pattern matching succeeded */
2520#line 2822 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2521 tmp1 = _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3));
2522#line 2522 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2523 goto tmp3_done;
2524 }
2525 }
2526 goto tmp3_end;
2527 tmp3_end: ;
2528 }
2529 goto goto_2;
2530 goto_2:;
2531 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2532 goto tmp3_done;
2533 tmp3_done:;
2534 }
2535 }
2536 _out = tmp1;
2537 _return: OMC_LABEL_UNUSED__attribute__((unused))
2538 return _out;
2539}
2540
2541PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_detectEqPartition(threadData_t *threadData, modelica_metatype _inEq, modelica_metatype *out_refsInfo)
2542{
2543 modelica_metatype _outPartitionType = NULL((void*)0);
2544 modelica_metatype _refsInfo = NULL((void*)0);
2545 modelica_metatype _partitionType = NULL((void*)0);
2546 modelica_boolean _isClockEq;
2547 modelica_metatype _info = NULL((void*)0);
2548 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2549 MMC_SO()mmc_check_stackoverflow(threadData);
2550 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2551 // _outPartitionType has no default value.
2552 // _refsInfo has no default value.
2553 // _partitionType has no default value.
2554 // _isClockEq has no default value.
2555 // _info has no default value.
2556#line 2556 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2557 { /* match expression */
2558 modelica_metatype tmp3_1;
2559 tmp3_1 = omc_BackendEquation_getEquationAttributes(threadData, _inEq);
2560 {
2561 volatile mmc_switch_type tmp3;
2562 int tmp4;
2563 tmp3 = 0;
2564 for (; tmp3 < 2; tmp3++) {
2565 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2566 case 0: {
2567 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2568 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2569
2570 /* Pattern matching succeeded */
2571#line 2804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2572 tmpMeta[0] = _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3));
2573#line 2573 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2574 goto tmp2_done;
2575 }
2576 case 1: {
2577
2578 /* Pattern matching succeeded */
2579#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2580 tmpMeta[0] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2581#line 2581 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2582 goto tmp2_done;
2583 }
2584 }
2585 goto tmp2_end;
2586 tmp2_end: ;
2587 }
2588 goto goto_1;
2589 goto_1:;
2590 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2591 goto tmp2_done;
2592 tmp2_done:;
2593 }
2594 }
2595 _partitionType = tmpMeta[0];
2596
2597#line 2807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2598 _info = omc_BackendEquation_equationInfo(threadData, _inEq);
2599#line 2599 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2600
2601#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2602 /* Pattern-matching tuple assignment, wild first pattern */
2603#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2604 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2605#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2606 tmpMeta[4] = mmc_mk_box3(0, _partitionType, tmpMeta[3], _info);
2607#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2608 omc_BackendEquation_traverseExpsOfEquation(threadData, _inEq, boxvar_SynchronousFeatures_detectEqPartitionExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_detectEqPartitionExp
).header) + 3))
, tmpMeta[4], &tmpMeta[0]);
2609#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2610 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2611#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2612 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2613#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2614 _partitionType = tmpMeta[1];
2615#line 2808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2616 _refsInfo = tmpMeta[2];
2617#line 2617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2618
2619#line 2810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2620 _isClockEq = omc_SynchronousFeatures_isClockEquation(threadData, _inEq);
2621#line 2621 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2622
2623#line 2811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2624 _outPartitionType = (_isClockEq?omc_SynchronousFeatures_setClockedPartition(threadData, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)), _partitionType, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _info):_partitionType);
2625#line 2625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2626 _return: OMC_LABEL_UNUSED__attribute__((unused))
2627 if (out_refsInfo) { *out_refsInfo = _refsInfo; }
2628 return _outPartitionType;
2629}
2630
2631PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isClockEquation(threadData_t *threadData, modelica_metatype _inEq)
2632{
2633 modelica_boolean _out;
2634 modelica_boolean tmp1 = 0;
2635 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2636 MMC_SO()mmc_check_stackoverflow(threadData);
2637 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2638 // _out has no default value.
2639#line 2639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2640 { /* match expression */
2641 modelica_metatype tmp4_1;
2642 tmp4_1 = _inEq;
2643 {
2644 modelica_metatype _e = NULL((void*)0);
2645 modelica_metatype _trueEqs = NULL((void*)0);
2646 modelica_metatype _falseEqs = NULL((void*)0);
2647 modelica_metatype _listEqs = NULL((void*)0);
2648 modelica_metatype _eq = NULL((void*)0);
2649 modelica_metatype _info = NULL((void*)0);
2650 volatile mmc_switch_type tmp4;
2651 int tmp5;
2652 // _e has no default value.
2653 // _trueEqs has no default value.
2654 // _falseEqs has no default value.
2655 // _listEqs has no default value.
2656 // _eq has no default value.
2657 // _info has no default value.
2658 tmp4 = 0;
2659 for (; tmp4 < 11; tmp4++) {
2660 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2661 case 0: {
2662 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2663 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2664
2665 _e = tmpMeta[0];
2666 /* Pattern matching succeeded */
2667#line 2742 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2668 tmp1 = omc_SynchronousFeatures_isClockExp(threadData, _e);
2669#line 2669 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2670 goto tmp3_done;
2671 }
2672 case 1: {
2673 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,6)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((6 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2674 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2675
2676 _e = tmpMeta[0];
2677 /* Pattern matching succeeded */
2678#line 2743 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2679 tmp1 = omc_SynchronousFeatures_isClockExp(threadData, _e);
2680#line 2680 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2681 goto tmp3_done;
2682 }
2683 case 2: {
2684 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,8,6)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((6 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
2685 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
2686
2687 _eq = tmpMeta[0];
2688 /* Pattern matching succeeded */
2689#line 2744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2690 /* Tail recursive call */
2691#line 2744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2692 _inEq = _eq;
2693#line 2744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2694 goto _tailrecursive;
2695#line 2744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2696 /* TODO: Make sure any eventual dead code below is never generated */
2697#line 2697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2698 goto tmp3_done;
2699 }
2700 case 3: {
2701 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2702 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2703
2704 _e = tmpMeta[0];
2705 /* Pattern matching succeeded */
2706#line 2745 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2707 tmp1 = omc_SynchronousFeatures_isClockExp(threadData, _e);
2708#line 2708 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2709 goto tmp3_done;
2710 }
2711 case 4: {
2712 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2713 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2714
2715 _e = tmpMeta[0];
2716 /* Pattern matching succeeded */
2717#line 2746 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2718 tmp1 = omc_SynchronousFeatures_isClockExp(threadData, _e);
2719#line 2719 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2720 goto tmp3_done;
2721 }
2722 case 5: {
2723 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
2724
2725 /* Pattern matching succeeded */
2726#line 2747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2727 tmp1 = 0;
2728#line 2728 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2729 goto tmp3_done;
2730 }
2731 case 6: {
2732 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2733 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2734 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2735 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2736 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2737 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2738 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2739 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2740 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2741
2742 _e = tmpMeta[4];
2743 /* Pattern matching succeeded */
2744#line 2750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2745 if(omc_SynchronousFeatures_isClockExp(threadData, _e))
2746#line 2750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2747 {
2748#line 2751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2749 /* Pattern-matching assignment */
2750#line 2751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2751 tmpMeta[0] = omc_BackendEquation_equationSource(threadData, _inEq);
2752#line 2751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2753 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2754#line 2751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2755 _info = tmpMeta[1];
2756#line 2756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2757
2758#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2759 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2760#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2761 omc_Error_addSourceMessageAndFail(threadData, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), tmpMeta[0], _info);
2762#line 2762 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2763 }
2764#line 2754 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2765 tmp1 = 0;
2766#line 2766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2767 goto tmp3_done;
2768 }
2769 case 7: {
2770 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2771 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2772 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2773 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2774 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2775 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2776 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2777 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2778 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2779
2780 _e = tmpMeta[4];
2781 /* Pattern matching succeeded */
2782#line 2757 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2783 if(omc_SynchronousFeatures_isClockExp(threadData, _e))
2784#line 2757 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2785 {
2786#line 2758 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2787 /* Pattern-matching assignment */
2788#line 2758 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2789 tmpMeta[0] = omc_BackendEquation_equationSource(threadData, _inEq);
2790#line 2758 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2791 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2792#line 2758 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2793 _info = tmpMeta[1];
2794#line 2794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2795
2796#line 2759 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2797 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2798#line 2759 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2799 omc_Error_addSourceMessageAndFail(threadData, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), tmpMeta[0], _info);
2800#line 2800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2801 }
2802#line 2761 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2803 tmp1 = 0;
2804#line 2804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2805 goto tmp3_done;
2806 }
2807 case 8: {
2808 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2809 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2810
2811 _e = tmpMeta[0];
2812 /* Pattern matching succeeded */
2813#line 2762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2814 tmp1 = omc_SynchronousFeatures_isClockExp(threadData, _e);
2815#line 2815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2816 goto tmp3_done;
2817 }
2818 case 9: {
2819 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,7,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp3_end;
2820 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2821 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2822
2823 _trueEqs = tmpMeta[0];
2824 _falseEqs = tmpMeta[1];
2825 /* Pattern matching succeeded */
2826#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2827 {
2828#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2829 modelica_metatype _listEqs;
2830#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2831 for (tmpMeta[0] = _trueEqs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2832#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2833 {
2834#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2835 _listEqs = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2836#line 2766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2837 {
2838#line 2766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2839 modelica_metatype _eq;
2840#line 2766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2841 for (tmpMeta[1] = _listEqs; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
2842#line 2766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2843 {
2844#line 2766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2845 _eq = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2846#line 2767 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2847 if(omc_SynchronousFeatures_isClockEquation(threadData, _eq))
2848#line 2767 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2849 {
2850#line 2768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2851 /* Pattern-matching assignment */
2852#line 2768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2853 tmpMeta[2] = omc_BackendEquation_equationSource(threadData, _eq);
2854#line 2768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2855 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2856#line 2768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2857 _info = tmpMeta[3];
2858#line 2858 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2859
2860#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2861 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2862#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2863 omc_Error_addSourceMessageAndFail(threadData, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), tmpMeta[2], _info);
2864#line 2864 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2865 }
2866 }
2867 }
2868 }
2869 }
2870
2871#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2872 {
2873#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2874 modelica_metatype _eq;
2875#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2876 for (tmpMeta[0] = _falseEqs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2877#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2878 {
2879#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2880 _eq = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2881#line 2774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2882 if(omc_SynchronousFeatures_isClockEquation(threadData, _eq))
2883#line 2774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2884 {
2885#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2886 /* Pattern-matching assignment */
2887#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2888 tmpMeta[1] = omc_BackendEquation_equationSource(threadData, _eq);
2889#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2890 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2891#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2892 _info = tmpMeta[2];
2893#line 2893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2894
2895#line 2776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2896 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2897#line 2776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2898 omc_Error_addSourceMessageAndFail(threadData, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), tmpMeta[1], _info);
2899#line 2899 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2900 }
2901 }
2902 }
2903#line 2779 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2904 tmp1 = 0;
2905#line 2905 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2906 goto tmp3_done;
2907 }
2908 case 10: {
2909
2910 /* Pattern matching succeeded */
2911#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2912 omc_Error_addInternalError(threadData, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)));
2913#line 2913 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2914#line 2783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2915 goto goto_2;
2916#line 2916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2917 goto tmp3_done;
2918 }
2919 }
2920 goto tmp3_end;
2921 tmp3_end: ;
2922 }
2923 goto goto_2;
2924 goto_2:;
2925 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2926 goto tmp3_done;
2927 tmp3_done:;
2928 }
2929 }
2930 _out = tmp1;
2931 _return: OMC_LABEL_UNUSED__attribute__((unused))
2932 return _out;
2933}
2934PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isClockEquation(threadData_t *threadData, modelica_metatype _inEq)
2935{
2936 modelica_boolean _out;
2937 modelica_metatype out_out;
2938 _out = omc_SynchronousFeatures_isClockEquation(threadData, _inEq);
2939 out_out = mmc_mk_icon(_out);
2940 return out_out;
2941}
2942
2943PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isClockExp(threadData_t *threadData, modelica_metatype _inExp)
2944{
2945 modelica_boolean _out;
2946 MMC_SO()mmc_check_stackoverflow(threadData);
2947 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2948 // _out has no default value.
2949#line 2728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
2950 _out = omc_Types_isClockOrSubTypeClock(threadData, omc_Expression_typeof(threadData, _inExp));
2951#line 2951 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
2952 _return: OMC_LABEL_UNUSED__attribute__((unused))
2953 return _out;
2954}
2955PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isClockExp(threadData_t *threadData, modelica_metatype _inExp)
2956{
2957 modelica_boolean _out;
2958 modelica_metatype out_out;
2959 _out = omc_SynchronousFeatures_isClockExp(threadData, _inExp);
2960 out_out = mmc_mk_icon(_out);
2961 return out_out;
2962}
2963
2964PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_baseClockPartitioning(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared, modelica_metatype *out_outClockedSysts, modelica_metatype *out_outUnpartRemEqs)
2965{
2966 modelica_metatype _outContSysts = NULL((void*)0);
2967 modelica_metatype _outClockedSysts = NULL((void*)0);
2968 modelica_metatype _outUnpartRemEqs = NULL((void*)0);
2969 modelica_metatype _vars = NULL((void*)0);
2970 modelica_metatype _eqs = NULL((void*)0);
2971 modelica_metatype _funcs = NULL((void*)0);
2972 modelica_metatype _m = NULL((void*)0);
2973 modelica_metatype _mT = NULL((void*)0);
2974 modelica_metatype _rm = NULL((void*)0);
2975 modelica_metatype _rmT = NULL((void*)0);
2976 modelica_metatype _syst = NULL((void*)0);
2977 modelica_metatype _systs = NULL((void*)0);
2978 modelica_integer _partitionCnt;
2979 modelica_integer _i;
2980 modelica_integer _j;
2981 modelica_metatype _cr = NULL((void*)0);
2982 modelica_metatype _varIxs = NULL((void*)0);
2983 modelica_metatype _eqPartMap = NULL((void*)0);
2984 modelica_metatype _varPartMap = NULL((void*)0);
2985 modelica_metatype _reqsPartition = NULL((void*)0);
2986 modelica_metatype _varsPartition = NULL((void*)0);
2987 modelica_metatype _rvarsPartition = NULL((void*)0);
2988 modelica_metatype _eq = NULL((void*)0);
2989 modelica_metatype _refsInfo = NULL((void*)0);
2990 modelica_metatype _refInfo = NULL((void*)0);
2991 modelica_metatype _partitionType = NULL((void*)0);
2992 modelica_boolean _isClocked;
2993 modelica_boolean _isInitial;
2994 modelica_metatype _clockedEqs = NULL((void*)0);
2995 modelica_metatype _clockedVars = NULL((void*)0);
2996 modelica_metatype _clockedPartitions = NULL((void*)0);
2997 modelica_metatype _info = NULL((void*)0);
2998 modelica_integer tmp1;
2999 modelica_integer tmp2;
3000 modelica_integer tmp3;
3001 modelica_integer tmp4;
3002 modelica_integer tmp5;
3003 modelica_integer tmp6;
3004 modelica_integer tmp7;
3005 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
3006 MMC_SO()mmc_check_stackoverflow(threadData);
3007 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3008 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3009 _outContSysts = tmpMeta[0];
3010 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3011 _outClockedSysts = tmpMeta[1];
3012 // _outUnpartRemEqs has no default value.
3013 // _vars has no default value.
3014 // _eqs has no default value.
3015 // _funcs has no default value.
3016 // _m has no default value.
3017 // _mT has no default value.
3018 // _rm has no default value.
3019 // _rmT has no default value.
3020 // _syst has no default value.
3021 // _systs has no default value.
3022 // _partitionCnt has no default value.
3023 // _i has no default value.
3024 // _j has no default value.
3025 // _cr has no default value.
3026 // _varIxs has no default value.
3027 // _eqPartMap has no default value.
3028 // _varPartMap has no default value.
3029 // _reqsPartition has no default value.
3030 // _varsPartition has no default value.
3031 // _rvarsPartition has no default value.
3032 // _eq has no default value.
3033 // _refsInfo has no default value.
3034 // _refInfo has no default value.
3035 // _partitionType has no default value.
3036 // _isClocked has no default value.
3037 // _isInitial has no default value.
3038 // _clockedEqs has no default value.
3039 // _clockedVars has no default value.
3040 // _clockedPartitions has no default value.
3041 // _info has no default value.
3042#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3043 _funcs = omc_BackendDAEUtil_getFunctions(threadData, _inShared);
3044#line 3044 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3045
3046#line 2653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3047 _isInitial = omc_BackendDAEUtil_isInitializationDAE(threadData, _inShared);
3048#line 3048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3049
3050#line 2654 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3051 _syst = omc_BackendDAEUtil_getAdjacencyMatrixfromOption(threadData, _inSyst, _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)), mmc_mk_some(_funcs), _isInitial ,&_m ,&_mT);
3052#line 3052 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3053
3054#line 2655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3055 _rm = omc_BackendDAEUtil_removedAdjacencyMatrix(threadData, _inSyst, _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)), mmc_mk_some(_funcs), _isInitial ,&_rmT);
3056#line 3056 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3057
3058#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3059 /* Pattern-matching assignment */
3060#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3061 tmpMeta[2] = _syst;
3062#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3063 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3064#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3065 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3066#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3067 _vars = tmpMeta[3];
3068#line 2657 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3069 _eqs = tmpMeta[4];
3070#line 3070 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3071
3072#line 2658 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3073 _eqPartMap = arrayCreate(arrayLength(_m), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)));
3074#line 3074 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3075
3076#line 2659 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3077 _varPartMap = arrayCreate(arrayLength(_mT), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)));
3078#line 3078 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3079
3080#line 2661 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3081 _reqsPartition = arrayCreate(arrayLength(_rm), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)));
3082#line 3082 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3083
3084#line 2662 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3085 _varsPartition = arrayCreate(arrayLength(_mT), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3086#line 3086 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3087
3088#line 2663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3089 _rvarsPartition = arrayCreate(arrayLength(_rmT), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3090#line 3090 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3091
3092#line 2665 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3093 _partitionCnt = omc_SynchronousFeatures_partitionIndependentBlocks0(threadData, _m, _mT, _rm, _rmT, _eqPartMap, _varPartMap, _reqsPartition, _varsPartition, _rvarsPartition);
3094#line 3094 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3095
3096#line 2667 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3097 if((_partitionCnt > ((modelica_integer) 1)))
3098#line 2667 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3099 {
3100#line 2668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3101 _systs = omc_SynchronousFeatures_partitionIndependentBlocksSplitBlocks(threadData, _partitionCnt, _syst, _eqPartMap, _reqsPartition, _mT, _rmT, 0, _funcs, omc_BackendDAEUtil_isInitializationDAE(threadData, _inShared) ,&_outUnpartRemEqs, NULL((void*)0));
3102#line 3102 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3103 }
3104 else
3105 {
3106#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3107 /* Pattern-matching assignment */
3108#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3109 tmpMeta[2] = mmc_mk_cons(_syst, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3110#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3111 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3112#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3113 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[2], tmpMeta[3]);
3114#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3115 tmpMeta[5] = tmpMeta[4];
3116#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3117 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
3118#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3119 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
3120#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3121 _systs = tmpMeta[6];
3122#line 2670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3123 _outUnpartRemEqs = tmpMeta[7];
3124#line 3124 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3125 }
3126
3127#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3128 _clockedEqs = arrayCreate(omc_BackendEquation_getNumberOfEquations(threadData, _eqs), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3129#line 3129 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3130
3131#line 2675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3132 _clockedVars = arrayCreate(omc_BackendVariable_varsSize(threadData, _vars), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3133#line 3133 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3134
3135#line 2676 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3136 _clockedPartitions = arrayCreate(((_partitionCnt > ((modelica_integer) 0))?_partitionCnt:((modelica_integer) 1)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3137#line 3137 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3138
3139#line 2678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3140 _j = ((modelica_integer) 0);
3141#line 3141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3142
3143#line 2679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3144 {
3145#line 2679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3146 modelica_metatype _eq;
3147#line 2679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3148 for (tmpMeta[2] = omc_BackendEquation_equationList(threadData, _eqs); !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3149#line 2679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3150 {
3151#line 2679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3152 _eq = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3153#line 2680 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3154 _j = ((modelica_integer) 1) + _j;
3155#line 3155 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3156
3157#line 2681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3158 _partitionType = omc_SynchronousFeatures_detectEqPartition(threadData, _eq ,&_refsInfo);
3159#line 3159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3160
3161#line 2682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3162 _info = omc_BackendEquation_equationInfo(threadData, _eq);
3163#line 3163 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3164
3165#line 2683 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3166 arrayUpdate(_clockedEqs, _j, omc_SynchronousFeatures_setClockedPartition(threadData, _partitionType, arrayGet(_clockedEqs, _j), mmc_mk_none(), _info))boxptr_arrayUpdate(threadData,_clockedEqs,mmc_mk_icon(_j),omc_SynchronousFeatures_setClockedPartition
(threadData, _partitionType, nobox_arrayGet(threadData,_clockedEqs
,_j), ((void*)((char*)(&(mmc_none).header) + 3)), _info))
;
3167#line 3167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3168
3169#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3170 {
3171#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3172 modelica_metatype _refInfo;
3173#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3174 for (tmpMeta[3] = _refsInfo; !listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[3]=MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
)
3175#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3176 {
3177#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3178 _refInfo = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3179#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3180 /* Pattern-matching assignment */
3181#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3182 tmpMeta[4] = _refInfo;
3183#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3184 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3185#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3186 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3187#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3188 tmp1 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
3189#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3190 _cr = tmpMeta[5];
3191#line 2685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3192 _isClocked = tmp1 /* pattern as ty=Boolean */;
3193#line 3193 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3194
3195#line 2686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3196 _varIxs = omc_SynchronousFeatures_getVarIxs(threadData, _cr, _vars);
3197#line 3197 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3198
3199#line 2687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3200 {
3201#line 2687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3202 modelica_metatype _i;
3203#line 2687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3204 for (tmpMeta[4] = _varIxs; !listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[4]=MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
)
3205#line 2687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3206 {
3207#line 2687 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3208 _i = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3209#line 2688 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3210 arrayUpdate(_clockedVars, mmc_unbox_integer(_i), omc_SynchronousFeatures_setClockedPartition(threadData, mmc_mk_some(mmc_mk_boolean(_isClocked)), arrayGet(_clockedVars, mmc_unbox_integer(_i)), mmc_mk_some(_cr), _info))boxptr_arrayUpdate(threadData,_clockedVars,mmc_mk_icon((((mmc_sint_t
) (_i)) >> 1)),omc_SynchronousFeatures_setClockedPartition
(threadData, mmc_mk_some(((_isClocked) != 0 ? (mmc_mk_icon(1)
) : (mmc_mk_icon(0)))), nobox_arrayGet(threadData,_clockedVars
,(((mmc_sint_t) (_i)) >> 1)), mmc_mk_some(_cr), _info))
;
3211#line 3211 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3212 }
3213 }
3214 }
3215 }
3216 }
3217 }
3218
3219#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3220 tmp2 = ((modelica_integer) 1); tmp3 = 1; tmp4 = arrayLength(_clockedVars);
3221#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3222 if(!(((tmp3 > 0) && (tmp2 > tmp4)) || ((tmp3 < 0) && (tmp2 < tmp4))))
3223#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3224 {
3225#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3226 modelica_integer _i;
3227#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3228 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp2, tmp4); _i += tmp3)
3229#line 2693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3230 {
3231#line 2694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3232 _partitionType = arrayGet(_clockedVars, _i)nobox_arrayGet(threadData,_clockedVars,_i);
3233#line 3233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3234
3235#line 2695 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3236 _cr = omc_BackendVariable_varCref(threadData, omc_BackendVariable_getVarAt(threadData, _vars, _i));
3237#line 3237 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3238
3239#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3240 {
3241#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3242 modelica_metatype _j;
3243#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3244 for (tmpMeta[2] = arrayGet(_mT, _i)nobox_arrayGet(threadData,_mT,_i); !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3245#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3246 {
3247#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3248 _j = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3249#line 2697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3250 _info = omc_BackendEquation_equationInfo(threadData, omc_BackendEquation_get(threadData, _eqs, mmc_unbox_integer(_j)(((mmc_sint_t) (_j)) >> 1)));
3251#line 3251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3252
3253#line 2698 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3254 arrayUpdate(_clockedEqs, mmc_unbox_integer(_j), omc_SynchronousFeatures_setClockedPartition(threadData, _partitionType, arrayGet(_clockedEqs, mmc_unbox_integer(_j)), mmc_mk_some(_cr), _info))boxptr_arrayUpdate(threadData,_clockedEqs,mmc_mk_icon((((mmc_sint_t
) (_j)) >> 1)),omc_SynchronousFeatures_setClockedPartition
(threadData, _partitionType, nobox_arrayGet(threadData,_clockedEqs
,(((mmc_sint_t) (_j)) >> 1)), mmc_mk_some(_cr), _info))
;
3255#line 3255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3256 }
3257 }
3258 }
3259 }
3260
3261#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3262 tmp5 = ((modelica_integer) 1); tmp6 = 1; tmp7 = arrayLength(_clockedEqs);
3263#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3264 if(!(((tmp6 > 0) && (tmp5 > tmp7)) || ((tmp6 < 0) && (tmp5 < tmp7))))
3265#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3266 {
3267#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3268 modelica_integer _i;
3269#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3270 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp5, tmp7); _i += tmp6)
3271#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3272 {
3273#line 2703 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3274 _partitionType = arrayGet(_clockedEqs, _i)nobox_arrayGet(threadData,_clockedEqs,_i);
3275#line 3275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3276
3277#line 2704 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3278 _info = omc_BackendEquation_equationInfo(threadData, omc_BackendEquation_get(threadData, _eqs, _i));
3279#line 3279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3280
3281#line 2705 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3282 _j = mmc_unbox_integer(arrayGet(_eqPartMap, _i))(((mmc_sint_t) (nobox_arrayGet(threadData,_eqPartMap,_i))) >>
1)
;
3283#line 3283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3284
3285#line 2706 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3286 arrayUpdate(_clockedPartitions, _j, omc_SynchronousFeatures_setClockedPartition(threadData, _partitionType, arrayGet(_clockedPartitions, _j), mmc_mk_none(), _info))boxptr_arrayUpdate(threadData,_clockedPartitions,mmc_mk_icon(
_j),omc_SynchronousFeatures_setClockedPartition(threadData, _partitionType
, nobox_arrayGet(threadData,_clockedPartitions,_j), ((void*)(
(char*)(&(mmc_none).header) + 3)), _info))
;
3287#line 3287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3288 }
3289 }
3290
3291#line 2709 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3292 _i = ((modelica_integer) 1);
3293#line 3293 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3294
3295#line 2710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3296 {
3297#line 2710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3298 modelica_metatype _syst;
3299#line 2710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3300 for (tmpMeta[2] = _systs; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3301#line 2710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3302 {
3303#line 2710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3304 _syst = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3305#line 2711 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3306
3307#line 2711 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3308
3309#line 3309 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3310 { /* match expression */
3311 modelica_metatype tmp11_1;
3312 tmp11_1 = arrayGet(_clockedPartitions, _i)nobox_arrayGet(threadData,_clockedPartitions,_i);
3313 {
3314 volatile mmc_switch_type tmp11;
3315 int tmp12;
3316 tmp11 = 0;
3317 for (; tmp11 < 3; tmp11++) {
3318 switch (MMC_SWITCH_CAST(tmp11)(tmp11)) {
3319 case 0: {
3320 modelica_integer tmp13;
3321 if (optionNone(tmp11_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp11_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp10_end;
3322 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp11_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp11_1) - 3)))
+ (1)))))
;
3323 tmp13 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
3324 if (0 != tmp13) goto tmp10_end;
3325 /* Pattern matching succeeded */
3326#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3327 tmpMeta[5] = mmc_mk_cons(omc_SynchronousFeatures_setSystPartition(threadData, _syst, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))), _outContSysts);
3328#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3329 tmpMeta[3+0] = tmpMeta[5];
3330#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3331 tmpMeta[3+1] = _outClockedSysts;
3332#line 3332 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3333 goto tmp10_done;
3334 }
3335 case 1: {
3336 if (!optionNone(tmp11_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp11_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp10_end;
3337 /* Pattern matching succeeded */
3338#line 2717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3339 tmpMeta[5] = mmc_mk_cons(omc_SynchronousFeatures_setSystPartition(threadData, _syst, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))), _outContSysts);
3340#line 2717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3341 tmpMeta[3+0] = tmpMeta[5];
3342#line 2717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3343 tmpMeta[3+1] = _outClockedSysts;
3344#line 3344 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3345 goto tmp10_done;
3346 }
3347 case 2: {
3348 modelica_integer tmp14;
3349 if (optionNone(tmp11_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp11_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp11_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp10_end;
3350 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp11_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp11_1) - 3)))
+ (1)))))
;
3351 tmp14 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
3352 if (1 != tmp14) goto tmp10_end;
3353 /* Pattern matching succeeded */
3354#line 2718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3355 tmpMeta[5] = mmc_mk_cons(_syst, _outClockedSysts);
3356#line 2718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3357 tmpMeta[3+0] = _outContSysts;
3358#line 2718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3359 tmpMeta[3+1] = tmpMeta[5];
3360#line 3360 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3361 goto tmp10_done;
3362 }
3363 }
3364 goto tmp10_end;
3365 tmp10_end: ;
3366 }
3367 goto goto_9;
3368 goto_9:;
3369 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3370 goto tmp10_done;
3371 tmp10_done:;
3372 }
3373 }
3374 _outContSysts = tmpMeta[3+0];
3375 _outClockedSysts = tmpMeta[3+1];
3376
3377#line 2720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3378 _i = ((modelica_integer) 1) + _i;
3379#line 3379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3380 }
3381 }
3382 _return: OMC_LABEL_UNUSED__attribute__((unused))
3383 if (out_outClockedSysts) { *out_outClockedSysts = _outClockedSysts; }
3384 if (out_outUnpartRemEqs) { *out_outUnpartRemEqs = _outUnpartRemEqs; }
3385 return _outContSysts;
3386}
3387
3388PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_getVarIxs(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inVariables)
3389{
3390 modelica_metatype _outIntegerLst = NULL((void*)0);
3391 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3392 MMC_SO()mmc_check_stackoverflow(threadData);
3393 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3394 // _outIntegerLst has no default value.
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3396 { /* matchcontinue expression */
3397 {
3398 modelica_metatype _ixs = NULL((void*)0);
3399 volatile mmc_switch_type tmp3;
3400 int tmp4;
3401 // _ixs has no default value.
3402 tmp3 = 0;
3403 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3404 tmp2_top:
3405 threadData->mmc_jumper = &new_mmc_jumper;
3406 for (; tmp3 < 2; tmp3++) {
3407 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3408 case 0: {
3409 /* Pattern matching succeeded */
3410#line 2617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3411 omc_BackendVariable_getVar(threadData, _inComp, _inVariables ,&_ixs);
3412#line 3412 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3413#line 2618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3414 tmpMeta[0] = _ixs;
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3416 goto tmp2_done;
3417 }
3418 case 1: {
3419 /* Pattern matching succeeded */
3420#line 2620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3421 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3422#line 2620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3423 tmpMeta[0] = tmpMeta[1];
3424#line 3424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3425 goto tmp2_done;
3426 }
3427 }
3428 goto tmp2_end;
3429 tmp2_end: ;
3430 }
3431 goto goto_1;
3432 tmp2_done:
3433 (void)tmp3;
3434 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3435 goto tmp2_done2;
3436 goto_1:;
3437 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3438 if (++tmp3 < 2) {
3439 goto tmp2_top;
3440 }
3441 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3442 tmp2_done2:;
3443 }
3444 }
3445 _outIntegerLst = tmpMeta[0];
3446 _return: OMC_LABEL_UNUSED__attribute__((unused))
3447 return _outIntegerLst;
3448}
3449
3450PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substExp(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_integer _inCnt)
3451{
3452 modelica_metatype _outTpl = NULL((void*)0);
3453 modelica_boolean _create;
3454 modelica_metatype _e = NULL((void*)0);
3455 modelica_boolean tmp1 = 0;
3456 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3457 MMC_SO()mmc_check_stackoverflow(threadData);
3458 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3459 // _outTpl has no default value.
3460 // _create has no default value.
3461 // _e has no default value.
3462#line 2580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3463 _e = omc_List_first(threadData, _inExps);
3464#line 3464 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3465
3466#line 3466 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3467 { /* match expression */
3468 modelica_metatype tmp4_1;
3469 tmp4_1 = _e;
3470 {
3471 int tmp4;
3472 {
3473 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
3474 case 9: {
3475
3476 /* Pattern matching succeeded */
3477#line 2582 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3478 tmp1 = 0;
3479#line 3479 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3480 goto tmp3_done;
3481 }
3482 case 4: {
3483
3484 /* Pattern matching succeeded */
3485#line 2583 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3486 tmp1 = 0;
3487#line 3487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3488 goto tmp3_done;
3489 }
3490 case 5: {
3491
3492 /* Pattern matching succeeded */
3493#line 2584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3494 tmp1 = 0;
3495#line 3495 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3496 goto tmp3_done;
3497 }
3498 case 6: {
3499
3500 /* Pattern matching succeeded */
3501#line 2585 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3502 tmp1 = 0;
3503#line 3503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3504 goto tmp3_done;
3505 }
3506 case 8: {
3507
3508 /* Pattern matching succeeded */
3509#line 2586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3510 tmp1 = 0;
3511#line 3511 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3512 goto tmp3_done;
3513 }
3514 case 7: {
3515
3516 /* Pattern matching succeeded */
3517#line 2587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3518 tmp1 = 1;
3519#line 3519 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3520 goto tmp3_done;
3521 }
3522 default:
3523 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3524
3525 /* Pattern matching succeeded */
3526#line 2588 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3527 tmp1 = 1;
3528#line 3528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3529 goto tmp3_done;
3530 }
3531 }
3532 goto tmp3_end;
3533 tmp3_end: ;
3534 }
3535 goto goto_2;
3536 goto_2:;
3537 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3538 goto tmp3_done;
3539 tmp3_done:;
3540 }
3541 }
3542 _create = tmp1;
3543
3544#line 3544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3545 { /* match expression */
3546 modelica_boolean tmp7_1;
3547 tmp7_1 = _create;
3548 {
3549 modelica_metatype _cr = NULL((void*)0);
3550 modelica_metatype _ty = NULL((void*)0);
3551 modelica_metatype _eq = NULL((void*)0);
3552 modelica_metatype _var = NULL((void*)0);
3553 volatile mmc_switch_type tmp7;
3554 int tmp8;
3555 // _cr has no default value.
3556 // _ty has no default value.
3557 // _eq has no default value.
3558 // _var has no default value.
3559 tmp7 = 0;
3560 for (; tmp7 < 2; tmp7++) {
3561 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
3562 case 0: {
3563 if (1 != tmp7_1) goto tmp6_end;
3564 /* Pattern matching succeeded */
3565#line 2598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3566 _ty = omc_Expression_typeof(threadData, _e);
3567#line 3567 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3568
3569#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3570 tmpMeta[1] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),intString(_inCnt));
3571#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3572 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3573#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3574 tmpMeta[3] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, tmpMeta[1], _ty, tmpMeta[2]);
3575#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3576 _cr = tmpMeta[3];
3577#line 3577 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3578
3579#line 2600 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3580 _var = omc_SynchronousFeatures_createEqVarPair(threadData, _cr, _ty, _e ,&_eq);
3581#line 3581 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3582#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3583 tmpMeta[2] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, _cr, _ty);
3584#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3585 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], omc_List_rest(threadData, _inExps));
3586#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3587 tmpMeta[3] = mmc_mk_cons(_eq, _inEqs);
3588#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3589 tmpMeta[4] = mmc_mk_cons(_var, _inVars);
3590#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3591 tmpMeta[5] = mmc_mk_box4(0, tmpMeta[1], tmpMeta[3], tmpMeta[4], mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _inCnt));
3592#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3593 tmpMeta[0] = tmpMeta[5];
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3595 goto tmp6_done;
3596 }
3597 case 1: {
3598 if (0 != tmp7_1) goto tmp6_end;
3599 /* Pattern matching succeeded */
3600#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3601 tmpMeta[1] = mmc_mk_box4(0, _inExps, _inEqs, _inVars, mmc_mk_integermmc_mk_icon(_inCnt));
3602#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3603 tmpMeta[0] = tmpMeta[1];
3604#line 3604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3605 goto tmp6_done;
3606 }
3607 }
3608 goto tmp6_end;
3609 tmp6_end: ;
3610 }
3611 goto goto_5;
3612 goto_5:;
3613 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3614 goto tmp6_done;
3615 tmp6_done:;
3616 }
3617 }
3618 _outTpl = tmpMeta[0];
3619 _return: OMC_LABEL_UNUSED__attribute__((unused))
3620 return _outTpl;
3621}
3622PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substExp(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _inCnt)
3623{
3624 modelica_integer tmp1;
3625 modelica_metatype _outTpl = NULL((void*)0);
3626 tmp1 = mmc_unbox_integer(_inCnt)(((mmc_sint_t) (_inCnt)) >> 1);
3627 _outTpl = omc_SynchronousFeatures_substExp(threadData, _inExps, _inEqs, _inVars, tmp1);
3628 /* skip box _outTpl; tuple<list<DAE.Exp>, list<BackendDAE.Equation>, list<BackendDAE.Var>, #Integer> */
3629 return _outTpl;
3630}
3631
3632PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createEqVarPair(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inType, modelica_metatype _inExp, modelica_metatype *out_outEq)
3633{
3634 modelica_metatype _outVar = NULL((void*)0);
3635 modelica_metatype _outEq = NULL((void*)0);
3636 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3637 MMC_SO()mmc_check_stackoverflow(threadData);
3638 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3639 // _outVar has no default value.
3640 // _outEq has no default value.
3641#line 2565 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3642 _outVar = omc_SynchronousFeatures_createVar(threadData, _inComp, _inType);
3643#line 3643 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3644
3645#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3646 tmpMeta[0] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, _inComp, _inType);
3647#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3648 tmpMeta[1] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, tmpMeta[0], _inExp, _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)));
3649#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3650 _outEq = tmpMeta[1];
3651#line 3651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3652 _return: OMC_LABEL_UNUSED__attribute__((unused))
3653 if (out_outEq) { *out_outEq = _outEq; }
3654 return _outVar;
3655}
3656
3657PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_createVar(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inType)
3658{
3659 modelica_metatype _outVar = NULL((void*)0);
3660 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3661 MMC_SO()mmc_check_stackoverflow(threadData);
3662 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3663 // _outVar has no default value.
3664#line 2547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3665 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3666#line 2547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3667 tmpMeta[1] = mmc_mk_box17(3, &BackendDAE_Var_VAR__desc, _inComp, _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)), _inType, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[0], _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3668#line 2547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3669 _outVar = tmpMeta[1];
3670#line 3670 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3671 _return: OMC_LABEL_UNUSED__attribute__((unused))
3672 return _outVar;
3673}
3674
3675PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substituteExpsCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inAttr, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outTpl)
3676{
3677 modelica_metatype _outExp = NULL((void*)0);
3678 modelica_metatype _outTpl = NULL((void*)0);
3679 modelica_boolean _replace;
3680 modelica_metatype _exps = NULL((void*)0);
3681 modelica_metatype _eqs = NULL((void*)0);
3682 modelica_metatype _vars = NULL((void*)0);
3683 modelica_integer _cnt;
3684 modelica_boolean tmp1 = 0;
3685 modelica_boolean tmp6;
3686 modelica_integer tmp7;
3687 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
3688 MMC_SO()mmc_check_stackoverflow(threadData);
3689 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3690 // _outExp has no default value.
3691 // _outTpl has no default value.
3692 // _replace has no default value.
3693 // _exps has no default value.
3694 // _eqs has no default value.
3695 // _vars has no default value.
3696 // _cnt has no default value.
3697#line 3697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3698 { /* match expression */
3699 modelica_metatype tmp4_1;modelica_integer tmp4_2;
3700 tmp4_1 = _inPath;
3701 tmp4_2 = listLength(_inExps);
3702 {
3703 volatile mmc_switch_type tmp4;
3704 int tmp5;
3705 tmp4 = 0;
3706 for (; tmp4 < 8; tmp4++) {
3707 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3708 case 0: {
3709 if (1 != tmp4_2) goto tmp3_end;
3710 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3711 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3712 if (4 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT30)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT30).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3713 /* Pattern matching succeeded */
3714#line 2526 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3715 tmp1 = 1;
3716#line 3716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3717 goto tmp3_done;
3718 }
3719 case 1: {
3720 if (2 != tmp4_2) goto tmp3_end;
3721 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3722 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3723 if (6 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3724 /* Pattern matching succeeded */
3725#line 2527 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3726 tmp1 = 1;
3727#line 3727 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3728 goto tmp3_done;
3729 }
3730 case 2: {
3731 if (2 != tmp4_2) goto tmp3_end;
3732 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3733 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3734 if (9 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3735 /* Pattern matching succeeded */
3736#line 2528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3737 tmp1 = 1;
3738#line 3738 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3739 goto tmp3_done;
3740 }
3741 case 3: {
3742 if (2 != tmp4_2) goto tmp3_end;
3743 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3744 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3745 if (11 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3746 /* Pattern matching succeeded */
3747#line 2529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3748 tmp1 = 1;
3749#line 3749 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3750 goto tmp3_done;
3751 }
3752 case 4: {
3753 if (3 != tmp4_2) goto tmp3_end;
3754 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3755 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3756 if (11 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3757 /* Pattern matching succeeded */
3758#line 2530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3759 tmp1 = 1;
3760#line 3760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3761 goto tmp3_done;
3762 }
3763 case 5: {
3764 if (3 != tmp4_2) goto tmp3_end;
3765 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3766 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3767 if (10 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3768 /* Pattern matching succeeded */
3769#line 2531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3770 tmp1 = 1;
3771#line 3771 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3772 goto tmp3_done;
3773 }
3774 case 6: {
3775 if (1 != tmp4_2) goto tmp3_end;
3776 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3777 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3778 if (7 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT36)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT36).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp3_end;
3779 /* Pattern matching succeeded */
3780#line 2532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3781 tmp1 = 1;
3782#line 3782 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3783 goto tmp3_done;
3784 }
3785 case 7: {
3786
3787 /* Pattern matching succeeded */
3788#line 2533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3789 tmp1 = 0;
3790#line 3790 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3791 goto tmp3_done;
3792 }
3793 }
3794 goto tmp3_end;
3795 tmp3_end: ;
3796 }
3797 goto goto_2;
3798 goto_2:;
3799 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3800 goto tmp3_done;
3801 tmp3_done:;
3802 }
3803 }
3804 _replace = tmp1;
3805
3806#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3807 /* Pattern-matching assignment */
3808#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3809 tmp6 = (modelica_boolean)_replace;
3810#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3811 if(tmp6)
3812#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3813 {
3814#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3815 tmpMeta[1] = omc_SynchronousFeatures_substExp(threadData, _inExps, _inEqs, _inVars, _inCnt);
3816#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3817 }
3818#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3819 else
3820#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3821 {
3822#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3823 tmpMeta[0] = mmc_mk_box4(0, _inExps, _inEqs, _inVars, mmc_mk_integermmc_mk_icon(_inCnt));
3824#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3825 tmpMeta[1] = tmpMeta[0];
3826#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3827 }
3828#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3829 tmpMeta[2] = tmpMeta[1];
3830#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3831 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3832#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3833 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3834#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3835 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3836#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3837 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
3838#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3839 tmp7 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
3840#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3841 _exps = tmpMeta[3];
3842#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3843 _eqs = tmpMeta[4];
3844#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3845 _vars = tmpMeta[5];
3846#line 2535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3847 _cnt = tmp7 /* pattern as ty=Integer */;
3848#line 3848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3849
3850#line 2538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3851 tmpMeta[0] = mmc_mk_box4(16, &DAE_Exp_CALL__desc, _inPath, _exps, _inAttr);
3852#line 2538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3853 _outExp = tmpMeta[0];
3854#line 3854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3855
3856#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3857 tmpMeta[0] = mmc_mk_box4(0, _eqs, _vars, mmc_mk_integermmc_mk_icon(_cnt), _inShared);
3858#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3859 _outTpl = tmpMeta[0];
3860#line 3860 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3861 _return: OMC_LABEL_UNUSED__attribute__((unused))
3862 if (out_outTpl) { *out_outTpl = _outTpl; }
3863 return _outExp;
3864}
3865PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substituteExpsCall(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inExps, modelica_metatype _inAttr, modelica_metatype _inEqs, modelica_metatype _inVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outTpl)
3866{
3867 modelica_integer tmp1;
3868 modelica_metatype _outExp = NULL((void*)0);
3869 tmp1 = mmc_unbox_integer(_inCnt)(((mmc_sint_t) (_inCnt)) >> 1);
3870 _outExp = omc_SynchronousFeatures_substituteExpsCall(threadData, _inPath, _inExps, _inAttr, _inEqs, _inVars, tmp1, _inShared, out_outTpl);
3871 /* skip box _outExp; DAE.Exp */
3872 /* skip box _outTpl; tuple<list<BackendDAE.Equation>, list<BackendDAE.Var>, #Integer, BackendDAE.Shared> */
3873 return _outExp;
3874}
3875
3876PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substClockExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outCnt)
3877{
3878 modelica_metatype _outExp = NULL((void*)0);
3879 modelica_metatype _outNewEqs = NULL((void*)0);
3880 modelica_metatype _outNewVars = NULL((void*)0);
3881 modelica_integer _outCnt;
3882 modelica_metatype _ty = NULL((void*)0);
3883 modelica_integer tmp1;
3884 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
3885 MMC_SO()mmc_check_stackoverflow(threadData);
3886 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3887 // _outExp has no default value.
3888 // _outNewEqs has no default value.
3889 // _outNewVars has no default value.
3890 // _outCnt has no default value.
3891 // _ty has no default value.
3892#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3893 if(omc_SynchronousFeatures_isKnownOrConstantExp(threadData, _inExp, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inShared), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inShared) - 3)
)) + (2)))))
)))
3894#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3895 {
3896#line 2495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3897 _outExp = _inExp;
3898#line 3898 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3899
3900#line 2496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3901 _outNewEqs = _inNewEqs;
3902#line 3902 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3903
3904#line 2497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3905 _outNewVars = _inNewVars;
3906#line 3906 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3907
3908#line 2498 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3909 _outCnt = _inCnt;
3910#line 3910 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3911 }
3912 else
3913 {
3914#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3915 /* Pattern-matching assignment */
3916#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3917 tmpMeta[0] = mmc_mk_cons(_inExp, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3918#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3919 tmpMeta[1] = omc_SynchronousFeatures_substExp(threadData, tmpMeta[0], _inNewEqs, _inNewVars, _inCnt);
3920#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3921 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3922#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3923 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3924#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3925 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3926#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3927 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3928#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3929 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3930#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3931 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3932#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3933 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3934#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3935 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3936#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3937 tmp1 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
3938#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3939 _outExp = tmpMeta[3];
3940#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3941 _outNewEqs = tmpMeta[5];
3942#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3943 _outNewVars = tmpMeta[6];
3944#line 2500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3945 _outCnt = tmp1 /* pattern as ty=Integer */;
3946#line 3946 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3947
3948#line 3948 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3949 { /* match expression */
3950 modelica_metatype tmp4_1;
3951 tmp4_1 = _outExp;
3952 {
3953 volatile mmc_switch_type tmp4;
3954 int tmp5;
3955 tmp4 = 0;
3956 for (; tmp4 < 2; tmp4++) {
3957 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3958 case 0: {
3959 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
3960 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3961 _ty = tmpMeta[1];
3962 /* Pattern matching succeeded */
3963#line 2502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3964 tmpMeta[1] = mmc_mk_cons(_outExp, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3965#line 2502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3966 tmpMeta[0] = omc_Expression_makePureBuiltinCall(threadData, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), tmpMeta[1], _ty);
3967#line 3967 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3968 goto tmp3_done;
3969 }
3970 case 1: {
3971
3972 /* Pattern matching succeeded */
3973#line 2503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
3974 tmpMeta[0] = _outExp;
3975#line 3975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
3976 goto tmp3_done;
3977 }
3978 }
3979 goto tmp3_end;
3980 tmp3_end: ;
3981 }
3982 goto goto_2;
3983 goto_2:;
3984 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3985 goto tmp3_done;
3986 tmp3_done:;
3987 }
3988 }
3989 _outExp = tmpMeta[0];
3990 }
3991 _return: OMC_LABEL_UNUSED__attribute__((unused))
3992 if (out_outNewEqs) { *out_outNewEqs = _outNewEqs; }
3993 if (out_outNewVars) { *out_outNewVars = _outNewVars; }
3994 if (out_outCnt) { *out_outCnt = _outCnt; }
3995 return _outExp;
3996}
3997PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substClockExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outCnt)
3998{
3999 modelica_integer tmp1;
4000 modelica_integer _outCnt;
4001 modelica_metatype _outExp = NULL((void*)0);
4002 tmp1 = mmc_unbox_integer(_inCnt)(((mmc_sint_t) (_inCnt)) >> 1);
4003 _outExp = omc_SynchronousFeatures_substClockExp(threadData, _inExp, _inNewEqs, _inNewVars, tmp1, _inShared, out_outNewEqs, out_outNewVars, &_outCnt);
4004 /* skip box _outExp; DAE.Exp */
4005 /* skip box _outNewEqs; list<BackendDAE.Equation> */
4006 /* skip box _outNewVars; list<BackendDAE.Var> */
4007 if (out_outCnt) { *out_outCnt = mmc_mk_icon(_outCnt); }
4008 return _outExp;
4009}
4010
4011PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_isKnownOrConstantExp__traverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_outContinue, modelica_metatype *out_outTpl)
4012{
4013 modelica_metatype _outExp = NULL((void*)0);
4014 modelica_boolean _outContinue;
4015 modelica_metatype _outTpl = NULL((void*)0);
4016 modelica_metatype _globalKnownVars = NULL((void*)0);
4017 modelica_boolean _isKnown;
4018 modelica_integer tmp1;
4019 modelica_boolean tmp2 = 0;
4020 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4021 MMC_SO()mmc_check_stackoverflow(threadData);
4022 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4023 _outExp = _inExp;
4024 // _outContinue has no default value.
4025 // _outTpl has no default value.
4026 // _globalKnownVars has no default value.
4027 // _isKnown has no default value.
4028#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4029 /* Pattern-matching assignment */
4030#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4031 tmpMeta[0] = _inTpl;
4032#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4033 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4034#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4035 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4036#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4037 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4038#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4039 _isKnown = tmp1 /* pattern as ty=Boolean */;
4040#line 2468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4041 _globalKnownVars = tmpMeta[2];
4042#line 4042 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4043
4044#line 4044 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4045 { /* match expression */
4046 modelica_metatype tmp5_1;
4047 tmp5_1 = _inExp;
4048 {
4049 modelica_metatype _componentRef = NULL((void*)0);
4050 int tmp5;
4051 // _componentRef has no default value.
4052 {
4053 switch (MMC_SWITCH_CAST(valueConstructor(tmp5_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))) >> 2
) & 255))
) {
4054 case 16: {
4055
4056 /* Pattern matching succeeded */
4057#line 2472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4058 tmp2 = 0;
4059#line 4059 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4060 goto tmp4_done;
4061 }
4062 case 9: {
4063 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp4_end;
4064 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(2)))))
;
4065
4066 _componentRef = tmpMeta[0];
4067 /* Pattern matching succeeded */
4068#line 2473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4069 tmp2 = omc_BackendVariable_containsCref(threadData, _componentRef, _globalKnownVars);
4070#line 4070 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4071 goto tmp4_done;
4072 }
4073 default:
4074 tmp4_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4075
4076 /* Pattern matching succeeded */
4077#line 2474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4078 tmp2 = _isKnown;
4079#line 4079 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4080 goto tmp4_done;
4081 }
4082 }
4083 goto tmp4_end;
4084 tmp4_end: ;
4085 }
4086 goto goto_3;
4087 goto_3:;
4088 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4089 goto tmp4_done;
4090 tmp4_done:;
4091 }
4092 }
4093 _isKnown = tmp2;
4094
4095#line 2477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4096 tmpMeta[0] = mmc_mk_box2(0, mmc_mk_boolean(_isKnown)((_isKnown) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _globalKnownVars);
4097#line 2477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4098 _outTpl = tmpMeta[0];
4099#line 4099 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4100
4101#line 2478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4102 _outContinue = _isKnown;
4103#line 4103 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4104 _return: OMC_LABEL_UNUSED__attribute__((unused))
4105 if (out_outContinue) { *out_outContinue = _outContinue; }
4106 if (out_outTpl) { *out_outTpl = _outTpl; }
4107 return _outExp;
4108}
4109PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isKnownOrConstantExp__traverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outContinue, modelica_metatype *out_outTpl)
4110{
4111 modelica_boolean _outContinue;
4112 modelica_metatype _outExp = NULL((void*)0);
4113 _outExp = omc_SynchronousFeatures_isKnownOrConstantExp__traverser(threadData, _inExp, _inTpl, &_outContinue, out_outTpl);
4114 /* skip box _outExp; DAE.Exp */
4115 if (out_outContinue) { *out_outContinue = mmc_mk_icon(_outContinue); }
4116 /* skip box _outTpl; tuple<#Boolean, BackendDAE.Variables> */
4117 return _outExp;
4118}
4119
4120PROTECTED_FUNCTION_STATIC modelica_boolean omc_SynchronousFeatures_isKnownOrConstantExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inKnownVars)
4121{
4122 modelica_boolean _outKnown;
4123 modelica_integer tmp1;
4124 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4125 MMC_SO()mmc_check_stackoverflow(threadData);
4126 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4127 // _outKnown has no default value.
4128#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4129 /* Pattern-matching tuple assignment, wild first pattern */
4130#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4131 tmpMeta[2] = mmc_mk_box2(0, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _inKnownVars);
4132#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4133 omc_Expression_traverseExpTopDown(threadData, _inExp, boxvar_SynchronousFeatures_isKnownOrConstantExp__traverser((void*)((char*)(&(boxvar_lit_SynchronousFeatures_isKnownOrConstantExp__traverser
).header) + 3))
, tmpMeta[2], &tmpMeta[0]);
4134#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4135 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4136#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4137 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4138#line 2455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4139 _outKnown = tmp1 /* pattern as ty=Boolean */;
4140#line 4140 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4141 _return: OMC_LABEL_UNUSED__attribute__((unused))
4142 return _outKnown;
4143}
4144PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_isKnownOrConstantExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inKnownVars)
4145{
4146 modelica_boolean _outKnown;
4147 modelica_metatype out_outKnown;
4148 _outKnown = omc_SynchronousFeatures_isKnownOrConstantExp(threadData, _inExp, _inKnownVars);
4149 out_outKnown = mmc_mk_icon(_outKnown);
4150 return out_outKnown;
4151}
4152
4153PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substClock(threadData_t *threadData, modelica_metatype _inClk, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_integer _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_integer *out_outCnt)
4154{
4155 modelica_metatype _outClk = NULL((void*)0);
4156 modelica_metatype _outNewEqs = NULL((void*)0);
4157 modelica_metatype _outNewVars = NULL((void*)0);
4158 modelica_integer _outCnt;
4159 modelica_metatype _e = NULL((void*)0);
4160 modelica_metatype _i = NULL((void*)0);
4161 modelica_metatype _f = NULL((void*)0);
4162 modelica_integer _cnt;
4163 modelica_metatype _eqs = NULL((void*)0);
4164 modelica_metatype _vars = NULL((void*)0);
4165 modelica_integer tmp1_c3 __attribute__((unused)) = 0;
4166 modelica_metatype tmpMeta[12] __attribute__((unused)) = {0};
4167 MMC_SO()mmc_check_stackoverflow(threadData);
4168 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4169 // _outClk has no default value.
4170 // _outNewEqs has no default value.
4171 // _outNewVars has no default value.
4172 // _outCnt has no default value.
4173 // _e has no default value.
4174 // _i has no default value.
4175 // _f has no default value.
4176 // _cnt has no default value.
4177 // _eqs has no default value.
4178 // _vars has no default value.
4179#line 2432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4180
4181#line 2432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4182
4183#line 2432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4184
4185#line 2432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4186
4187#line 4187 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4188 { /* match expression */
4189 modelica_metatype tmp4_1;
4190 tmp4_1 = _inClk;
4191 {
4192 int tmp4;
4193 {
4194 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
4195 case 6: {
4196 modelica_integer tmp5;
4197 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4198 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4199 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4200 _e = tmpMeta[4];
4201 _f = tmpMeta[5];
4202 /* Pattern matching succeeded */
4203#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4204 /* Pattern-matching assignment */
4205#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4206 tmpMeta[4] = mmc_mk_cons(_e, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4207#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4208 tmpMeta[5] = omc_SynchronousFeatures_substExp(threadData, tmpMeta[4], _inNewEqs, _inNewVars, _inCnt);
4209#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4210 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
4211#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4212 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
4213#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4214 tmpMeta[7] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
4215#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4216 tmpMeta[8] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
4217#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4218 if (!listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
4219#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4220 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
4221#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4222 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (3)))))
;
4223#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4224 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (4)))))
;
4225#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4226 tmp5 = mmc_unbox_integer(tmpMeta[11])(((mmc_sint_t) (tmpMeta[11])) >> 1);
4227#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4228 _e = tmpMeta[7];
4229#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4230 _eqs = tmpMeta[9];
4231#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4232 _vars = tmpMeta[10];
4233#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4234 _cnt = tmp5 /* pattern as ty=Integer */;
4235#line 4235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4236#line 2435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4237 tmpMeta[4] = mmc_mk_box3(6, &DAE_ClockKind_BOOLEAN__CLOCK__desc, _e, _f);
4238#line 2435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4239 tmpMeta[0+0] = tmpMeta[4];
4240#line 2435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4241 tmpMeta[0+1] = _eqs;
4242#line 2435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4243 tmpMeta[0+2] = _vars;
4244#line 2435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4245 tmp1_c3 = _cnt;
4246#line 4246 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4247 goto tmp3_done;
4248 }
4249 case 5: {
4250 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4251 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4252 _e = tmpMeta[4];
4253 /* Pattern matching succeeded */
4254#line 2438 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4255 _e = omc_SynchronousFeatures_substClockExp(threadData, _e, _inNewEqs, _inNewVars, _inCnt, _inShared ,&_eqs ,&_vars ,&_cnt);
4256#line 4256 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4257#line 2439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4258 tmpMeta[4] = mmc_mk_box2(5, &DAE_ClockKind_REAL__CLOCK__desc, _e);
4259#line 2439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4260 tmpMeta[0+0] = tmpMeta[4];
4261#line 2439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4262 tmpMeta[0+1] = _eqs;
4263#line 2439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4264 tmpMeta[0+2] = _vars;
4265#line 2439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4266 tmp1_c3 = _cnt;
4267#line 4267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4268 goto tmp3_done;
4269 }
4270 case 4: {
4271 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4272 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4273 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4274 _e = tmpMeta[4];
4275 _i = tmpMeta[5];
4276 /* Pattern matching succeeded */
4277#line 2442 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4278 _e = omc_SynchronousFeatures_substClockExp(threadData, _e, _inNewEqs, _inNewVars, _inCnt, _inShared ,&_eqs ,&_vars ,&_cnt);
4279#line 4279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4280#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4281 tmpMeta[4] = mmc_mk_box3(4, &DAE_ClockKind_INTEGER__CLOCK__desc, _e, _i);
4282#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4283 tmpMeta[0+0] = tmpMeta[4];
4284#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4285 tmpMeta[0+1] = _eqs;
4286#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4287 tmpMeta[0+2] = _vars;
4288#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4289 tmp1_c3 = _cnt;
4290#line 4290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4291 goto tmp3_done;
4292 }
4293 default:
4294 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4295
4296 /* Pattern matching succeeded */
4297#line 2445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4298 tmpMeta[0+0] = _inClk;
4299#line 2445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4300 tmpMeta[0+1] = _inNewEqs;
4301#line 2445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4302 tmpMeta[0+2] = _inNewVars;
4303#line 2445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4304 tmp1_c3 = _inCnt;
4305#line 4305 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4306 goto tmp3_done;
4307 }
4308 }
4309 goto tmp3_end;
4310 tmp3_end: ;
4311 }
4312 goto goto_2;
4313 goto_2:;
4314 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4315 goto tmp3_done;
4316 tmp3_done:;
4317 }
4318 }
4319 _outClk = tmpMeta[0+0];
4320 _outNewEqs = tmpMeta[0+1];
4321 _outNewVars = tmpMeta[0+2];
4322 _outCnt = tmp1_c3;
4323 _return: OMC_LABEL_UNUSED__attribute__((unused))
4324 if (out_outNewEqs) { *out_outNewEqs = _outNewEqs; }
4325 if (out_outNewVars) { *out_outNewVars = _outNewVars; }
4326 if (out_outCnt) { *out_outCnt = _outCnt; }
4327 return _outClk;
4328}
4329PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_substClock(threadData_t *threadData, modelica_metatype _inClk, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype _inCnt, modelica_metatype _inShared, modelica_metatype *out_outNewEqs, modelica_metatype *out_outNewVars, modelica_metatype *out_outCnt)
4330{
4331 modelica_integer tmp1;
4332 modelica_integer _outCnt;
4333 modelica_metatype _outClk = NULL((void*)0);
4334 tmp1 = mmc_unbox_integer(_inCnt)(((mmc_sint_t) (_inCnt)) >> 1);
4335 _outClk = omc_SynchronousFeatures_substClock(threadData, _inClk, _inNewEqs, _inNewVars, tmp1, _inShared, out_outNewEqs, out_outNewVars, &_outCnt);
4336 /* skip box _outClk; DAE.ClockKind */
4337 /* skip box _outNewEqs; list<BackendDAE.Equation> */
4338 /* skip box _outNewVars; list<BackendDAE.Var> */
4339 if (out_outCnt) { *out_outCnt = mmc_mk_icon(_outCnt); }
4340 return _outClk;
4341}
4342
4343PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
4344{
4345 modelica_metatype _outExp = NULL((void*)0);
4346 modelica_metatype _outTpl = NULL((void*)0);
4347 modelica_metatype _path = NULL((void*)0);
4348 modelica_metatype _shared = NULL((void*)0);
4349 modelica_metatype _attr = NULL((void*)0);
4350 modelica_metatype _clk = NULL((void*)0);
4351 modelica_integer _cnt;
4352 modelica_metatype _newEqs = NULL((void*)0);
4353 modelica_metatype _newVars = NULL((void*)0);
4354 modelica_metatype _exps = NULL((void*)0);
4355 modelica_integer tmp1;
4356 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4357 MMC_SO()mmc_check_stackoverflow(threadData);
4358 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4359 // _outExp has no default value.
4360 // _outTpl has no default value.
4361 // _path has no default value.
4362 // _shared has no default value.
4363 // _attr has no default value.
4364 // _clk has no default value.
4365 // _cnt has no default value.
4366 // _newEqs has no default value.
4367 // _newVars has no default value.
4368 // _exps has no default value.
4369#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4370 /* Pattern-matching assignment */
4371#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4372 tmpMeta[0] = _inTpl;
4373#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4374 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4375#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4376 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4377#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4378 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4379#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4380 tmp1 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4381#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4382 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
4383#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4384 _newEqs = tmpMeta[1];
4385#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4386 _newVars = tmpMeta[2];
4387#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4388 _cnt = tmp1 /* pattern as ty=Integer */;
4389#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4390 _shared = tmpMeta[4];
4391#line 4391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4392
4393#line 2404 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4394
4395#line 2404 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4396
4397#line 4397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4398 { /* match expression */
4399 modelica_metatype tmp5_1;
4400 tmp5_1 = _inExp;
4401 {
4402 int tmp5;
4403 {
4404 switch (MMC_SWITCH_CAST(valueConstructor(tmp5_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))) >> 2
) & 255))
) {
4405 case 7: {
4406 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,4,1)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((1 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp4_end;
4407 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(2)))))
;
4408 _clk = tmpMeta[2];
4409 /* Pattern matching succeeded */
4410#line 2406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4411 _clk = omc_SynchronousFeatures_substClock(threadData, _clk, _newEqs, _newVars, _cnt, _shared ,&_newEqs ,&_newVars ,&_cnt);
4412#line 4412 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4413#line 2407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4414 tmpMeta[2] = mmc_mk_box2(7, &DAE_Exp_CLKCONST__desc, _clk);
4415#line 2407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4416 tmpMeta[3] = mmc_mk_box4(0, _newEqs, _newVars, mmc_mk_integermmc_mk_icon(_cnt), _shared);
4417#line 2407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4418 tmpMeta[0+0] = tmpMeta[2];
4419#line 2407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4420 tmpMeta[0+1] = tmpMeta[3];
4421#line 4421 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4422 goto tmp4_done;
4423 }
4424 case 16: {
4425 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp4_end;
4426 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(2)))))
;
4427 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(3)))))
;
4428 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(4)))))
;
4429 _path = tmpMeta[2];
4430 _exps = tmpMeta[3];
4431 _attr = tmpMeta[4];
4432 /* Pattern matching succeeded */
4433#line 2410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4434 tmpMeta[0+0] = omc_SynchronousFeatures_substituteExpsCall(threadData, _path, _exps, _attr, _newEqs, _newVars, _cnt, _shared, &tmpMeta[0+1]);
4435#line 4435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4436 goto tmp4_done;
4437 }
4438 default:
4439 tmp4_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4440
4441 /* Pattern matching succeeded */
4442#line 2412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4443 tmpMeta[0+0] = _inExp;
4444#line 2412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4445 tmpMeta[0+1] = _inTpl;
4446#line 4446 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4447 goto tmp4_done;
4448 }
4449 }
4450 goto tmp4_end;
4451 tmp4_end: ;
4452 }
4453 goto goto_3;
4454 goto_3:;
4455 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4456 goto tmp4_done;
4457 tmp4_done:;
4458 }
4459 }
4460 _outExp = tmpMeta[0+0];
4461 _outTpl = tmpMeta[0+1];
4462 _return: OMC_LABEL_UNUSED__attribute__((unused))
4463 if (out_outTpl) { *out_outTpl = _outTpl; }
4464 return _outExp;
4465}
4466
4467PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
4468{
4469 modelica_metatype _outExp = NULL((void*)0);
4470 modelica_metatype _outTpl = NULL((void*)0);
4471 MMC_SO()mmc_check_stackoverflow(threadData);
4472 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4473 // _outExp has no default value.
4474 // _outTpl has no default value.
4475#line 2385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4476 _outExp = omc_Expression_traverseExpBottomUp(threadData, _inExp, boxvar_SynchronousFeatures_substitutePartitionOpExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp1
).header) + 3))
, _inTpl ,&_outTpl);
4477#line 4477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4478 _return: OMC_LABEL_UNUSED__attribute__((unused))
4479 if (out_outTpl) { *out_outTpl = _outTpl; }
4480 return _outExp;
4481}
4482
4483PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_substitutePartitionOpExps(threadData_t *threadData, modelica_metatype _inSyst, modelica_metatype _inShared)
4484{
4485 modelica_metatype _outSyst = NULL((void*)0);
4486 modelica_metatype _newEqs = NULL((void*)0);
4487 modelica_metatype _newVars = NULL((void*)0);
4488 modelica_integer _cnt;
4489 modelica_integer tmp1;
4490 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
4491 MMC_SO()mmc_check_stackoverflow(threadData);
4492 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4493 _outSyst = _inSyst;
4494 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4495 _newEqs = tmpMeta[0];
4496 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4497 _newVars = tmpMeta[1];
4498 _cnt = ((modelica_integer) 1);
4499#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4500 {
4501#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4502 modelica_metatype _eq;
4503#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4504 for (tmpMeta[2] = omc_BackendEquation_equationList(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (3)))))
)); !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
4505#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4506 {
4507#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4508 _eq = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4509#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4510 /* Pattern-matching tuple assignment */
4511#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4512 tmpMeta[7] = mmc_mk_box4(0, _newEqs, _newVars, mmc_mk_integermmc_mk_icon(_cnt), _inShared);
4513#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4514 tmpMeta[8] = omc_BackendEquation_traverseExpsOfEquation(threadData, _eq, boxvar_SynchronousFeatures_substitutePartitionOpExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_substitutePartitionOpExp
).header) + 3))
, tmpMeta[7], &tmpMeta[3]);
4515#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4516 _eq = tmpMeta[8];
4517#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4518 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
4519#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4520 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4521#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4522 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
4523#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4524 tmp1 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
4525#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4526 _newEqs = tmpMeta[4];
4527#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4528 _newVars = tmpMeta[5];
4529#line 2371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4530 _cnt = tmp1 /* pattern as ty=Integer */;
4531#line 4531 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4532
4533#line 2372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4534 tmpMeta[3] = mmc_mk_cons(_eq, _newEqs);
4535#line 2372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4536 _newEqs = tmpMeta[3];
4537#line 4537 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4538 }
4539 }
4540
4541#line 2374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4542 tmpMeta[2] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
4543#line 2374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4544 memcpy(MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)), MMC_UNTAGPTR(_outSyst)((void*)((char*)(_outSyst) - 3)), 11*sizeof(modelica_metatype));
4545#line 2374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4546 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)))[3] = omc_BackendEquation_listEquation(threadData, listReverse(_newEqs));
4547#line 2374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4548 _outSyst = tmpMeta[2];
4549#line 4549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4550
4551#line 2375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4552 tmpMeta[2] = MMC_TAGPTR(mmc_alloc_words(11))((void*)((char*)(mmc_alloc_words(11)) + 3));
4553#line 2375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4554 memcpy(MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)), MMC_UNTAGPTR(_outSyst)((void*)((char*)(_outSyst) - 3)), 11*sizeof(modelica_metatype));
4555#line 2375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4556 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[2])((void*)((char*)(tmpMeta[2]) - 3)))[2] = omc_BackendVariable_addVars(threadData, _newVars, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inSyst), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inSyst) - 3)))
+ (2)))))
));
4557#line 2375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4558 _outSyst = tmpMeta[2];
4559#line 4559 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4560
4561#line 2376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4562 _outSyst = omc_BackendDAEUtil_clearEqSyst(threadData, _outSyst);
4563#line 4563 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4564 _return: OMC_LABEL_UNUSED__attribute__((unused))
4565 return _outSyst;
4566}
4567
4568PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_splitClockVars(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype *out_outClockVarsMask)
4569{
4570 modelica_metatype _outClockVars = NULL((void*)0);
4571 modelica_metatype _outClockVarsMask = NULL((void*)0);
4572 modelica_metatype _clockVars = NULL((void*)0);
4573 modelica_metatype _var = NULL((void*)0);
4574 modelica_integer tmp1;
4575 modelica_integer tmp2;
4576 modelica_integer tmp3;
4577 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4578 MMC_SO()mmc_check_stackoverflow(threadData);
4579 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4580 // _outClockVars has no default value.
4581 // _outClockVarsMask has no default value.
4582 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4583 _clockVars = tmpMeta[0];
4584 // _var has no default value.
4585#line 2346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4586 _outClockVarsMask = arrayCreate(omc_BackendVariable_varsSize(threadData, _inVars), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4587#line 4587 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4588
4589#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4590 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = omc_BackendVariable_varsSize(threadData, _inVars);
4591#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4592 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
4593#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4594 {
4595#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4596 modelica_integer _i;
4597#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4598 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
4599#line 2347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4600 {
4601#line 2348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4602 _var = omc_BackendVariable_getVarAt(threadData, _inVars, _i);
4603#line 4603 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4604
4605#line 2349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4606 if(omc_Types_isClockOrSubTypeClock(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
6)))))
)))
4607#line 2349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4608 {
4609#line 2350 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4610 tmpMeta[1] = mmc_mk_cons(_var, _clockVars);
4611#line 2350 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4612 _clockVars = tmpMeta[1];
4613#line 4613 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4614
4615#line 2351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4616 arrayUpdate(_outClockVarsMask, _i, mmc_mk_boolean(0))boxptr_arrayUpdate(threadData,_outClockVarsMask,mmc_mk_icon(_i
),((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))))
;
4617#line 4617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4618 }
4619 }
4620 }
4621
4622#line 2354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4623 _outClockVars = omc_BackendVariable_listVar(threadData, _clockVars);
4624#line 4624 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4625 _return: OMC_LABEL_UNUSED__attribute__((unused))
4626 if (out_outClockVarsMask) { *out_outClockVarsMask = _outClockVarsMask; }
4627 return _outClockVars;
4628}
4629
4630PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_splitClockEqs(threadData_t *threadData, modelica_metatype _inEqs, modelica_metatype *out_outClockEqsMask)
4631{
4632 modelica_metatype _outClockEqs = NULL((void*)0);
4633 modelica_metatype _outClockEqsMask = NULL((void*)0);
4634 modelica_metatype _clockEqs = NULL((void*)0);
4635 modelica_metatype _eq = NULL((void*)0);
4636 modelica_integer _i;
4637 modelica_integer tmp1;
4638 modelica_integer tmp2;
4639 modelica_integer tmp3;
4640 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4641 MMC_SO()mmc_check_stackoverflow(threadData);
4642 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4643 // _outClockEqs has no default value.
4644 // _outClockEqsMask has no default value.
4645 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4646 _clockEqs = tmpMeta[0];
4647 // _eq has no default value.
4648 // _i has no default value.
4649#line 2327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4650 _outClockEqsMask = arrayCreate(omc_BackendEquation_getNumberOfEquations(threadData, _inEqs), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4651#line 4651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4652
4653#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4654 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = omc_BackendEquation_getNumberOfEquations(threadData, _inEqs);
4655#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4656 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
4657#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4658 {
4659#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4660 modelica_integer _i;
4661#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4662 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
4663#line 2328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4664 {
4665#line 2329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4666 _eq = omc_BackendEquation_get(threadData, _inEqs, _i);
4667#line 4667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4668
4669#line 2330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4670 if(omc_SynchronousFeatures_isClockEquation(threadData, _eq))
4671#line 2330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4672 {
4673#line 2331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4674 tmpMeta[1] = mmc_mk_cons(_eq, _clockEqs);
4675#line 2331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4676 _clockEqs = tmpMeta[1];
4677#line 4677 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4678
4679#line 2332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4680 arrayUpdate(_outClockEqsMask, _i, mmc_mk_boolean(0))boxptr_arrayUpdate(threadData,_outClockEqsMask,mmc_mk_icon(_i
),((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))))
;
4681#line 4681 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4682 }
4683 }
4684 }
4685
4686#line 2335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4687 _outClockEqs = omc_BackendEquation_listEquation(threadData, _clockEqs);
4688#line 4688 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4689 _return: OMC_LABEL_UNUSED__attribute__((unused))
4690 if (out_outClockEqsMask) { *out_outClockEqsMask = _outClockEqsMask; }
4691 return _outClockEqs;
4692}
4693
4694PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfoExp1(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
4695{
4696 modelica_metatype _outExp = NULL((void*)0);
4697 modelica_metatype _outTpl = NULL((void*)0);
4698 MMC_SO()mmc_check_stackoverflow(threadData);
4699 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4700 // _outExp has no default value.
4701 // _outTpl has no default value.
4702#line 2315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4703 _outExp = omc_Expression_traverseExpBottomUp(threadData, _inExp, boxvar_SynchronousFeatures_collectSubclkInfoExp((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp
).header) + 3))
, _inTpl ,&_outTpl);
4704#line 4704 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4705 _return: OMC_LABEL_UNUSED__attribute__((unused))
4706 if (out_outTpl) { *out_outTpl = _outTpl; }
4707 return _outExp;
4708}
4709
4710PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectEquationArrayClocks(threadData_t *threadData, modelica_metatype _eqs, modelica_integer _partitionsCnt, modelica_metatype _partitions, modelica_metatype _partitionsWhenClocks, modelica_metatype _clksCnt, modelica_metatype _contPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewVars)
4711{
4712 modelica_metatype _outNewEqs = NULL((void*)0);
4713 modelica_metatype _outNewVars = NULL((void*)0);
4714 modelica_metatype _eq = NULL((void*)0);
4715 modelica_metatype _eqAttr = NULL((void*)0);
4716 modelica_integer _partitionIdx;
4717 modelica_metatype _source = NULL((void*)0);
4718 modelica_integer tmp6;
4719 modelica_integer tmp7;
4720 modelica_integer tmp8;
4721 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4722 MMC_SO()mmc_check_stackoverflow(threadData);
4723 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4724 _outNewEqs = _inNewEqs;
4725 _outNewVars = _inNewVars;
4726 // _eq has no default value.
4727 // _eqAttr has no default value.
4728 // _partitionIdx has no default value.
4729 // _source has no default value.
4730#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4731 tmp6 = ((modelica_integer) 1); tmp7 = 1; tmp8 = omc_BackendEquation_getNumberOfEquations(threadData, _eqs);
4732#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4733 if(!(((tmp7 > 0) && (tmp6 > tmp8)) || ((tmp7 < 0) && (tmp6 < tmp8))))
4734#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4735 {
4736#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4737 modelica_integer _i;
4738#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4739 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp6, tmp8); _i += tmp7)
4740#line 2275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4741 {
4742#line 2276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4743 _eq = omc_BackendEquation_get(threadData, _eqs, _i);
4744#line 4744 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4745
4746#line 2277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4747 _partitionIdx = mmc_unbox_integer(arrayGet(_partitions, _i))(((mmc_sint_t) (nobox_arrayGet(threadData,_partitions,_i))) >>
1)
;
4748#line 4748 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4749
4750#line 2278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4751 /* Pattern-matching assignment */
4752#line 2278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4753 tmpMeta[0] = omc_BackendEquation_equationSource(threadData, _eq);
4754#line 2278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4755 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4756#line 2278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4757 _source = tmpMeta[1];
4758#line 4758 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4759
4760#line 2280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4761 if((_partitionIdx != ((modelica_integer) 0)))
4762#line 2280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4763 {
4764#line 2281 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4765 _eqAttr = omc_BackendEquation_getEquationAttributes(threadData, _eq);
4766#line 4766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4767
4768#line 4768 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4769 { /* match expression */
4770 modelica_metatype tmp3_1;
4771 tmp3_1 = _eqAttr;
4772 {
4773 modelica_integer _whenIdx;
4774 modelica_metatype _partitionsWhenClocksLst = NULL((void*)0);
4775 volatile mmc_switch_type tmp3;
4776 int tmp4;
4777 // _whenIdx has no default value.
4778 // _partitionsWhenClocksLst has no default value.
4779 tmp3 = 0;
4780 for (; tmp3 < 2; tmp3++) {
4781 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4782 case 0: {
4783 modelica_integer tmp5;
4784 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4785 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
4786 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4787 tmp5 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4788
4789 _whenIdx = tmp5 /* pattern as ty=Integer */;
4790 /* Pattern matching succeeded */
4791#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4792 _partitionsWhenClocksLst = arrayGet(_partitionsWhenClocks,_partitionIdx)nobox_arrayGet(threadData,_partitionsWhenClocks,_partitionIdx
)
/* DAE.ASUB */;
4793#line 4793 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4794
4795#line 2289 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4796 if(((_whenIdx != ((modelica_integer) 0)) && omc_List_notMember(threadData, mmc_mk_integermmc_mk_icon(_whenIdx), _partitionsWhenClocksLst)))
4797#line 2289 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4798 {
4799#line 2290 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4800 tmpMeta[1] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_whenIdx), _partitionsWhenClocksLst);
4801#line 2290 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4802 arrayUpdate(_partitionsWhenClocks, _partitionIdx, tmpMeta[1])boxptr_arrayUpdate(threadData,_partitionsWhenClocks,mmc_mk_icon
(_partitionIdx),tmpMeta[1])
;
4803#line 4803 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4804 }
4805
4806#line 2292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4807 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
4808#line 2292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4809 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_eqAttr)((void*)((char*)(_eqAttr) - 3)), 5*sizeof(modelica_metatype));
4810#line 2292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4811 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[3] = _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3));
4812#line 2292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4813 _eqAttr = tmpMeta[1];
4814#line 4814 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4815#line 2293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4816 tmpMeta[0] = _eqAttr;
4817#line 4817 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4818 goto tmp2_done;
4819 }
4820 case 1: {
4821
4822 /* Pattern matching succeeded */
4823#line 2294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4824 tmpMeta[0] = _eqAttr;
4825#line 4825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4826 goto tmp2_done;
4827 }
4828 }
4829 goto tmp2_end;
4830 tmp2_end: ;
4831 }
4832 goto goto_1;
4833 goto_1:;
4834 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4835 goto tmp2_done;
4836 tmp2_done:;
4837 }
4838 }
4839 _eqAttr = tmpMeta[0];
4840
4841#line 2296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4842 _eq = omc_BackendEquation_setEquationAttributes(threadData, _eq, _eqAttr);
4843#line 4843 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4844
4845#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4846 /* Pattern-matching tuple assignment */
4847#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4848 tmpMeta[3] = mmc_mk_box9(0, _outNewEqs, _outNewVars, _contPartitions, _source, _clksCnt, mmc_mk_integermmc_mk_icon(_partitionIdx), _partitions, _inVars, _mT);
4849#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4850 tmpMeta[4] = omc_BackendEquation_traverseExpsOfEquation(threadData, _eq, boxvar_SynchronousFeatures_collectSubclkInfoExp1((void*)((char*)(&(boxvar_lit_SynchronousFeatures_collectSubclkInfoExp1
).header) + 3))
, tmpMeta[3], &tmpMeta[0]);
4851#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4852 _eq = tmpMeta[4];
4853#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4854 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4855#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4856 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4857#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4858 _outNewEqs = tmpMeta[1];
4859#line 2298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4860 _outNewVars = tmpMeta[2];
4861#line 4861 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4862
4863#line 2302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4864 omc_BackendEquation_setAtIndex(threadData, _eqs, _i, _eq);
4865#line 4865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4866 }
4867 }
4868 }
4869 _return: OMC_LABEL_UNUSED__attribute__((unused))
4870 if (out_outNewVars) { *out_outNewVars = _outNewVars; }
4871 return _outNewEqs;
4872}
4873PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SynchronousFeatures_collectEquationArrayClocks(threadData_t *threadData, modelica_metatype _eqs, modelica_metatype _partitionsCnt, modelica_metatype _partitions, modelica_metatype _partitionsWhenClocks, modelica_metatype _clksCnt, modelica_metatype _contPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype _inNewEqs, modelica_metatype _inNewVars, modelica_metatype *out_outNewVars)
4874{
4875 modelica_integer tmp1;
4876 modelica_metatype _outNewEqs = NULL((void*)0);
4877 tmp1 = mmc_unbox_integer(_partitionsCnt)(((mmc_sint_t) (_partitionsCnt)) >> 1);
4878 _outNewEqs = omc_SynchronousFeatures_collectEquationArrayClocks(threadData, _eqs, tmp1, _partitions, _partitionsWhenClocks, _clksCnt, _contPartitions, _inVars, _mT, _inNewEqs, _inNewVars, out_outNewVars);
4879 /* skip box _outNewEqs; list<BackendDAE.Equation> */
4880 /* skip box _outNewVars; list<BackendDAE.Var> */
4881 return _outNewEqs;
4882}
4883
4884PROTECTED_FUNCTION_STATIC modelica_metatype omc_SynchronousFeatures_collectSubclkInfo(threadData_t *threadData, modelica_metatype _inEqs, modelica_metatype _inRemovedEqs, modelica_integer _inPartitionCnt, modelica_metatype _inPartitions, modelica_metatype _inReqsPartitions, modelica_metatype _inVars, modelica_metatype _mT, modelica_metatype *out_outNewVars, modelica_metatype *out_outContPartitions, modelica_metatype *out_oClksCnt)
4885{
4886 modelica_metatype _outNewEqs = NULL((void*)0);
4887 modelica_metatype _outNewVars = NULL((void*)0);
4888 modelica_metatype _outContPartitions = NULL((void*)0);
4889 modelica_metatype _oClksCnt = NULL((void*)0);
4890 modelica_metatype _eq = NULL((void*)0);
4891 modelica_integer _i;
4892 modelica_integer _j;
4893 modelica_integer _cnt;
4894 modelica_metatype _cr = NULL((void*)0);
4895 modelica_metatype _var = NULL((void*)0);
4896 modelica_metatype _partitionsWhenClocks = NULL((void*)0);
4897 modelica_integer tmp1;
4898 modelica_integer tmp2;
4899 modelica_integer tmp3;
4900 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4901 MMC_SO()mmc_check_stackoverflow(threadData);
4902 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4903 // _outNewEqs has no default value.
4904 // _outNewVars has no default value.
4905 // _outContPartitions has no default value.
4906 // _oClksCnt has no default value.
4907 // _eq has no default value.
4908 // _i has no default value.
4909 // _j has no default value.
4910 // _cnt has no default value.
4911 // _cr has no default value.
4912 // _var has no default value.
4913 // _partitionsWhenClocks has no default value.
4914#line 2223 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4915 _outContPartitions = arrayCreate(_inPartitionCnt, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4916#line 4916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4917
4918#line 2224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4919 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4920#line 2224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4921 _partitionsWhenClocks = arrayCreate(_inPartitionCnt, tmpMeta[0]);
4922#line 4922 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4923
4924#line 2225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4925 _oClksCnt = arrayCreate(_inPartitionCnt, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
4926#line 4926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4927
4928#line 2227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4929 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4930#line 2227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4931 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4932#line 2227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4933 _outNewEqs = omc_SynchronousFeatures_collectEquationArrayClocks(threadData, _inEqs, _inPartitionCnt, _inPartitions, _partitionsWhenClocks, _oClksCnt, _outContPartitions, _inVars, _mT, tmpMeta[0], tmpMeta[1] ,&_outNewVars);
4934#line 4934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4935
4936#line 2231 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4937 _outNewEqs = omc_SynchronousFeatures_collectEquationArrayClocks(threadData, _inRemovedEqs, _inPartitionCnt, _inReqsPartitions, _partitionsWhenClocks, _oClksCnt, _outContPartitions, _inVars, _mT, _outNewEqs, _outNewVars ,&_outNewVars);
4938#line 4938 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4939
4940#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4941 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = _inPartitionCnt;
4942#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4943 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
4944#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4945 {
4946#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4947 modelica_integer _i;
4948#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4949 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
4950#line 2236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4951 {
4952#line 2237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4953 {
4954#line 2237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4955 modelica_metatype _j;
4956#line 2237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4957 for (tmpMeta[0] = arrayGet(_partitionsWhenClocks, _i)nobox_arrayGet(threadData,_partitionsWhenClocks,_i); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4958#line 2237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4959 {
4960#line 2237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4961 _j = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4962#line 2239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4963 _cnt = mmc_unbox_integer(arrayGet(_oClksCnt, _i))(((mmc_sint_t) (nobox_arrayGet(threadData,_oClksCnt,_i))) >>
1)
;
4964#line 4964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4965
4966#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4967 tmpMeta[1] = stringAppend(_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)),intString(mmc_unbox_integer(_j)(((mmc_sint_t) (_j)) >> 1)));
4968#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4969 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4970#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4971 tmpMeta[3] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, tmpMeta[1], _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)), tmpMeta[2]);
4972#line 2240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4973 _cr = tmpMeta[3];
4974#line 4974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/SynchronousFeatures.c"
4975
4976#line 2241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo"
4977 tmpMeta[1] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, _cr, _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)));