Notification: Performance of loadModel(Modelica): time 1.58/1.58, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.311e-06/8.381e-06, allocations: 1 kB / 247.4 MB, free: 4.684 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06302/0.0631, allocations: 44.36 MB / 291.7 MB, free: 9.27 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.3104, allocations: 96.66 MB / 388.4 MB, free: 2.277 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3107, allocations: 79.52 kB / 388.5 MB, free: 2.262 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2605/0.5713, allocations: 85.38 MB / 473.8 MB, free: 8.762 MB / 376.6 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.5715, allocations: 24 kB / 473.9 MB, free: 8.738 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.003108/0.5746, allocations: 1.641 MB / 475.5 MB, free: 7.043 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5748, allocations: 8.031 kB / 475.5 MB, free: 7.035 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.5752, allocations: 193.7 kB / 475.7 MB, free: 6.844 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.5779, allocations: 1.216 MB / 476.9 MB, free: 5.559 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.5781, allocations: 8 kB / 476.9 MB, free: 5.551 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.5782, allocations: 16 kB / 476.9 MB, free: 5.535 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007609/0.5791, allocations: 373.2 kB / 477.3 MB, free: 5.172 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.5799, allocations: 402.2 kB / 477.7 MB, free: 4.758 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5799, allocations: 3.938 kB / 477.7 MB, free: 4.754 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.5801, allocations: 0 / 477.7 MB, free: 4.754 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.5801, allocations: 15.98 kB / 477.7 MB, free: 4.738 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.584, allocations: 1.605 MB / 479.3 MB, free: 3.074 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.5847, allocations: 255.2 kB / 479.6 MB, free: 2.816 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.5853, allocations: 338.4 kB / 479.9 MB, free: 2.484 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1396/0.7249, allocations: 18.11 MB / 498 MB, free: 128 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.7254, allocations: 191 kB / 498.2 MB, free: 127.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 4.121e-06/0.7254, allocations: 0 / 498.2 MB, free: 127.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=29): time 0.001052/0.7265, allocations: 478.7 kB / 498.7 MB, free: 127.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.7267, allocations: 161.9 kB / 498.8 MB, free: 127.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.7285, allocations: 1.117 MB / 499.9 MB, free: 127.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.7287, allocations: 36.97 kB / 500 MB, free: 127.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.729, allocations: 359.5 kB / 0.4886 GB, free: 127.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.7291, allocations: 89.09 kB / 0.4887 GB, free: 127.2 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.7292, allocations: 3.344 kB / 0.4887 GB, free: 127.2 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.7294, allocations: 326.7 kB / 0.489 GB, free: 126.9 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.7297, allocations: 95.19 kB / 0.4891 GB, free: 126.9 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.7301, allocations: 318.9 kB / 0.4894 GB, free: 126.6 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.7305, allocations: 152.2 kB / 0.4895 GB, free: 126.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.496e-06/0.7306, allocations: 0 / 0.4895 GB, free: 126.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001319/0.732, allocations: 0.6053 MB / 0.4901 GB, free: 126.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7321, allocations: 3.844 kB / 0.4901 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-05/0.7322, allocations: 38.38 kB / 0.4902 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.7326, allocations: 133.3 kB / 0.4903 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.7333, allocations: 130.5 kB / 0.4904 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007568/0.7342, allocations: 0.7002 MB / 0.4911 GB, free: 125.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7355, allocations: 77.5 kB / 0.4912 GB, free: 125.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.7357, allocations: 37.53 kB / 0.4912 GB, free: 125.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.7358, allocations: 81.11 kB / 0.4913 GB, free: 125.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.7361, allocations: 187.6 kB / 0.4915 GB, free: 125.8 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.7391, allocations: 0.786 MB / 0.4922 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7393, allocations: 6.047 kB / 0.4923 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.7393, allocations: 2.938 kB / 0.4923 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7394, allocations: 0 / 0.4923 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.7417, allocations: 1.159 MB / 0.4934 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.312e-05/0.7418, allocations: 36.08 kB / 0.4934 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.7423, allocations: 58.17 kB / 0.4935 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.7427, allocations: 131.1 kB / 0.4936 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.7428, allocations: 17.5 kB / 0.4936 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00071/0.7436, allocations: 0.6964 MB / 0.4943 GB, free: 124.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-06/0.7436, allocations: 9.219 kB / 0.4943 GB, free: 124.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001024/0.7447, allocations: 0.6077 MB / 0.4949 GB, free: 124.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.7454, allocations: 287.7 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.7458, allocations: 7.125 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.7468, allocations: 50.09 kB / 0.4952 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.747, allocations: 34.64 kB / 0.4953 GB, free: 124.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.7472, allocations: 24.06 kB / 0.4953 GB, free: 124.4 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001485/0.7487, allocations: 0.8347 MB / 0.4961 GB, free: 124.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001332/0.7501, allocations: 344.4 kB / 0.4964 GB, free: 124.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0009822/0.7512, allocations: 0.6883 MB / 0.4971 GB, free: 124.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0009584/0.7522, allocations: 386.8 kB / 0.4975 GB, free: 124.1 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.54e-06/0.7523, allocations: 0 / 0.4975 GB, free: 124.1 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.7528, allocations: 228.4 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.001275/0.7542, allocations: 223.4 kB / 0.4979 GB, free: 124 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.7578, allocations: 1.536 MB / 0.4994 GB, free: 123.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/0.7587, allocations: 1.26 MB / 0.5006 GB, free: 122.8 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.7588, allocations: 0.8438 kB / 0.5006 GB, free: 122.8 MB / 392.6 MB Notification: Performance of Templates: time 0.07605/0.8349, allocations: 17.1 MB / 0.5173 GB, free: 121.7 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