Notification: Performance of loadModel(Modelica): time 1.534/1.534, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.159e-05, allocations: 1.312 kB / 247.4 MB, free: 4.68 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06256/0.06265, allocations: 44.37 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/0.3141, allocations: 96.96 MB / 388.8 MB, free: 2.48 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.3145, allocations: 93.06 kB / 388.8 MB, free: 2.465 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1619/0.4764, allocations: 39.48 MB / 428.3 MB, free: 6.23 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001599/0.4767, allocations: 51.94 kB / 428.4 MB, free: 6.18 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.005512/0.4823, allocations: 1.917 MB / 430.3 MB, free: 4.332 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4824, allocations: 19.91 kB / 430.3 MB, free: 4.312 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.4839, allocations: 261.2 kB / 430.6 MB, free: 4.055 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/0.4877, allocations: 1.331 MB / 431.9 MB, free: 3.004 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.4879, allocations: 60.88 kB / 432 MB, free: 2.945 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005868/0.4886, allocations: 114.1 kB / 432.1 MB, free: 2.836 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00492/0.4936, allocations: 1.723 MB / 433.8 MB, free: 1.273 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/0.5, allocations: 2.053 MB / 435.8 MB, free: 15.14 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.73e-05/0.5002, allocations: 11.89 kB / 435.9 MB, free: 15.13 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.5006, allocations: 4 kB / 435.9 MB, free: 15.12 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.855e-05/0.5008, allocations: 87.45 kB / 435.9 MB, free: 15.04 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.5168, allocations: 6.852 MB / 442.8 MB, free: 8.008 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5186, allocations: 0.6955 MB / 443.5 MB, free: 7.305 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.5203, allocations: 0.7404 MB / 444.2 MB, free: 6.562 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.5207, allocations: 137.8 kB / 444.4 MB, free: 6.41 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5208, allocations: 43.34 kB / 444.4 MB, free: 6.359 MB / 344.6 MB Notification: Performance of pre-optimization done (n=90): time 6.635e-06/0.5209, allocations: 0 / 444.4 MB, free: 6.359 MB / 344.6 MB Notification: Performance of matching and sorting (n=113): time 0.01288/0.5338, allocations: 4.582 MB / 449 MB, free: 1.707 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.5339, allocations: 64.41 kB / 449.1 MB, free: 1.633 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.5356, allocations: 0.8431 MB / 449.9 MB, free: 0.7734 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.5359, allocations: 33.62 kB / 449.9 MB, free: 0.7344 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.5363, allocations: 0.7081 MB / 450.6 MB, free: 12 kB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.5369, allocations: 374.4 kB / 451 MB, free: 15.64 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5371, allocations: 0 / 451 MB, free: 15.64 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5373, allocations: 357.8 kB / 451.4 MB, free: 15.29 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.5389, allocations: 0.6273 MB / 452 MB, free: 14.66 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.5405, allocations: 0.9201 MB / 452.9 MB, free: 13.61 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.5423, allocations: 0.7875 MB / 453.7 MB, free: 12.82 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5424, allocations: 3.938 kB / 453.7 MB, free: 12.82 MB / 360.6 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005426/0.5479, allocations: 2.212 MB / 455.9 MB, free: 10.59 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.548, allocations: 8 kB / 455.9 MB, free: 10.58 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.5481, allocations: 8 kB / 455.9 MB, free: 10.57 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/0.5505, allocations: 0.634 MB / 456.6 MB, free: 9.926 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.5522, allocations: 275.6 kB / 456.8 MB, free: 9.656 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009258/0.5615, allocations: 5.751 MB / 462.6 MB, free: 3.664 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5632, allocations: 55.94 kB / 462.6 MB, free: 3.609 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.5635, allocations: 51.91 kB / 462.7 MB, free: 3.559 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.5637, allocations: 75.28 kB / 462.8 MB, free: 3.484 MB / 360.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.5641, allocations: 122.5 kB / 462.9 MB, free: 3.363 MB / 360.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.5692, allocations: 2.088 MB / 465 MB, free: 1.254 MB / 360.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.5693, allocations: 16 kB / 465 MB, free: 1.238 MB / 360.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.5694, allocations: 4 kB / 465 MB, free: 1.234 MB / 360.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.5695, allocations: 3.984 kB / 465 MB, free: 1.23 MB / 360.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.5798, allocations: 4.043 MB / 469 MB, free: 13.1 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.58, allocations: 7.984 kB / 469 MB, free: 13.09 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5812, allocations: 176.1 kB / 469.2 MB, free: 12.92 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.5842, allocations: 0.7137 MB / 469.9 MB, free: 12.19 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.5845, allocations: 19.98 kB / 469.9 MB, free: 12.17 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.5954, allocations: 7.386 MB / 477.3 MB, free: 4.434 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.473e-06/0.5955, allocations: 8 kB / 477.3 MB, free: 4.426 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006308/0.6018, allocations: 3.204 MB / 480.5 MB, free: 1.094 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009391/0.6029, allocations: 347.3 kB / 480.9 MB, free: 0.7344 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.6032, allocations: 15.94 kB / 480.9 MB, free: 0.7188 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.6045, allocations: 55.94 kB / 481 MB, free: 0.6641 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.6047, allocations: 72.83 kB / 481 MB, free: 0.5938 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6049, allocations: 35.98 kB / 481.1 MB, free: 0.5586 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.001228/0.6062, allocations: 0.6395 MB / 481.7 MB, free: 15.91 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00193/0.6082, allocations: 399.9 kB / 482.1 MB, free: 15.52 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005595/0.6088, allocations: 226.2 kB / 482.3 MB, free: 15.29 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00409/0.613, allocations: 2.077 MB / 484.4 MB, free: 13.16 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.613, allocations: 4 kB / 484.4 MB, free: 13.15 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.616, allocations: 1.394 MB / 485.8 MB, free: 11.71 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.618, allocations: 256 kB / 486 MB, free: 11.46 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.6258, allocations: 3.261 MB / 489.3 MB, free: 8.113 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/0.6279, allocations: 1.746 MB / 491 MB, free: 6.34 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.628, allocations: 4 kB / 491 MB, free: 6.336 MB / 392.6 MB Notification: Performance of Templates: time 0.246/0.8741, allocations: 20.74 MB / 0.4998 GB, free: 94.72 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_AsynchronousInductionMachines_AIMC_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_AsynchronousInductionMachines_AIMC_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1555:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_206(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1556:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_208(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1557:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_209(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1558:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_210(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1559:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_211(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.AsynchronousInductionMachines.AIMC_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.o] Error 1