Notification: Performance of loadModel(Modelica): time 1.488/1.488, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.009e-06/9.08e-06, allocations: 1.125 kB / 247.4 MB, free: 4.637 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06059/0.06067, allocations: 44.36 MB / 291.8 MB, free: 9.195 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.3103, allocations: 96.97 MB / 388.8 MB, free: 2.398 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.3107, allocations: 93.72 kB / 388.8 MB, free: 2.383 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1618/0.4725, allocations: 39.48 MB / 428.3 MB, free: 6.176 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001615/0.4728, allocations: 51.94 kB / 428.4 MB, free: 6.125 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.005371/0.4782, allocations: 1.925 MB / 430.3 MB, free: 4.27 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4784, allocations: 15.97 kB / 430.3 MB, free: 4.254 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.4798, allocations: 257.2 kB / 430.6 MB, free: 4 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.4835, allocations: 1.336 MB / 431.9 MB, free: 2.945 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/0.4837, allocations: 61.31 kB / 432 MB, free: 2.887 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.4843, allocations: 113.1 kB / 432.1 MB, free: 2.777 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004586/0.4889, allocations: 1.724 MB / 433.8 MB, free: 1.18 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.495, allocations: 2.057 MB / 435.9 MB, free: 15.04 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.66e-05/0.4952, allocations: 3.906 kB / 435.9 MB, free: 15.04 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.4956, allocations: 8 kB / 435.9 MB, free: 15.03 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.4957, allocations: 83.52 kB / 436 MB, free: 14.95 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.5112, allocations: 6.859 MB / 442.8 MB, free: 7.91 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.5131, allocations: 0.6959 MB / 443.5 MB, free: 7.207 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.5147, allocations: 0.7284 MB / 444.2 MB, free: 6.477 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.5151, allocations: 133.8 kB / 444.4 MB, free: 6.328 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5152, allocations: 43.34 kB / 444.4 MB, free: 6.277 MB / 344.6 MB Notification: Performance of pre-optimization done (n=90): time 6.844e-06/0.5152, allocations: 4 kB / 444.4 MB, free: 6.273 MB / 344.6 MB Notification: Performance of matching and sorting (n=113): time 0.01232/0.5276, allocations: 4.578 MB / 449 MB, free: 1.621 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5277, allocations: 72.41 kB / 449.1 MB, free: 1.539 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5293, allocations: 0.8431 MB / 449.9 MB, free: 0.6797 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5296, allocations: 25.7 kB / 449.9 MB, free: 0.6484 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.53, allocations: 0.7042 MB / 450.6 MB, free: 15.93 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.5306, allocations: 378.3 kB / 451 MB, free: 15.55 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.5307, allocations: 0 / 451 MB, free: 15.55 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.531, allocations: 361.9 kB / 451.4 MB, free: 15.2 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.5324, allocations: 0.6273 MB / 452 MB, free: 14.57 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.5338, allocations: 0.924 MB / 452.9 MB, free: 13.52 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.5354, allocations: 0.7836 MB / 453.7 MB, free: 12.73 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.5355, allocations: 4 kB / 453.7 MB, free: 12.73 MB / 360.6 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005196/0.5408, allocations: 2.212 MB / 455.9 MB, free: 10.5 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5409, allocations: 12.61 kB / 455.9 MB, free: 10.48 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.541, allocations: 8 kB / 455.9 MB, free: 10.48 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.5433, allocations: 0.6341 MB / 456.6 MB, free: 9.832 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.5449, allocations: 267.6 kB / 456.8 MB, free: 9.57 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008979/0.554, allocations: 5.727 MB / 462.6 MB, free: 3.605 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5557, allocations: 63.84 kB / 462.6 MB, free: 3.543 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.5559, allocations: 51.98 kB / 462.7 MB, free: 3.492 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5561, allocations: 75.28 kB / 462.7 MB, free: 3.418 MB / 360.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.5565, allocations: 122.5 kB / 462.9 MB, free: 3.297 MB / 360.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004794/0.5614, allocations: 2.085 MB / 464.9 MB, free: 1.191 MB / 360.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.5615, allocations: 12 kB / 465 MB, free: 1.18 MB / 360.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.5616, allocations: 4 kB / 465 MB, free: 1.176 MB / 360.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.5617, allocations: 7.969 kB / 465 MB, free: 1.168 MB / 360.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.5719, allocations: 4.05 MB / 469 MB, free: 13.03 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.572, allocations: 8.031 kB / 469 MB, free: 13.02 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5733, allocations: 176.1 kB / 469.2 MB, free: 12.85 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/0.5763, allocations: 0.706 MB / 469.9 MB, free: 12.13 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.5766, allocations: 19.98 kB / 469.9 MB, free: 12.11 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.5873, allocations: 7.359 MB / 477.3 MB, free: 4.398 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.917e-06/0.5874, allocations: 7.938 kB / 477.3 MB, free: 4.391 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006289/0.5938, allocations: 3.204 MB / 480.5 MB, free: 1.059 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/0.5948, allocations: 347.4 kB / 480.8 MB, free: 0.6992 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.5952, allocations: 11.98 kB / 480.8 MB, free: 0.6875 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5964, allocations: 51.95 kB / 480.9 MB, free: 0.6367 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.5967, allocations: 68.89 kB / 481 MB, free: 0.5703 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.5968, allocations: 39.98 kB / 481 MB, free: 0.5312 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.001317/0.5982, allocations: 0.6395 MB / 481.6 MB, free: 15.88 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001994/0.6003, allocations: 403.9 kB / 482 MB, free: 15.49 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006025/0.601, allocations: 238.1 kB / 482.3 MB, free: 15.25 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.6053, allocations: 2.075 MB / 484.3 MB, free: 13.12 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.591e-06/0.6054, allocations: 0 / 484.3 MB, free: 13.12 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.6083, allocations: 1.388 MB / 485.7 MB, free: 11.68 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.6103, allocations: 264.2 kB / 486 MB, free: 11.42 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.6182, allocations: 3.253 MB / 489.2 MB, free: 8.082 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/0.6204, allocations: 1.75 MB / 491 MB, free: 6.301 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/0.6204, allocations: 0 / 491 MB, free: 6.301 MB / 392.6 MB Notification: Performance of Templates: time 0.2352/0.8557, allocations: 20.75 MB / 0.4997 GB, free: 132 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