Notification: Performance of loadModel(Modelica): time 1.672/1.672, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.285e-05/1.32e-05, allocations: 1.344 kB / 247.5 MB, free: 4.633 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06782/0.06794, allocations: 44.36 MB / 291.8 MB, free: 9.188 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.3317, allocations: 107.9 MB / 399.7 MB, free: 11.71 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.3321, allocations: 93.31 kB / 399.8 MB, free: 11.67 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.3303/0.6624, allocations: 81.13 MB / 480.9 MB, free: 1.754 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002092/0.6628, allocations: 71.88 kB / 481 MB, free: 1.684 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.007306/0.6701, allocations: 2.589 MB / 483.6 MB, free: 15.03 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6703, allocations: 11.97 kB / 483.6 MB, free: 15.02 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.6728, allocations: 431.9 kB / 484 MB, free: 14.59 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.6781, allocations: 1.826 MB / 485.9 MB, free: 12.71 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.6783, allocations: 80 kB / 485.9 MB, free: 12.63 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006993/0.6791, allocations: 155.9 kB / 486.1 MB, free: 12.48 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006229/0.6854, allocations: 2.349 MB / 488.4 MB, free: 10.12 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007352/0.6928, allocations: 2.794 MB / 491.2 MB, free: 7.191 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-05/0.693, allocations: 11.89 kB / 491.3 MB, free: 7.18 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.6933, allocations: 4 kB / 491.3 MB, free: 7.176 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002967/0.6937, allocations: 108.9 kB / 491.4 MB, free: 7.066 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1755/0.8692, allocations: 9.973 MB / 0.4896 GB, free: 71.73 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.8714, allocations: 0.9229 MB / 0.4905 GB, free: 71.72 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.8733, allocations: 0.9084 MB / 0.4914 GB, free: 71.71 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.8737, allocations: 140 kB / 0.4915 GB, free: 71.61 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.8738, allocations: 44.69 kB / 0.4915 GB, free: 71.57 MB / 392.6 MB Notification: Performance of pre-optimization done (n=118): time 7.473e-06/0.8739, allocations: 3.375 kB / 0.4916 GB, free: 71.57 MB / 392.6 MB Notification: Performance of matching and sorting (n=143): time 0.01543/0.8894, allocations: 5.45 MB / 0.4969 GB, free: 70.97 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.8895, allocations: 66.34 kB / 0.4969 GB, free: 70.91 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.8923, allocations: 1.378 MB / 0.4983 GB, free: 70.75 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.8927, allocations: 25.7 kB / 0.4983 GB, free: 70.72 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/0.8934, allocations: 0.9808 MB / 0.4993 GB, free: 70.29 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006485/0.8941, allocations: 482.2 kB / 0.4997 GB, free: 70.04 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.8944, allocations: 0 / 0.4997 GB, free: 70.04 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.8946, allocations: 370.7 kB / 0.5001 GB, free: 69.73 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.8963, allocations: 0.8019 MB / 0.5009 GB, free: 69.73 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.8985, allocations: 1.275 MB / 0.5021 GB, free: 69.18 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.9007, allocations: 1.02 MB / 0.5031 GB, free: 69.16 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.9008, allocations: 3.969 kB / 0.5031 GB, free: 69.16 MB / 392.6 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00668/0.9075, allocations: 2.701 MB / 0.5057 GB, free: 68.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9077, allocations: 6.75 kB / 0.5058 GB, free: 68.98 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/0.9078, allocations: 17.12 kB / 0.5058 GB, free: 68.98 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.9099, allocations: 0.5863 MB / 0.5063 GB, free: 68.96 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.9123, allocations: 401.3 kB / 0.5067 GB, free: 68.96 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009124/0.9216, allocations: 4.863 MB / 0.5115 GB, free: 67.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.9241, allocations: 82.38 kB / 0.5116 GB, free: 67.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.9246, allocations: 78.03 kB / 0.5116 GB, free: 67.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.9249, allocations: 75.28 kB / 0.5117 GB, free: 67.52 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/0.9255, allocations: 181.7 kB / 0.5119 GB, free: 67.43 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/0.9313, allocations: 2.423 MB / 0.5142 GB, free: 67.31 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.9314, allocations: 15.38 kB / 0.5143 GB, free: 67.31 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.9315, allocations: 11 kB / 0.5143 GB, free: 67.31 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.9315, allocations: 7.312 kB / 0.5143 GB, free: 67.31 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.9434, allocations: 4.956 MB / 0.5191 GB, free: 66.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.9435, allocations: 3.125 kB / 0.5191 GB, free: 66.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.9452, allocations: 248.3 kB / 0.5193 GB, free: 66.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/0.9479, allocations: 0.6327 MB / 0.52 GB, free: 66.79 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.9483, allocations: 22.75 kB / 0.52 GB, free: 66.79 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.9588, allocations: 6.469 MB / 0.5263 GB, free: 64.21 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.9589, allocations: 12.22 kB / 0.5263 GB, free: 64.21 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007371/0.9664, allocations: 3.872 MB / 0.5301 GB, free: 63.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9679, allocations: 443.1 kB / 0.5305 GB, free: 63.32 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006548/0.9686, allocations: 18.06 kB / 0.5305 GB, free: 63.31 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.9708, allocations: 82.64 kB / 0.5306 GB, free: 63.31 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.9712, allocations: 87.7 kB / 0.5307 GB, free: 63.31 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.9714, allocations: 40.62 kB / 0.5307 GB, free: 63.31 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002263/0.9738, allocations: 1.036 MB / 0.5318 GB, free: 63.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003098/0.977, allocations: 0.5217 MB / 0.5323 GB, free: 63.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004786/0.9776, allocations: 275.5 kB / 0.5325 GB, free: 63.14 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005044/0.9827, allocations: 2.368 MB / 0.5348 GB, free: 62.84 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.102e-06/0.9828, allocations: 0 / 0.5348 GB, free: 62.84 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.9863, allocations: 1.453 MB / 0.5363 GB, free: 62.56 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.9889, allocations: 309.3 kB / 0.5365 GB, free: 62.49 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.001, allocations: 4.146 MB / 0.5406 GB, free: 60.94 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00336/1.004, allocations: 2.176 MB / 0.5427 GB, free: 60 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/1.004, allocations: 0 / 0.5427 GB, free: 60 MB / 392.6 MB Notification: Performance of Templates: time 0.1344/1.139, allocations: 25.58 MB / 0.5677 GB, free: 50.14 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