Notification: Performance of loadModel(Modelica): time 1.638/1.638, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.271e-05/1.271e-05, allocations: 1.344 kB / 247.4 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08932, allocations: 44.37 MB / 291.7 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.3391, allocations: 96.66 MB / 388.4 MB, free: 2.27 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3394, allocations: 74.34 kB / 388.5 MB, free: 2.258 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2912/0.6306, allocations: 85.37 MB / 473.8 MB, free: 8.688 MB / 376.6 MB Notification: Performance of Transformations before backend: time 3.667e-05/0.6307, allocations: 20 kB / 473.9 MB, free: 8.668 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.003513/0.6343, allocations: 1.641 MB / 475.5 MB, free: 6.973 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6345, allocations: 12.03 kB / 475.5 MB, free: 6.961 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.6349, allocations: 197.6 kB / 475.7 MB, free: 6.766 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.6372, allocations: 1.212 MB / 476.9 MB, free: 5.484 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.6373, allocations: 11.98 kB / 476.9 MB, free: 5.473 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.6375, allocations: 20 kB / 476.9 MB, free: 5.453 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009413/0.6385, allocations: 369.2 kB / 477.3 MB, free: 5.094 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.6393, allocations: 402.2 kB / 477.7 MB, free: 4.68 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.6394, allocations: 0 / 477.7 MB, free: 4.68 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.6395, allocations: 3.938 kB / 477.7 MB, free: 4.676 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.6396, allocations: 12 kB / 477.7 MB, free: 4.664 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.6435, allocations: 1.609 MB / 479.3 MB, free: 2.996 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.6441, allocations: 255.2 kB / 479.6 MB, free: 2.738 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.6447, allocations: 341.9 kB / 479.9 MB, free: 2.402 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1385/0.7833, allocations: 18.12 MB / 498 MB, free: 127.8 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.7838, allocations: 189.3 kB / 498.2 MB, free: 127.7 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 4.051e-06/0.7838, allocations: 0 / 498.2 MB, free: 127.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=29): time 0.001047/0.7849, allocations: 470.8 kB / 498.7 MB, free: 127.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.7851, allocations: 163.3 kB / 498.8 MB, free: 127.4 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.7868, allocations: 1.115 MB / 499.9 MB, free: 127.2 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.7869, allocations: 40.41 kB / 500 MB, free: 127.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.7872, allocations: 360.5 kB / 0.4886 GB, free: 127 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.7874, allocations: 92.69 kB / 0.4887 GB, free: 127 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.7875, allocations: 0 / 0.4887 GB, free: 127 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.7876, allocations: 325.1 kB / 0.489 GB, free: 126.7 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.7879, allocations: 101.3 kB / 0.4891 GB, free: 126.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.7883, allocations: 315.7 kB / 0.4894 GB, free: 126.4 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.7887, allocations: 152.5 kB / 0.4895 GB, free: 126.4 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-06/0.7888, allocations: 0 / 0.4895 GB, free: 126.4 MB / 392.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001279/0.7901, allocations: 0.6012 MB / 0.4901 GB, free: 126.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7902, allocations: 11.44 kB / 0.4901 GB, free: 126.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.681e-05/0.7904, allocations: 37.59 kB / 0.4902 GB, free: 126.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.7908, allocations: 130.5 kB / 0.4903 GB, free: 126.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.7915, allocations: 128.7 kB / 0.4904 GB, free: 126.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007683/0.7923, allocations: 0.7022 MB / 0.4911 GB, free: 125.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.7935, allocations: 76.86 kB / 0.4912 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.7937, allocations: 39.66 kB / 0.4912 GB, free: 125.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/0.7938, allocations: 77.69 kB / 0.4913 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.7941, allocations: 187.9 kB / 0.4915 GB, free: 125.6 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.7971, allocations: 0.7801 MB / 0.4922 GB, free: 125.5 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7973, allocations: 5.844 kB / 0.4922 GB, free: 125.5 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.7973, allocations: 0 / 0.4922 GB, free: 125.5 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.7974, allocations: 3.969 kB / 0.4922 GB, free: 125.5 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.7998, allocations: 1.162 MB / 0.4934 GB, free: 125.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-05/0.8, allocations: 32.38 kB / 0.4934 GB, free: 125.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.8004, allocations: 69.58 kB / 0.4935 GB, free: 125.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.8008, allocations: 126.9 kB / 0.4936 GB, free: 125.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.8009, allocations: 17.31 kB / 0.4936 GB, free: 125.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/0.8018, allocations: 0.6953 MB / 0.4943 GB, free: 124.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-06/0.8018, allocations: 5.875 kB / 0.4943 GB, free: 124.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001026/0.8029, allocations: 0.6112 MB / 0.4949 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.8036, allocations: 288 kB / 0.4952 GB, free: 124.2 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.8039, allocations: 9.75 kB / 0.4952 GB, free: 124.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.8049, allocations: 47.94 kB / 0.4952 GB, free: 124.2 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.8051, allocations: 45.42 kB / 0.4953 GB, free: 124.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.8052, allocations: 18 kB / 0.4953 GB, free: 124.2 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001424/0.8067, allocations: 0.8334 MB / 0.4961 GB, free: 124 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001358/0.8081, allocations: 344.7 kB / 0.4964 GB, free: 124 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0009866/0.8092, allocations: 0.6799 MB / 0.4971 GB, free: 124 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.8102, allocations: 390.7 kB / 0.4975 GB, free: 123.9 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/0.8103, allocations: 3.156 kB / 0.4975 GB, free: 123.9 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.8109, allocations: 227.3 kB / 0.4977 GB, free: 123.8 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.8121, allocations: 227.5 kB / 0.4979 GB, free: 123.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.8158, allocations: 1.526 MB / 0.4994 GB, free: 123.3 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/0.8167, allocations: 1.259 MB / 0.5006 GB, free: 122.6 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.8168, allocations: 3.656 kB / 0.5006 GB, free: 122.6 MB / 392.6 MB Notification: Performance of Templates: time 0.1093/0.9262, allocations: 17.1 MB / 0.5173 GB, free: 121.5 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_77(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:308:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_77(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:309:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_78(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:309:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_78(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.c:310:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_79(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Inverter.o] Error 1