Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.034e-05, allocations: 1.062 kB / 247.4 MB, free: 4.664 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06194/0.06202, allocations: 44.37 MB / 291.8 MB, free: 9.207 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.3087, allocations: 96.97 MB / 388.8 MB, free: 2.41 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3091, allocations: 95.11 kB / 388.8 MB, free: 2.391 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1601/0.4693, allocations: 39.5 MB / 428.3 MB, free: 6.133 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001465/0.4695, allocations: 51.94 kB / 428.4 MB, free: 6.082 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.005493/0.4751, allocations: 1.916 MB / 430.3 MB, free: 4.234 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4752, allocations: 15.97 kB / 430.3 MB, free: 4.219 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.4766, allocations: 252.1 kB / 430.6 MB, free: 3.973 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/0.4803, allocations: 1.342 MB / 431.9 MB, free: 2.91 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.4805, allocations: 60 kB / 432 MB, free: 2.852 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005414/0.4811, allocations: 110.9 kB / 432.1 MB, free: 2.746 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00456/0.4858, allocations: 1.722 MB / 433.8 MB, free: 1.207 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005704/0.4915, allocations: 2.057 MB / 435.9 MB, free: 15.07 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/0.4917, allocations: 7.906 kB / 435.9 MB, free: 15.06 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.492, allocations: 4 kB / 435.9 MB, free: 15.05 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.4922, allocations: 87.5 kB / 436 MB, free: 14.97 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.5073, allocations: 6.852 MB / 442.8 MB, free: 7.938 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.5094, allocations: 0.6916 MB / 443.5 MB, free: 7.238 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.5111, allocations: 0.7365 MB / 444.2 MB, free: 6.5 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.5115, allocations: 133.8 kB / 444.4 MB, free: 6.352 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.5116, allocations: 43.33 kB / 444.4 MB, free: 6.301 MB / 344.6 MB Notification: Performance of pre-optimization done (n=90): time 7.682e-06/0.5117, allocations: 0 / 444.4 MB, free: 6.301 MB / 344.6 MB Notification: Performance of matching and sorting (n=113): time 0.01267/0.5244, allocations: 4.586 MB / 449 MB, free: 1.645 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.5245, allocations: 64.41 kB / 449.1 MB, free: 1.57 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.5263, allocations: 0.8431 MB / 449.9 MB, free: 0.7109 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.5266, allocations: 29.7 kB / 449.9 MB, free: 0.6758 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007133/0.5274, allocations: 0.7043 MB / 450.6 MB, free: 15.95 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.5277, allocations: 378.4 kB / 451 MB, free: 15.58 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.5279, allocations: 3.938 kB / 451 MB, free: 15.57 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.528, allocations: 361.8 kB / 451.4 MB, free: 15.21 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.5292, allocations: 0.6273 MB / 452 MB, free: 14.59 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5307, allocations: 0.9201 MB / 452.9 MB, free: 13.54 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.5322, allocations: 0.7836 MB / 453.7 MB, free: 12.76 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.774e-06/0.5322, allocations: 3.938 kB / 453.7 MB, free: 12.75 MB / 360.6 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005238/0.5375, allocations: 2.212 MB / 455.9 MB, free: 10.52 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5376, allocations: 8.875 kB / 455.9 MB, free: 10.52 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.5377, allocations: 12 kB / 455.9 MB, free: 10.5 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.5401, allocations: 0.626 MB / 456.6 MB, free: 9.867 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.5417, allocations: 279.6 kB / 456.8 MB, free: 9.594 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009175/0.551, allocations: 5.751 MB / 462.6 MB, free: 3.605 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.5526, allocations: 47.95 kB / 462.6 MB, free: 3.559 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.5529, allocations: 55.89 kB / 462.7 MB, free: 3.504 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.5531, allocations: 79.28 kB / 462.8 MB, free: 3.426 MB / 360.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.5535, allocations: 122.5 kB / 462.9 MB, free: 3.305 MB / 360.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.5584, allocations: 2.089 MB / 465 MB, free: 1.195 MB / 360.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.5586, allocations: 8 kB / 465 MB, free: 1.188 MB / 360.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.5586, allocations: 8 kB / 465 MB, free: 1.18 MB / 360.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.5587, allocations: 7.969 kB / 465 MB, free: 1.172 MB / 360.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.5683, allocations: 4.043 MB / 469 MB, free: 13.04 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.5684, allocations: 4 kB / 469 MB, free: 13.04 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.5696, allocations: 180.1 kB / 469.2 MB, free: 12.86 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/0.5723, allocations: 0.7216 MB / 469.9 MB, free: 12.12 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.5726, allocations: 19.98 kB / 470 MB, free: 12.11 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.5834, allocations: 7.378 MB / 477.3 MB, free: 4.371 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-06/0.5835, allocations: 7.938 kB / 477.3 MB, free: 4.363 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006139/0.5897, allocations: 3.208 MB / 480.6 MB, free: 1.031 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009567/0.5908, allocations: 343.3 kB / 480.9 MB, free: 0.6758 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.5912, allocations: 15.98 kB / 480.9 MB, free: 0.6602 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.5924, allocations: 55.94 kB / 481 MB, free: 0.6055 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.5927, allocations: 60.91 kB / 481 MB, free: 0.5469 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.5929, allocations: 39.92 kB / 481.1 MB, free: 0.5078 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.001257/0.5942, allocations: 0.6434 MB / 481.7 MB, free: 15.86 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001945/0.5962, allocations: 399.9 kB / 482.1 MB, free: 15.46 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/0.5967, allocations: 238.2 kB / 482.3 MB, free: 15.23 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004393/0.6012, allocations: 2.071 MB / 484.4 MB, free: 13.1 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.774e-06/0.6013, allocations: 320 / 484.4 MB, free: 13.1 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/0.6044, allocations: 1.403 MB / 485.8 MB, free: 11.64 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6064, allocations: 252 kB / 486 MB, free: 11.39 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/0.6142, allocations: 3.249 MB / 489.3 MB, free: 8.062 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/0.6162, allocations: 1.753 MB / 491 MB, free: 6.281 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/0.6163, allocations: 0 / 491 MB, free: 6.281 MB / 392.6 MB Notification: Performance of Templates: time 0.2103/0.8267, allocations: 20.74 MB / 0.4998 GB, free: 142 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1555:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_206(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1556:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_208(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1557:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_209(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1558:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_eqFunction_210(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.c:1559:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.o] Error 1