Notification: Performance of loadModel(Modelica): time 1.616/1.616, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.289e-06, allocations: 1.125 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06156/0.06164, allocations: 44.37 MB / 291.8 MB, free: 9.191 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.3065, allocations: 96.97 MB / 388.8 MB, free: 2.418 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3068, allocations: 91.5 kB / 388.8 MB, free: 2.402 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1624/0.4693, allocations: 39.49 MB / 428.3 MB, free: 6.18 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001592/0.4696, allocations: 51.94 kB / 428.4 MB, free: 6.129 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.005368/0.475, allocations: 1.927 MB / 430.3 MB, free: 4.273 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4751, allocations: 15.97 kB / 430.3 MB, free: 4.258 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.4766, allocations: 253.2 kB / 430.6 MB, free: 4.008 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.4804, allocations: 1.339 MB / 431.9 MB, free: 2.949 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.952e-05/0.4806, allocations: 60 kB / 432 MB, free: 2.891 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.4811, allocations: 114.1 kB / 432.1 MB, free: 2.781 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004671/0.4859, allocations: 1.721 MB / 433.8 MB, free: 1.223 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/0.4916, allocations: 2.057 MB / 435.9 MB, free: 15.08 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.606e-05/0.4918, allocations: 3.906 kB / 435.9 MB, free: 15.08 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.4921, allocations: 11.98 kB / 435.9 MB, free: 15.07 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-05/0.4923, allocations: 83.5 kB / 436 MB, free: 14.98 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.5074, allocations: 6.856 MB / 442.8 MB, free: 7.949 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.5091, allocations: 0.6877 MB / 443.5 MB, free: 7.254 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.5106, allocations: 0.7365 MB / 444.2 MB, free: 6.516 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.511, allocations: 137.8 kB / 444.4 MB, free: 6.363 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5111, allocations: 43.34 kB / 444.4 MB, free: 6.312 MB / 344.6 MB Notification: Performance of pre-optimization done (n=90): time 6.286e-06/0.5112, allocations: 0 / 444.4 MB, free: 6.312 MB / 344.6 MB Notification: Performance of matching and sorting (n=113): time 0.01237/0.5236, allocations: 4.582 MB / 449 MB, free: 1.66 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5238, allocations: 68.41 kB / 449.1 MB, free: 1.582 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.5256, allocations: 0.847 MB / 449.9 MB, free: 0.7188 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.5259, allocations: 25.7 kB / 449.9 MB, free: 0.6875 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.5265, allocations: 0.7048 MB / 450.6 MB, free: 15.96 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.527, allocations: 378.3 kB / 451 MB, free: 15.59 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/0.5272, allocations: 0 / 451 MB, free: 15.59 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5274, allocations: 361.8 kB / 451.4 MB, free: 15.23 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.5289, allocations: 0.6273 MB / 452 MB, free: 14.61 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.5303, allocations: 0.924 MB / 452.9 MB, free: 13.55 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.532, allocations: 0.7758 MB / 453.7 MB, free: 12.78 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.219e-06/0.5321, allocations: 7.938 kB / 453.7 MB, free: 12.77 MB / 360.6 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005105/0.5372, allocations: 2.216 MB / 455.9 MB, free: 10.53 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5373, allocations: 8.625 kB / 455.9 MB, free: 10.52 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.5374, allocations: 8 kB / 455.9 MB, free: 10.52 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.5397, allocations: 0.6379 MB / 456.6 MB, free: 9.867 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.5414, allocations: 271.6 kB / 456.8 MB, free: 9.602 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008954/0.5504, allocations: 5.724 MB / 462.6 MB, free: 3.641 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.552, allocations: 55.94 kB / 462.6 MB, free: 3.586 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.5523, allocations: 52 kB / 462.7 MB, free: 3.535 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5525, allocations: 79.19 kB / 462.7 MB, free: 3.457 MB / 360.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.5528, allocations: 122.5 kB / 462.9 MB, free: 3.336 MB / 360.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/0.5578, allocations: 2.088 MB / 465 MB, free: 1.227 MB / 360.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.558, allocations: 15.94 kB / 465 MB, free: 1.211 MB / 360.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.558, allocations: 4 kB / 465 MB, free: 1.207 MB / 360.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.5581, allocations: 3.984 kB / 465 MB, free: 1.203 MB / 360.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5682, allocations: 4.05 MB / 469 MB, free: 13.06 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.5683, allocations: 0 / 469 MB, free: 13.06 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.5696, allocations: 172.1 kB / 469.2 MB, free: 12.89 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/0.5725, allocations: 0.7178 MB / 469.9 MB, free: 12.16 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/0.5729, allocations: 23.89 kB / 469.9 MB, free: 12.14 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.5834, allocations: 7.362 MB / 477.3 MB, free: 4.426 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.5835, allocations: 7.938 kB / 477.3 MB, free: 4.418 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006387/0.59, allocations: 3.196 MB / 480.5 MB, free: 1.098 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009234/0.591, allocations: 343.4 kB / 480.8 MB, free: 0.7422 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.5914, allocations: 15.91 kB / 480.9 MB, free: 0.7266 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5926, allocations: 55.94 kB / 480.9 MB, free: 0.6719 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.5928, allocations: 68.89 kB / 481 MB, free: 0.6055 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.593, allocations: 35.98 kB / 481 MB, free: 0.5703 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.001156/0.5942, allocations: 0.6433 MB / 481.7 MB, free: 15.92 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002028/0.5963, allocations: 395.9 kB / 482 MB, free: 15.53 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004404/0.5968, allocations: 242.2 kB / 482.3 MB, free: 15.29 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.6013, allocations: 2.075 MB / 484.3 MB, free: 13.16 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.6014, allocations: 0 / 484.3 MB, free: 13.16 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/0.6044, allocations: 1.396 MB / 485.7 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.001948/0.6065, 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.007894/0.6144, allocations: 3.253 MB / 489.2 MB, free: 8.117 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.6166, allocations: 1.746 MB / 491 MB, free: 6.34 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/0.6167, allocations: 0 / 491 MB, free: 6.34 MB / 392.6 MB Notification: Performance of Templates: time 0.3747/0.9914, allocations: 20.74 MB / 0.4997 GB, free: 93.82 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