Notification: Performance of loadModel(Modelica): time 1.515/1.515, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.076e-05, allocations: 1.312 kB / 247.5 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06213/0.06221, allocations: 44.36 MB / 291.8 MB, free: 9.191 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/0.318, allocations: 102.6 MB / 394.5 MB, free: 15.7 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.3184, allocations: 90.72 kB / 394.6 MB, free: 15.69 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.1981/0.5166, allocations: 48.25 MB / 442.8 MB, free: 8.086 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002142/0.5169, allocations: 59.94 kB / 442.9 MB, free: 8.027 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006857/0.5238, allocations: 2.318 MB / 445.2 MB, free: 5.652 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.524, allocations: 11.97 kB / 445.2 MB, free: 5.641 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.526, allocations: 324.5 kB / 445.5 MB, free: 5.32 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.5312, allocations: 1.664 MB / 447.2 MB, free: 3.598 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5314, allocations: 79.91 kB / 447.3 MB, free: 3.52 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000726/0.5322, allocations: 124 kB / 447.4 MB, free: 3.398 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005865/0.5381, allocations: 2.109 MB / 449.5 MB, free: 1.281 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00782/0.546, allocations: 2.514 MB / 452 MB, free: 14.62 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-05/0.5462, allocations: 11.88 kB / 452 MB, free: 14.61 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.5466, allocations: 0 / 452 MB, free: 14.61 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.5468, allocations: 108.3 kB / 452.1 MB, free: 14.5 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.5675, allocations: 8.686 MB / 460.8 MB, free: 5.566 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.5696, allocations: 0.8447 MB / 461.6 MB, free: 4.707 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.5716, allocations: 0.8583 MB / 462.5 MB, free: 3.848 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.5721, allocations: 146 kB / 462.6 MB, free: 3.688 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5722, allocations: 43.56 kB / 462.7 MB, free: 3.637 MB / 360.6 MB Notification: Performance of pre-optimization done (n=108): time 8.032e-06/0.5723, allocations: 0 / 462.7 MB, free: 3.637 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01373/0.5861, allocations: 4.92 MB / 467.6 MB, free: 14.66 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5862, allocations: 68.7 kB / 467.7 MB, free: 14.58 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.5884, allocations: 1.104 MB / 468.8 MB, free: 13.47 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/0.5889, allocations: 33.7 kB / 468.8 MB, free: 13.43 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.5893, allocations: 0.8723 MB / 469.7 MB, free: 12.54 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.5898, allocations: 445.4 kB / 470.1 MB, free: 12.1 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.59, allocations: 0 / 470.1 MB, free: 12.1 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5901, allocations: 365.9 kB / 470.5 MB, free: 11.74 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.5917, allocations: 0.7107 MB / 471.2 MB, free: 11.03 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.5932, allocations: 1.118 MB / 472.3 MB, free: 9.734 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.595, allocations: 0.9041 MB / 473.2 MB, free: 8.832 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.5951, allocations: 4 kB / 473.2 MB, free: 8.828 MB / 376.6 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00545/0.6006, allocations: 2.463 MB / 475.7 MB, free: 6.344 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6007, allocations: 12.03 kB / 475.7 MB, free: 6.332 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.6008, allocations: 15.94 kB / 475.7 MB, free: 6.316 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.6029, allocations: 0.5841 MB / 476.3 MB, free: 5.723 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.6051, allocations: 343.5 kB / 476.6 MB, free: 5.387 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/0.6151, allocations: 6.088 MB / 482.7 MB, free: 15.06 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.6171, allocations: 59.94 kB / 482.8 MB, free: 15 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.6174, allocations: 68 kB / 482.8 MB, free: 14.94 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.6177, allocations: 83.17 kB / 482.9 MB, free: 14.86 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/0.6184, allocations: 158 kB / 483.1 MB, free: 14.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/0.6236, allocations: 2.239 MB / 485.3 MB, free: 12.44 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.6238, allocations: 15.94 kB / 485.3 MB, free: 12.42 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.6238, allocations: 8 kB / 485.3 MB, free: 12.41 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.6239, allocations: 11.97 kB / 485.3 MB, free: 12.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.6401, allocations: 4.489 MB / 489.8 MB, free: 7.812 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.6403, allocations: 4.344 kB / 489.8 MB, free: 7.809 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/0.6428, allocations: 215.7 kB / 490.1 MB, free: 7.598 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/0.647, allocations: 0.6392 MB / 490.7 MB, free: 6.949 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/0.6474, allocations: 15.98 kB / 490.7 MB, free: 6.934 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1706/0.8181, allocations: 7.7 MB / 498.4 MB, free: 63.68 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.009e-06/0.8182, allocations: 6.281 kB / 498.4 MB, free: 63.68 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006492/0.8248, allocations: 3.498 MB / 0.4901 GB, free: 63.19 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.826, allocations: 391.8 kB / 0.4905 GB, free: 63.09 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/0.8265, allocations: 14.67 kB / 0.4905 GB, free: 63.09 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.8279, allocations: 66.11 kB / 0.4906 GB, free: 63.09 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.8282, allocations: 74.98 kB / 0.4907 GB, free: 63.09 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.8284, allocations: 36.95 kB / 0.4907 GB, free: 63.09 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001491/0.8299, allocations: 0.8329 MB / 0.4915 GB, free: 62.98 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002087/0.8321, allocations: 467.8 kB / 0.492 GB, free: 62.98 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00041/0.8326, allocations: 276.4 kB / 0.4922 GB, free: 62.93 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.8369, allocations: 2.202 MB / 0.4944 GB, free: 62.6 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.837, allocations: 3.938 kB / 0.4944 GB, free: 62.6 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.8399, allocations: 1.364 MB / 0.4957 GB, free: 62.29 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.8426, allocations: 337.7 kB / 0.496 GB, free: 62.28 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/0.8516, allocations: 3.835 MB / 0.4998 GB, free: 61.45 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/0.854, allocations: 2.001 MB / 0.5017 GB, free: 60.71 MB / 392.6 MB Notification: Performance of SimCode: time 2.933e-06/0.8541, allocations: 1.906 kB / 0.5017 GB, free: 60.71 MB / 392.6 MB Notification: Performance of Templates: time 0.1208/0.975, allocations: 24.41 MB / 0.5256 GB, free: 59.09 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1793:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_250(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1794:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_251(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1795:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_252(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1796:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_253(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1797:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_254(DATA* data, threadData_t *threadData); ^ ; 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.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o] Error 1