Notification: Performance of loadModel(Modelica): time 1.502/1.502, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.428e-06, allocations: 1.125 kB / 247.5 MB, free: 4.598 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05926/0.05934, allocations: 44.35 MB / 291.8 MB, free: 9.188 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4009, allocations: 102.7 MB / 394.5 MB, free: 15.8 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/0.4014, allocations: 92.5 kB / 394.6 MB, free: 15.79 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2295/0.631, allocations: 48.25 MB / 442.8 MB, free: 8.262 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001763/0.6313, allocations: 63.94 kB / 442.9 MB, free: 8.199 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.005789/0.6371, allocations: 2.322 MB / 445.2 MB, free: 5.82 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6373, allocations: 8.031 kB / 445.2 MB, free: 5.812 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.6388, allocations: 316.5 kB / 445.5 MB, free: 5.5 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.6434, allocations: 1.668 MB / 447.2 MB, free: 3.773 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.6436, allocations: 79.89 kB / 447.3 MB, free: 3.695 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/0.6441, allocations: 132 kB / 447.4 MB, free: 3.566 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005155/0.6493, allocations: 2.109 MB / 449.5 MB, free: 1.449 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.6562, allocations: 2.51 MB / 452 MB, free: 14.8 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-05/0.6564, allocations: 19.88 kB / 452 MB, free: 14.78 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.6567, allocations: 4 kB / 452 MB, free: 14.78 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.6569, allocations: 104.3 kB / 452.1 MB, free: 14.67 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.6761, allocations: 8.678 MB / 460.8 MB, free: 5.738 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.678, allocations: 0.8485 MB / 461.7 MB, free: 4.875 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.6799, allocations: 0.8583 MB / 462.5 MB, free: 4.016 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.6802, allocations: 130.1 kB / 462.6 MB, free: 3.871 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6803, allocations: 47.56 kB / 462.7 MB, free: 3.816 MB / 360.6 MB Notification: Performance of pre-optimization done (n=108): time 6.844e-06/0.6804, allocations: 0 / 462.7 MB, free: 3.816 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01285/0.6933, allocations: 4.931 MB / 467.6 MB, free: 14.83 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.6934, allocations: 64.72 kB / 467.7 MB, free: 14.75 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.6955, allocations: 1.104 MB / 468.8 MB, free: 13.64 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.6957, allocations: 33.64 kB / 468.8 MB, free: 13.6 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.6963, allocations: 0.8684 MB / 469.7 MB, free: 12.72 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.6967, allocations: 441.4 kB / 470.1 MB, free: 12.28 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.6969, allocations: 4 kB / 470.1 MB, free: 12.28 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.697, allocations: 365.9 kB / 470.5 MB, free: 11.91 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.6985, allocations: 0.7107 MB / 471.2 MB, free: 11.2 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.7001, allocations: 1.118 MB / 472.3 MB, free: 9.91 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.7019, allocations: 0.9119 MB / 473.2 MB, free: 9 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.702, allocations: 4 kB / 473.2 MB, free: 8.996 MB / 376.6 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.0057/0.7078, allocations: 2.463 MB / 475.7 MB, free: 6.512 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.7079, allocations: 8 kB / 475.7 MB, free: 6.504 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.708, allocations: 12 kB / 475.7 MB, free: 6.492 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.7102, allocations: 0.5882 MB / 476.3 MB, free: 5.895 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.7123, allocations: 347.5 kB / 476.6 MB, free: 5.555 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.7227, allocations: 6.088 MB / 482.7 MB, free: 15.23 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7248, allocations: 59.94 kB / 482.8 MB, free: 15.17 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.725, allocations: 67.98 kB / 482.8 MB, free: 15.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.7252, allocations: 79.19 kB / 482.9 MB, free: 15.02 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.7257, allocations: 158 kB / 483.1 MB, free: 14.87 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/0.7311, allocations: 2.243 MB / 485.3 MB, free: 12.6 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.7312, allocations: 15.94 kB / 485.3 MB, free: 12.59 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.7313, allocations: 12.12 kB / 485.3 MB, free: 12.57 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/0.7313, allocations: 3.984 kB / 485.3 MB, free: 12.57 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.7415, allocations: 4.485 MB / 489.8 MB, free: 7.988 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7417, allocations: 4 kB / 489.8 MB, free: 7.984 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.7431, allocations: 220 kB / 490.1 MB, free: 7.77 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.7457, allocations: 0.6274 MB / 490.7 MB, free: 7.133 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.746, allocations: 15.98 kB / 490.7 MB, free: 7.117 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1282/0.8742, allocations: 7.709 MB / 498.4 MB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.359e-06/0.8744, allocations: 10.28 kB / 498.4 MB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006695/0.8811, allocations: 3.491 MB / 0.4901 GB, free: 136.6 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.8823, allocations: 401.1 kB / 0.4905 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.8829, allocations: 15.06 kB / 0.4905 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.8846, allocations: 61.19 kB / 0.4906 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.8849, allocations: 78.28 kB / 0.4907 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.8851, allocations: 35.66 kB / 0.4907 GB, free: 136.5 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00164/0.8868, allocations: 0.8316 MB / 0.4915 GB, free: 136.4 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002498/0.8894, allocations: 464.5 kB / 0.492 GB, free: 136.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/0.89, allocations: 280.9 kB / 0.4922 GB, free: 136.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004587/0.8946, allocations: 2.202 MB / 0.4944 GB, free: 136 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.451e-06/0.8947, allocations: 0 / 0.4944 GB, free: 136 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003131/0.8979, allocations: 1.375 MB / 0.4957 GB, free: 135.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.9006, allocations: 330.4 kB / 0.496 GB, free: 135.7 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009366/0.91, allocations: 3.835 MB / 0.4998 GB, free: 134.9 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/0.9126, allocations: 2.004 MB / 0.5017 GB, free: 134.1 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.9127, allocations: 3 kB / 0.5017 GB, free: 134.1 MB / 392.6 MB Notification: Performance of Templates: time 0.09789/1.011, allocations: 24.41 MB / 0.5256 GB, free: 132.8 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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_SMPM_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1793:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_250(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1794:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_251(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1795:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_252(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1796:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_253(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1797:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_254(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o] Error 1