Notification: Performance of loadModel(Modelica): time 1.628/1.628, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.013e-05, allocations: 1.094 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06233/0.06242, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.3121, allocations: 96.66 MB / 388.4 MB, free: 2.293 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3124, allocations: 74.53 kB / 388.5 MB, free: 2.281 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2708/0.5833, allocations: 85.38 MB / 473.8 MB, free: 8.785 MB / 376.6 MB Notification: Performance of Transformations before backend: time 4.938e-05/0.5835, allocations: 24 kB / 473.9 MB, free: 8.762 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.004943/0.5885, allocations: 1.637 MB / 475.5 MB, free: 7.07 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5887, allocations: 12.03 kB / 475.5 MB, free: 7.059 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004796/0.5893, allocations: 197.7 kB / 475.7 MB, free: 6.863 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/0.5935, allocations: 1.219 MB / 476.9 MB, free: 5.574 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.5936, allocations: 8 kB / 476.9 MB, free: 5.566 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5939, allocations: 16 kB / 476.9 MB, free: 5.551 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/0.5953, allocations: 365.2 kB / 477.3 MB, free: 5.195 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5966, allocations: 410.1 kB / 477.7 MB, free: 4.773 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5967, allocations: 7.984 kB / 477.7 MB, free: 4.766 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.5969, allocations: 0 / 477.7 MB, free: 4.766 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.597, allocations: 15.98 kB / 477.7 MB, free: 4.75 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00431/0.6014, allocations: 1.605 MB / 479.3 MB, free: 3.082 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.602, allocations: 251.3 kB / 479.6 MB, free: 2.828 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.6026, allocations: 334.4 kB / 479.9 MB, free: 2.5 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1683/0.771, allocations: 18.11 MB / 498 MB, free: 77.59 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.7715, allocations: 194.3 kB / 498.2 MB, free: 77.55 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 4.469e-06/0.7716, allocations: 0 / 498.2 MB, free: 77.55 MB / 392.6 MB Notification: Performance of matching and sorting (n=29): time 0.001068/0.7727, allocations: 472.3 kB / 498.7 MB, free: 77.42 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.7728, allocations: 164.5 kB / 498.8 MB, free: 77.23 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.7745, allocations: 1.115 MB / 499.9 MB, free: 77.03 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.7747, allocations: 33.06 kB / 500 MB, free: 77 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.775, allocations: 364 kB / 0.4886 GB, free: 76.86 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.7751, allocations: 93.19 kB / 0.4887 GB, free: 76.81 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.7752, allocations: 0 / 0.4887 GB, free: 76.81 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.7754, allocations: 330.3 kB / 0.489 GB, free: 76.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.7757, allocations: 96.38 kB / 0.4891 GB, free: 76.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.776, allocations: 318.9 kB / 0.4894 GB, free: 76.23 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.7765, allocations: 151.4 kB / 0.4896 GB, free: 76.23 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.705e-06/0.7765, allocations: 0 / 0.4896 GB, free: 76.23 MB / 392.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001274/0.7779, allocations: 0.6002 MB / 0.4901 GB, free: 76.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.778, allocations: 7.094 kB / 0.4901 GB, free: 76.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.744e-05/0.7781, allocations: 43.22 kB / 0.4902 GB, free: 76.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.7786, allocations: 131.4 kB / 0.4903 GB, free: 76.09 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.7792, allocations: 124.7 kB / 0.4904 GB, free: 76.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007422/0.78, allocations: 0.7002 MB / 0.4911 GB, free: 75.57 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.7812, allocations: 81.92 kB / 0.4912 GB, free: 75.56 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.7813, allocations: 36 kB / 0.4912 GB, free: 75.56 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.7815, allocations: 81.59 kB / 0.4913 GB, free: 75.48 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7817, allocations: 191.2 kB / 0.4915 GB, free: 75.39 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.7848, allocations: 0.7808 MB / 0.4923 GB, free: 75.32 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.7849, allocations: 3.438 kB / 0.4923 GB, free: 75.32 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/0.785, allocations: 0 / 0.4923 GB, free: 75.32 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-06/0.785, allocations: 2.438 kB / 0.4923 GB, free: 75.32 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.7873, allocations: 1.162 MB / 0.4934 GB, free: 75.01 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.676e-05/0.7875, allocations: 37.33 kB / 0.4934 GB, free: 75.01 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.7879, allocations: 68.42 kB / 0.4935 GB, free: 75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/0.7883, allocations: 122.7 kB / 0.4936 GB, free: 75 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.7884, allocations: 17.03 kB / 0.4936 GB, free: 75 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007303/0.7892, allocations: 0.6968 MB / 0.4943 GB, free: 74.48 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7893, allocations: 1.969 kB / 0.4943 GB, free: 74.48 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001009/0.7903, allocations: 0.6168 MB / 0.4949 GB, free: 74.17 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.7909, allocations: 285.7 kB / 0.4952 GB, free: 73.98 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.7913, allocations: 9.703 kB / 0.4952 GB, free: 73.98 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008753/0.7922, allocations: 41.67 kB / 0.4952 GB, free: 73.98 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7924, allocations: 42.09 kB / 0.4953 GB, free: 73.98 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.7926, allocations: 30.53 kB / 0.4953 GB, free: 73.98 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001342/0.794, allocations: 0.8303 MB / 0.4961 GB, free: 73.83 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001207/0.7952, allocations: 339.1 kB / 0.4964 GB, free: 73.83 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0009346/0.7962, allocations: 0.6821 MB / 0.4971 GB, free: 73.76 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0009196/0.7972, allocations: 389.9 kB / 0.4975 GB, free: 73.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.7973, allocations: 2.344 kB / 0.4975 GB, free: 73.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.7978, allocations: 228.8 kB / 0.4977 GB, free: 73.63 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.7991, allocations: 228.6 kB / 0.4979 GB, free: 73.61 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.8025, allocations: 1.527 MB / 0.4994 GB, free: 73.12 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008154/0.8034, allocations: 1.266 MB / 0.5006 GB, free: 72.4 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.8034, allocations: 3.344 kB / 0.5006 GB, free: 72.4 MB / 392.6 MB Notification: Performance of Templates: time 0.1537/0.9572, allocations: 17.11 MB / 0.5174 GB, free: 71.21 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.makefile clang -fPIC -O1 -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_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_77(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:308:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_77(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:309:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_78(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:309:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Inverter_eqFunction_78(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.c:310:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Inverter.o] Error 1