Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.149e-06, allocations: 5.188 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06032/0.06039, allocations: 44.35 MB / 291.7 MB, free: 9.262 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.307, allocations: 96.66 MB / 388.4 MB, free: 2.383 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3073, allocations: 80.8 kB / 388.5 MB, free: 2.367 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2604/0.5677, allocations: 85.37 MB / 473.8 MB, free: 8.801 MB / 376.6 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.5678, allocations: 20 kB / 473.9 MB, free: 8.781 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.003121/0.571, allocations: 1.641 MB / 475.5 MB, free: 7.082 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5711, allocations: 8.031 kB / 475.5 MB, free: 7.074 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.5715, allocations: 197.7 kB / 475.7 MB, free: 6.879 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.5741, allocations: 1.219 MB / 476.9 MB, free: 5.59 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5742, allocations: 12 kB / 476.9 MB, free: 5.578 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.5744, allocations: 16 kB / 476.9 MB, free: 5.562 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000757/0.5752, allocations: 365.2 kB / 477.3 MB, free: 5.207 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.576, allocations: 414.2 kB / 477.7 MB, free: 4.781 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5761, allocations: 0 / 477.7 MB, free: 4.781 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.5762, allocations: 0 / 477.7 MB, free: 4.781 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5763, allocations: 11.98 kB / 477.7 MB, free: 4.77 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.5803, allocations: 1.605 MB / 479.3 MB, free: 3.105 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.581, allocations: 255.2 kB / 479.6 MB, free: 2.848 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.5816, allocations: 334.4 kB / 479.9 MB, free: 2.52 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1388/0.7205, allocations: 18.12 MB / 498 MB, free: 128 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.7209, allocations: 195.1 kB / 498.2 MB, free: 127.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 4.54e-06/0.721, allocations: 3.562 kB / 498.2 MB, free: 127.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=29): time 0.001055/0.7221, allocations: 468.6 kB / 498.7 MB, free: 127.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.7222, allocations: 161.6 kB / 498.8 MB, free: 127.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.7239, allocations: 1.115 MB / 499.9 MB, free: 127.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.7241, allocations: 38.5 kB / 500 MB, free: 127.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.7244, allocations: 361.1 kB / 0.4886 GB, free: 127.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.7245, allocations: 88.78 kB / 0.4887 GB, free: 127.2 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.7246, allocations: 0 / 0.4887 GB, free: 127.2 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.7247, allocations: 325.4 kB / 0.489 GB, free: 126.9 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.725, allocations: 99.81 kB / 0.4891 GB, free: 126.9 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.7254, allocations: 313.8 kB / 0.4894 GB, free: 126.6 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.7258, allocations: 150.4 kB / 0.4895 GB, free: 126.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.006e-06/0.7259, allocations: 3.938 kB / 0.4895 GB, free: 126.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001246/0.7272, allocations: 0.6015 MB / 0.4901 GB, free: 126.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7273, allocations: 11.48 kB / 0.4901 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/0.7274, allocations: 44.64 kB / 0.4902 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.7279, allocations: 127.3 kB / 0.4903 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.7285, allocations: 122.2 kB / 0.4904 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.7294, allocations: 0.7077 MB / 0.4911 GB, free: 126 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.7306, allocations: 79.81 kB / 0.4912 GB, free: 126 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.7307, allocations: 35.88 kB / 0.4912 GB, free: 126 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.7309, allocations: 75.28 kB / 0.4913 GB, free: 125.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.7312, allocations: 190.6 kB / 0.4915 GB, free: 125.8 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.7342, allocations: 0.7829 MB / 0.4922 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7343, allocations: 3.25 kB / 0.4922 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-06/0.7344, allocations: 2.938 kB / 0.4922 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7344, allocations: 5.781 kB / 0.4922 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.7367, allocations: 1.164 MB / 0.4934 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.48e-05/0.7369, allocations: 31.56 kB / 0.4934 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.7373, allocations: 70.69 kB / 0.4935 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/0.7377, allocations: 119 kB / 0.4936 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.7378, allocations: 20.3 kB / 0.4936 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007342/0.7386, allocations: 0.6981 MB / 0.4943 GB, free: 124.9 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-06/0.7387, allocations: 0 / 0.4943 GB, free: 124.9 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00101/0.7398, allocations: 0.6085 MB / 0.4949 GB, free: 124.6 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.7404, allocations: 284.3 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.7409, allocations: 10.02 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.7419, allocations: 48.02 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7421, allocations: 36.78 kB / 0.4953 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.7422, allocations: 26.5 kB / 0.4953 GB, free: 124.4 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001407/0.7437, allocations: 0.8349 MB / 0.4961 GB, free: 124.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001335/0.7451, allocations: 341.4 kB / 0.4964 GB, free: 124.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.7462, allocations: 0.6962 MB / 0.4971 GB, free: 124.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.7472, allocations: 386.7 kB / 0.4975 GB, free: 124.1 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7473, allocations: 0 / 0.4975 GB, free: 124.1 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.7479, allocations: 222.6 kB / 0.4977 GB, free: 124 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7493, allocations: 230.3 kB / 0.4979 GB, free: 124 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.7529, allocations: 1.525 MB / 0.4994 GB, free: 123.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/0.7538, allocations: 1.263 MB / 0.5006 GB, free: 122.8 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.7539, allocations: 3.906 kB / 0.5006 GB, free: 122.8 MB / 392.6 MB Notification: Performance of Templates: time 0.09939/0.8534, allocations: 17.1 MB / 0.5173 GB, free: 121.7 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