Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.869e-06/8.94e-06, allocations: 1.062 kB / 247.5 MB, free: 4.602 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06238/0.06246, allocations: 44.37 MB / 291.8 MB, free: 9.137 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/0.3225, allocations: 107.9 MB / 399.7 MB, free: 11.98 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.3229, allocations: 90 kB / 399.8 MB, free: 11.94 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.3241/0.6471, allocations: 81.12 MB / 480.9 MB, free: 1.828 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0001893/0.6474, allocations: 71.92 kB / 481 MB, free: 1.758 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.007289/0.6547, allocations: 2.59 MB / 483.6 MB, free: 15.11 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6549, allocations: 15.97 kB / 483.6 MB, free: 15.09 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.6577, allocations: 420 kB / 484 MB, free: 14.68 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.663, allocations: 1.838 MB / 485.9 MB, free: 12.78 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.6632, allocations: 84 kB / 485.9 MB, free: 12.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008679/0.6641, allocations: 155.9 kB / 486.1 MB, free: 12.55 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006128/0.6703, allocations: 2.333 MB / 488.4 MB, free: 10.21 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/0.6777, allocations: 2.802 MB / 491.2 MB, free: 7.262 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.6779, allocations: 7.906 kB / 491.2 MB, free: 7.254 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/0.6784, allocations: 4 kB / 491.2 MB, free: 7.25 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.6786, allocations: 108.9 kB / 491.4 MB, free: 7.141 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1399/0.8185, allocations: 9.974 MB / 0.4896 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.8206, allocations: 0.9254 MB / 0.4905 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.8224, allocations: 0.9064 MB / 0.4914 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/0.8229, allocations: 146.6 kB / 0.4915 GB, free: 126.3 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.823, allocations: 45.2 kB / 0.4916 GB, free: 126.2 MB / 392.6 MB Notification: Performance of pre-optimization done (n=118): time 6.914e-06/0.8231, allocations: 3.906 kB / 0.4916 GB, free: 126.2 MB / 392.6 MB Notification: Performance of matching and sorting (n=143): time 0.01497/0.8381, allocations: 5.452 MB / 0.4969 GB, free: 125.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.8382, allocations: 65.88 kB / 0.4969 GB, free: 125.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.8409, allocations: 1.37 MB / 0.4983 GB, free: 125.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.8413, allocations: 28.77 kB / 0.4983 GB, free: 125.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.8419, allocations: 0.9839 MB / 0.4993 GB, free: 125 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.8425, allocations: 475.2 kB / 0.4997 GB, free: 124.7 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.8426, allocations: 0 / 0.4997 GB, free: 124.7 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8428, allocations: 379.2 kB / 0.5001 GB, free: 124.4 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.8444, allocations: 0.8015 MB / 0.5009 GB, free: 124.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.8463, allocations: 1.277 MB / 0.5021 GB, free: 123.8 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.8484, allocations: 1.008 MB / 0.5031 GB, free: 123.8 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/0.8485, allocations: 7.469 kB / 0.5031 GB, free: 123.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00666/0.8552, allocations: 2.702 MB / 0.5057 GB, free: 123.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8553, allocations: 6.562 kB / 0.5058 GB, free: 123.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/0.8554, allocations: 18.41 kB / 0.5058 GB, free: 123.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.8576, allocations: 0.58 MB / 0.5063 GB, free: 123.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.86, allocations: 404.5 kB / 0.5067 GB, free: 123.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/0.8688, allocations: 4.865 MB / 0.5115 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.8714, allocations: 82.94 kB / 0.5116 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.8719, allocations: 72.02 kB / 0.5116 GB, free: 122.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.8721, allocations: 83.72 kB / 0.5117 GB, free: 122.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/0.8727, allocations: 182 kB / 0.5119 GB, free: 122.1 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/0.8785, allocations: 2.422 MB / 0.5142 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.8787, allocations: 14.2 kB / 0.5143 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.8787, allocations: 7.688 kB / 0.5143 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.8788, allocations: 10.78 kB / 0.5143 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.8907, allocations: 4.958 MB / 0.5191 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/0.8908, allocations: 7.734 kB / 0.5191 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.8925, allocations: 239.6 kB / 0.5193 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.8951, allocations: 0.6365 MB / 0.52 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.8954, allocations: 19.53 kB / 0.52 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.9063, allocations: 6.47 MB / 0.5263 GB, free: 118.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.9064, allocations: 7.25 kB / 0.5263 GB, free: 118.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007326/0.9138, allocations: 3.869 MB / 0.5301 GB, free: 117 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9153, allocations: 448 kB / 0.5305 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/0.916, allocations: 11.28 kB / 0.5305 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.9181, allocations: 80.86 kB / 0.5306 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.9185, allocations: 92.5 kB / 0.5307 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.9188, allocations: 48.2 kB / 0.5307 GB, free: 116.7 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002072/0.9209, allocations: 1.032 MB / 0.5317 GB, free: 116.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002873/0.9239, allocations: 0.5255 MB / 0.5323 GB, free: 116.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000475/0.9244, allocations: 273 kB / 0.5325 GB, free: 116.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.9294, allocations: 2.368 MB / 0.5348 GB, free: 115.3 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.823e-06/0.9295, allocations: 0 / 0.5348 GB, free: 115.3 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.9328, allocations: 1.456 MB / 0.5363 GB, free: 114.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.9354, allocations: 304.1 kB / 0.5365 GB, free: 114.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.9462, allocations: 4.154 MB / 0.5406 GB, free: 113 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002999/0.9493, allocations: 2.174 MB / 0.5427 GB, free: 112.1 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9494, allocations: 0 / 0.5427 GB, free: 112.1 MB / 392.6 MB Notification: Performance of Templates: time 0.09777/1.047, allocations: 25.57 MB / 0.5677 GB, free: 101.1 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Machines_Examples_SynchronousInductionMachines_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_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.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1923:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_261(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1924:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_262(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1925:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_263(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1926:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_264(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1927:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_266(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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o] Error 1