Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.778e-06, allocations: 1.312 kB / 247.5 MB, free: 4.605 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06275/0.06283, allocations: 44.36 MB / 291.8 MB, free: 9.16 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.3586, allocations: 107.9 MB / 399.7 MB, free: 11.95 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.359, allocations: 91.44 kB / 399.8 MB, free: 11.9 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.3273/0.6864, allocations: 81.13 MB / 480.9 MB, free: 1.863 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002072/0.6867, allocations: 67.88 kB / 481 MB, free: 1.797 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.007314/0.6941, allocations: 2.593 MB / 483.6 MB, free: 15.14 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6942, allocations: 11.97 kB / 483.6 MB, free: 15.13 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.6969, allocations: 427.9 kB / 484 MB, free: 14.71 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.7021, allocations: 1.834 MB / 485.9 MB, free: 12.82 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.7023, allocations: 80 kB / 485.9 MB, free: 12.74 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009233/0.7033, allocations: 155.9 kB / 486.1 MB, free: 12.59 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00632/0.7097, allocations: 2.337 MB / 488.4 MB, free: 10.25 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.7165, allocations: 2.806 MB / 491.2 MB, free: 7.301 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.339e-05/0.7167, allocations: 7.906 kB / 491.2 MB, free: 7.293 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.7171, allocations: 4 kB / 491.2 MB, free: 7.289 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.7172, allocations: 104.9 kB / 491.3 MB, free: 7.184 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1381/0.8554, allocations: 9.975 MB / 0.4896 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.8574, allocations: 0.9216 MB / 0.4905 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.8592, allocations: 0.9166 MB / 0.4914 GB, free: 126.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.8596, allocations: 137.6 kB / 0.4915 GB, free: 126.3 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.8597, allocations: 47 kB / 0.4915 GB, free: 126.3 MB / 392.6 MB Notification: Performance of pre-optimization done (n=118): time 6.565e-06/0.8598, allocations: 0 / 0.4915 GB, free: 126.3 MB / 392.6 MB Notification: Performance of matching and sorting (n=143): time 0.01444/0.8743, allocations: 5.449 MB / 0.4969 GB, free: 125.7 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.8744, allocations: 66.72 kB / 0.4969 GB, free: 125.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.8771, allocations: 1.377 MB / 0.4983 GB, free: 125.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.8774, allocations: 29.64 kB / 0.4983 GB, free: 125.5 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.878, allocations: 0.9858 MB / 0.4993 GB, free: 125 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.8786, allocations: 472.5 kB / 0.4997 GB, free: 124.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.8787, allocations: 3.5 kB / 0.4997 GB, free: 124.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8789, allocations: 374.2 kB / 0.5001 GB, free: 124.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.8812, allocations: 0.8 MB / 0.5009 GB, free: 124.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.8832, allocations: 1.278 MB / 0.5021 GB, free: 123.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.8868, allocations: 1.013 MB / 0.5031 GB, free: 123.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.8869, allocations: 5.188 kB / 0.5031 GB, free: 123.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.01032/0.8973, allocations: 2.697 MB / 0.5057 GB, free: 123.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.8975, allocations: 7.625 kB / 0.5057 GB, free: 123.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-05/0.8977, allocations: 21.31 kB / 0.5058 GB, free: 123.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/0.9011, allocations: 0.5822 MB / 0.5063 GB, free: 123.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.9052, allocations: 402.1 kB / 0.5067 GB, free: 123.7 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00994/0.9152, allocations: 4.887 MB / 0.5115 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.9176, allocations: 85 kB / 0.5116 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/0.918, allocations: 78.41 kB / 0.5116 GB, free: 122.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.9182, allocations: 76.66 kB / 0.5117 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/0.9188, allocations: 187.3 kB / 0.5119 GB, free: 122.2 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008382/0.9273, allocations: 2.419 MB / 0.5143 GB, free: 122.1 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.9274, allocations: 18.81 kB / 0.5143 GB, free: 122.1 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/0.9275, allocations: 7.875 kB / 0.5143 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/0.9277, allocations: 7.734 kB / 0.5143 GB, free: 122 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.9404, allocations: 4.954 MB / 0.5191 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.9406, allocations: 3.969 kB / 0.5191 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.9422, allocations: 248.4 kB / 0.5194 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.9447, allocations: 0.6348 MB / 0.52 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.945, allocations: 18.59 kB / 0.52 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.9551, allocations: 6.501 MB / 0.5264 GB, free: 118.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.9552, allocations: 9.562 kB / 0.5264 GB, free: 118.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007266/0.9625, allocations: 3.863 MB / 0.5301 GB, free: 117 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.9639, allocations: 450.2 kB / 0.5306 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.9644, allocations: 14.16 kB / 0.5306 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.9662, allocations: 86.98 kB / 0.5307 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.9666, allocations: 82.45 kB / 0.5307 GB, free: 116.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9668, allocations: 51.39 kB / 0.5308 GB, free: 116.7 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001849/0.9687, allocations: 1.034 MB / 0.5318 GB, free: 116.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002638/0.9714, allocations: 0.5272 MB / 0.5323 GB, free: 116.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004234/0.9719, allocations: 268.1 kB / 0.5326 GB, free: 116.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004661/0.9766, allocations: 2.366 MB / 0.5349 GB, free: 115.2 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/0.9767, allocations: 3.969 kB / 0.5349 GB, free: 115.2 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00312/0.9799, allocations: 1.455 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.002273/0.9822, allocations: 304.4 kB / 0.5366 GB, free: 114.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009796/0.9921, allocations: 4.145 MB / 0.5406 GB, free: 113 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/0.9949, allocations: 2.18 MB / 0.5428 GB, free: 112 MB / 392.6 MB Notification: Performance of SimCode: time 3.422e-06/0.9951, allocations: 3.094 kB / 0.5428 GB, free: 112 MB / 392.6 MB Notification: Performance of Templates: time 0.0998/1.095, allocations: 25.58 MB / 0.5678 GB, free: 101 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1923:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_261(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1924:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_262(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1925:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_263(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1926:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_eqFunction_264(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.c:1927:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.o] Error 1