Notification: Performance of loadModel(Modelica): time 1.555/1.555, allocations: 194.5 MB / 200.7 MB, free: 5.098 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.299e-05, allocations: 2 kB / 247.5 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09231, allocations: 44.36 MB / 291.8 MB, free: 9.164 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3755, allocations: 102.6 MB / 394.5 MB, free: 15.8 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.3759, allocations: 91.5 kB / 394.6 MB, free: 15.79 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.1939/0.5699, allocations: 48.27 MB / 442.8 MB, free: 8.238 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001971/0.5702, allocations: 55.94 kB / 442.9 MB, free: 8.184 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006177/0.5764, allocations: 2.322 MB / 445.2 MB, free: 5.805 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002082/0.5767, allocations: 12.03 kB / 445.2 MB, free: 5.793 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.5784, allocations: 316.5 kB / 445.5 MB, free: 5.48 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/0.583, allocations: 1.664 MB / 447.2 MB, free: 3.758 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5832, allocations: 75.91 kB / 447.3 MB, free: 3.684 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/0.5838, allocations: 132 kB / 447.4 MB, free: 3.555 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005341/0.5892, allocations: 2.106 MB / 449.5 MB, free: 1.441 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006973/0.5963, allocations: 2.517 MB / 452 MB, free: 14.79 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.75e-05/0.5965, allocations: 3.984 kB / 452 MB, free: 14.78 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.597, allocations: 4 kB / 452 MB, free: 14.78 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.5972, allocations: 100.3 kB / 452.1 MB, free: 14.68 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.6163, allocations: 8.694 MB / 460.8 MB, free: 5.727 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.6184, allocations: 0.8485 MB / 461.7 MB, free: 4.863 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6201, allocations: 0.8583 MB / 462.5 MB, free: 4.004 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.6206, allocations: 138 kB / 462.6 MB, free: 3.852 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.6207, allocations: 47.5 kB / 462.7 MB, free: 3.797 MB / 360.6 MB Notification: Performance of pre-optimization done (n=108): time 7.124e-06/0.6207, allocations: 0 / 462.7 MB, free: 3.797 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01359/0.6344, allocations: 4.931 MB / 467.6 MB, free: 14.81 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.6345, allocations: 64.72 kB / 467.7 MB, free: 14.74 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.6369, allocations: 1.096 MB / 468.8 MB, free: 13.63 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.6371, allocations: 25.7 kB / 468.8 MB, free: 13.6 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.6376, allocations: 0.8762 MB / 469.7 MB, free: 12.71 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/0.6383, allocations: 445.4 kB / 470.1 MB, free: 12.27 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6385, allocations: 0 / 470.1 MB, free: 12.27 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6386, allocations: 365.9 kB / 470.5 MB, free: 11.91 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.64, allocations: 0.7146 MB / 471.2 MB, free: 11.19 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.6417, allocations: 1.122 MB / 472.3 MB, free: 9.891 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.6435, allocations: 0.908 MB / 473.2 MB, free: 8.984 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.6436, allocations: 4 kB / 473.2 MB, free: 8.98 MB / 376.6 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005792/0.6495, allocations: 2.463 MB / 475.7 MB, free: 6.496 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6496, allocations: 4.625 kB / 475.7 MB, free: 6.492 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.6497, allocations: 16.22 kB / 475.7 MB, free: 6.477 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.652, allocations: 0.5802 MB / 476.3 MB, free: 5.887 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.6541, allocations: 347.4 kB / 476.6 MB, free: 5.547 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.6642, allocations: 6.068 MB / 482.7 MB, free: 15.25 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.6663, allocations: 59.94 kB / 482.8 MB, free: 15.19 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.6666, allocations: 71.92 kB / 482.8 MB, free: 15.12 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.6668, allocations: 79.19 kB / 482.9 MB, free: 15.04 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.6673, allocations: 158 kB / 483.1 MB, free: 14.88 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/0.6725, allocations: 2.236 MB / 485.3 MB, free: 12.62 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6727, allocations: 12 kB / 485.3 MB, free: 12.61 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.6727, allocations: 16.11 kB / 485.3 MB, free: 12.6 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.6728, allocations: 3.984 kB / 485.3 MB, free: 12.59 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.6833, allocations: 4.489 MB / 489.8 MB, free: 8.004 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6834, allocations: 7.938 kB / 489.8 MB, free: 7.996 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.6849, allocations: 220 kB / 490 MB, free: 7.781 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.6876, allocations: 0.6274 MB / 490.7 MB, free: 7.145 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.6879, allocations: 15.98 kB / 490.7 MB, free: 7.129 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1597/0.8477, allocations: 7.678 MB / 498.4 MB, free: 85.52 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.939e-06/0.8478, allocations: 3.281 kB / 498.4 MB, free: 85.52 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006788/0.8546, allocations: 3.496 MB / 0.4901 GB, free: 85.03 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.8559, allocations: 397.9 kB / 0.4905 GB, free: 84.94 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.8563, allocations: 13.53 kB / 0.4905 GB, free: 84.94 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.8577, allocations: 56.91 kB / 0.4905 GB, free: 84.94 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.858, allocations: 82.36 kB / 0.4906 GB, free: 84.94 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.8582, allocations: 36.81 kB / 0.4907 GB, free: 84.94 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001535/0.8598, allocations: 0.8286 MB / 0.4915 GB, free: 84.83 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002426/0.8623, allocations: 474.9 kB / 0.4919 GB, free: 84.83 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/0.8629, allocations: 273.5 kB / 0.4922 GB, free: 84.77 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.8674, allocations: 2.208 MB / 0.4943 GB, free: 84.45 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.753e-06/0.8675, allocations: 3.906 kB / 0.4943 GB, free: 84.45 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.8705, allocations: 1.362 MB / 0.4957 GB, free: 84.14 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.873, allocations: 333.8 kB / 0.496 GB, free: 84.12 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/0.8821, allocations: 3.836 MB / 0.4997 GB, free: 83.29 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/0.8847, allocations: 2.005 MB / 0.5017 GB, free: 82.56 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/0.8848, allocations: 0 / 0.5017 GB, free: 82.56 MB / 392.6 MB Notification: Performance of Templates: time 0.1021/0.987, allocations: 24.41 MB / 0.5255 GB, free: 80.95 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