Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 7.785 MB / 171.1 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.32e-05, allocations: 0.9688 kB / 247.5 MB, free: 5.594 MB / 203.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0623/0.06242, allocations: 44.37 MB / 291.8 MB, free: 12.02 MB / 251.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/0.3451, allocations: 107.9 MB / 399.7 MB, free: 15.52 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.3454, allocations: 86.77 kB / 399.8 MB, free: 15.5 MB / 315.1 MB Notification: Performance of FrontEnd: time 0.3226/0.6682, allocations: 81.13 MB / 480.9 MB, free: 6.273 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002226/0.6685, allocations: 75.86 kB / 481 MB, free: 6.199 MB / 379.1 MB Notification: Performance of Generate backend data structure: time 0.00746/0.676, allocations: 2.589 MB / 483.6 MB, free: 3.547 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6761, allocations: 11.97 kB / 483.6 MB, free: 3.535 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.6787, allocations: 423.9 kB / 484 MB, free: 3.117 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00528/0.6841, allocations: 1.846 MB / 485.9 MB, free: 1.215 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.6843, allocations: 80 kB / 485.9 MB, free: 1.137 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/0.6852, allocations: 147.9 kB / 486.1 MB, free: 0.9922 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006914/0.6921, allocations: 2.333 MB / 488.4 MB, free: 14.65 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00792/0.7001, allocations: 2.806 MB / 491.2 MB, free: 11.7 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.7004, allocations: 11.84 kB / 491.2 MB, free: 11.69 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.7008, allocations: 4 kB / 491.2 MB, free: 11.69 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.701, allocations: 112.9 kB / 491.4 MB, free: 11.57 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.7238, allocations: 9.979 MB / 0.4896 GB, free: 1.281 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.726, allocations: 0.9199 MB / 0.4905 GB, free: 364 kB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1481/0.8743, allocations: 0.9055 MB / 0.4914 GB, free: 76.76 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.8747, allocations: 142.6 kB / 0.4915 GB, free: 76.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.8748, allocations: 49.95 kB / 0.4916 GB, free: 76.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=118): time 7.124e-06/0.8749, allocations: 0 / 0.4916 GB, free: 76.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=143): time 0.01473/0.8897, allocations: 5.448 MB / 0.4969 GB, free: 76.09 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8898, allocations: 66.66 kB / 0.4969 GB, free: 76.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.8925, allocations: 1.37 MB / 0.4983 GB, free: 75.86 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.8928, allocations: 25.7 kB / 0.4983 GB, free: 75.83 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.8934, allocations: 0.9838 MB / 0.4993 GB, free: 75.41 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.8939, allocations: 483 kB / 0.4997 GB, free: 75.15 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8941, allocations: 3.812 kB / 0.4997 GB, free: 75.15 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8943, allocations: 372.2 kB / 0.5001 GB, free: 74.85 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.8958, allocations: 0.8015 MB / 0.5009 GB, free: 74.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.8975, allocations: 1.276 MB / 0.5021 GB, free: 74.29 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.8994, allocations: 1.014 MB / 0.5031 GB, free: 74.28 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.8995, allocations: 3.906 kB / 0.5031 GB, free: 74.28 MB / 395.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006207/0.9058, allocations: 2.699 MB / 0.5057 GB, free: 74.1 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.9059, allocations: 11 kB / 0.5057 GB, free: 74.1 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/0.906, allocations: 16.22 kB / 0.5058 GB, free: 74.1 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.9081, allocations: 0.5882 MB / 0.5063 GB, free: 74.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.9106, allocations: 397.4 kB / 0.5067 GB, free: 74.07 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009141/0.9198, allocations: 4.881 MB / 0.5115 GB, free: 72.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.9225, allocations: 89.39 kB / 0.5116 GB, free: 72.71 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.9229, allocations: 75.62 kB / 0.5116 GB, free: 72.71 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.9231, allocations: 79.19 kB / 0.5117 GB, free: 72.64 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.9237, allocations: 184.5 kB / 0.5119 GB, free: 72.55 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.9292, allocations: 2.422 MB / 0.5143 GB, free: 72.43 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.9294, allocations: 15.34 kB / 0.5143 GB, free: 72.43 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.9295, allocations: 3.75 kB / 0.5143 GB, free: 72.43 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.9295, allocations: 11.53 kB / 0.5143 GB, free: 72.43 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.9418, allocations: 4.958 MB / 0.5191 GB, free: 71.92 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/0.9419, allocations: 7.812 kB / 0.5191 GB, free: 71.92 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.9437, allocations: 242.7 kB / 0.5194 GB, free: 71.92 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.9466, allocations: 0.6408 MB / 0.52 GB, free: 71.89 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/0.9469, allocations: 21.42 kB / 0.52 GB, free: 71.89 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.9572, allocations: 6.494 MB / 0.5264 GB, free: 69.33 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.079e-06/0.9573, allocations: 5.812 kB / 0.5264 GB, free: 69.33 MB / 395.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007247/0.9646, allocations: 3.879 MB / 0.5301 GB, free: 68.61 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.9661, allocations: 440.9 kB / 0.5306 GB, free: 68.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.9667, allocations: 14.59 kB / 0.5306 GB, free: 68.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.9686, allocations: 80.97 kB / 0.5307 GB, free: 68.43 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.969, allocations: 95.38 kB / 0.5308 GB, free: 68.42 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.9692, allocations: 42.17 kB / 0.5308 GB, free: 68.42 MB / 395.1 MB Notification: Performance of sort global known variables: time 0.001933/0.9711, allocations: 1.034 MB / 0.5318 GB, free: 68.31 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002741/0.974, allocations: 0.5179 MB / 0.5323 GB, free: 68.31 MB / 395.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004612/0.9745, allocations: 275.5 kB / 0.5326 GB, free: 68.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004709/0.9793, allocations: 2.368 MB / 0.5349 GB, free: 67.95 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.683e-06/0.9794, allocations: 0 / 0.5349 GB, free: 67.95 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003159/0.9826, allocations: 1.457 MB / 0.5363 GB, free: 67.67 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.985, allocations: 305.8 kB / 0.5366 GB, free: 67.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/0.9948, allocations: 4.143 MB / 0.5406 GB, free: 66.73 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/0.9979, allocations: 2.176 MB / 0.5428 GB, free: 65.84 MB / 395.1 MB Notification: Performance of SimCode: time 2.235e-06/0.998, allocations: 0 / 0.5428 GB, free: 65.84 MB / 395.1 MB Notification: Performance of Templates: time 0.09066/1.089, allocations: 25.57 MB / 0.5677 GB, free: 56.5 MB / 395.1 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