Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.201e-05, allocations: 2.219 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06464/0.06475, allocations: 44.35 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.3191, allocations: 102.7 MB / 394.4 MB, free: 15.8 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.3195, allocations: 93.98 kB / 394.5 MB, free: 15.79 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2687/0.5882, allocations: 78.98 MB / 473.5 MB, free: 9.105 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0003696/0.5887, allocations: 83.86 kB / 473.6 MB, free: 9.023 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01152/0.6003, allocations: 3.207 MB / 476.8 MB, free: 5.75 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6005, allocations: 8.031 kB / 476.8 MB, free: 5.742 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006498/0.607, allocations: 0.7334 MB / 477.5 MB, free: 5.004 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.6174, allocations: 3.34 MB / 480.9 MB, free: 1.602 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6176, allocations: 104 kB / 481 MB, free: 1.5 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/0.6183, allocations: 195.9 kB / 481.2 MB, free: 1.309 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007567/0.6259, allocations: 3.226 MB / 484.4 MB, free: 14.08 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/0.634, allocations: 3.684 MB / 488.1 MB, free: 10.28 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/0.6342, allocations: 8 kB / 488.1 MB, free: 10.27 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.6347, allocations: 4 kB / 488.1 MB, free: 10.27 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.6348, allocations: 142.2 kB / 488.2 MB, free: 10.12 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/0.7764, allocations: 13.04 MB / 0.4895 GB, free: 115.6 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.7783, allocations: 1.059 MB / 0.4905 GB, free: 115.6 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.7809, allocations: 1.372 MB / 0.4919 GB, free: 115.6 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006779/0.7877, allocations: 3.289 MB / 0.4951 GB, free: 115 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.7879, allocations: 55.34 kB / 0.4952 GB, free: 114.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=153): time 7.612e-06/0.7879, allocations: 0 / 0.4952 GB, free: 114.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=173): time 0.01426/0.8023, allocations: 5.539 MB / 0.5006 GB, free: 114.1 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.8024, allocations: 79.09 kB / 0.5006 GB, free: 114 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.8048, allocations: 1.353 MB / 0.502 GB, free: 113.9 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.805, allocations: 29.83 kB / 0.502 GB, free: 113.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.8056, allocations: 1.14 MB / 0.5031 GB, free: 113.3 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/0.8061, allocations: 0.5667 MB / 0.5037 GB, free: 113 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.8063, allocations: 0 / 0.5037 GB, free: 113 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8065, allocations: 377.5 kB / 0.504 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8081, allocations: 0.8216 MB / 0.5048 GB, free: 112.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.81, allocations: 1.277 MB / 0.5061 GB, free: 112.2 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.8127, allocations: 1.105 MB / 0.5071 GB, free: 112.2 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.8128, allocations: 5.938 kB / 0.5071 GB, free: 112.2 MB / 392.6 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006717/0.8196, allocations: 2.75 MB / 0.5098 GB, free: 112 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8197, allocations: 9.438 kB / 0.5098 GB, free: 112 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.8198, allocations: 15.06 kB / 0.5099 GB, free: 112 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.8216, allocations: 0.4924 MB / 0.5103 GB, free: 112 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.8241, allocations: 445.7 kB / 0.5108 GB, free: 112 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/0.8336, allocations: 5.929 MB / 0.5166 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.8359, allocations: 46 kB / 0.5166 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.8361, allocations: 75.94 kB / 0.5167 GB, free: 109.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.8364, allocations: 75.28 kB / 0.5167 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.8368, allocations: 195.1 kB / 0.5169 GB, free: 109.2 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006324/0.8432, allocations: 2.652 MB / 0.5195 GB, free: 108.9 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.8433, allocations: 21.56 kB / 0.5195 GB, free: 108.9 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.8434, allocations: 7.469 kB / 0.5195 GB, free: 108.9 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.8434, allocations: 10.12 kB / 0.5196 GB, free: 108.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.8556, allocations: 5.715 MB / 0.5251 GB, free: 108 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.8557, allocations: 2.969 kB / 0.5251 GB, free: 108 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.8577, allocations: 264.3 kB / 0.5254 GB, free: 108 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.8598, allocations: 0.4887 MB / 0.5259 GB, free: 108 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.8602, allocations: 21.31 kB / 0.5259 GB, free: 108 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.8721, allocations: 9.801 MB / 0.5355 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.8723, allocations: 0 / 0.5355 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007949/0.8803, allocations: 3.961 MB / 0.5393 GB, free: 99.54 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.8816, allocations: 472.3 kB / 0.5398 GB, free: 99.21 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/0.8821, allocations: 11.47 kB / 0.5398 GB, free: 99.21 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.8836, allocations: 54.48 kB / 0.5398 GB, free: 99.21 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.8839, allocations: 91.77 kB / 0.5399 GB, free: 99.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.8841, allocations: 46.69 kB / 0.54 GB, free: 99.18 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001858/0.886, allocations: 1.02 MB / 0.541 GB, free: 98.75 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002929/0.889, allocations: 0.5653 MB / 0.5415 GB, free: 98.73 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.8895, allocations: 275.2 kB / 0.5418 GB, free: 98.67 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004902/0.8945, allocations: 2.431 MB / 0.5442 GB, free: 97.67 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/0.8946, allocations: 0 / 0.5442 GB, free: 97.67 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002978/0.8976, allocations: 1.644 MB / 0.5458 GB, free: 96.74 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9002, allocations: 357.9 kB / 0.5461 GB, free: 96.65 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.9121, allocations: 4.959 MB / 0.5509 GB, free: 94.69 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003193/0.9154, allocations: 2.553 MB / 0.5534 GB, free: 93.58 MB / 392.6 MB Notification: Performance of SimCode: time 2.863e-06/0.9155, allocations: 0 / 0.5534 GB, free: 93.58 MB / 392.6 MB Notification: Performance of Templates: time 0.08135/0.9969, allocations: 29.3 MB / 0.5821 GB, free: 82.13 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2526:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_293(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2527:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_294(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2528:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_297(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2529:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_302(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2530:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_309(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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o] Error 1