Notification: Performance of loadModel(Modelica): time 1.548/1.548, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.662e-05, allocations: 1.125 kB / 247.3 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08943, allocations: 44.37 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.4134, allocations: 102.7 MB / 394.4 MB, free: 15.81 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4137, allocations: 92.16 kB / 394.5 MB, free: 15.79 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2731/0.6869, allocations: 78.97 MB / 473.5 MB, free: 9.141 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002463/0.6872, allocations: 83.81 kB / 473.6 MB, free: 9.059 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01115/0.6984, allocations: 3.219 MB / 476.8 MB, free: 5.773 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6986, allocations: 11.97 kB / 476.8 MB, free: 5.762 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/0.7052, allocations: 0.7334 MB / 477.5 MB, free: 5.023 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.7162, allocations: 3.34 MB / 480.9 MB, free: 1.625 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.7165, allocations: 108 kB / 481 MB, free: 1.52 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.7176, allocations: 187.9 kB / 481.2 MB, free: 1.336 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009213/0.7269, allocations: 3.222 MB / 484.4 MB, free: 14.11 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.739, allocations: 3.692 MB / 488.1 MB, free: 10.3 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.7392, allocations: 4 kB / 488.1 MB, free: 10.29 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008804/0.7402, allocations: 0 / 488.1 MB, free: 10.29 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.7404, allocations: 142.2 kB / 488.2 MB, free: 10.15 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/0.8959, allocations: 13.04 MB / 0.4895 GB, free: 115.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.8981, allocations: 1.054 MB / 0.4905 GB, free: 115.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/0.9012, allocations: 1.372 MB / 0.4919 GB, free: 115.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007734/0.9091, allocations: 3.296 MB / 0.4951 GB, free: 114.8 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.9092, allocations: 46.59 kB / 0.4951 GB, free: 114.8 MB / 392.6 MB Notification: Performance of pre-optimization done (n=153): time 6.286e-06/0.9093, allocations: 0 / 0.4951 GB, free: 114.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=173): time 0.01652/0.9259, allocations: 5.547 MB / 0.5006 GB, free: 113.9 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.926, allocations: 72.5 kB / 0.5006 GB, free: 113.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.9289, allocations: 1.362 MB / 0.502 GB, free: 113.7 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.9292, allocations: 25.7 kB / 0.502 GB, free: 113.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/0.9299, allocations: 1.138 MB / 0.5031 GB, free: 113.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.9305, allocations: 0.5654 MB / 0.5037 GB, free: 112.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.9307, allocations: 0 / 0.5037 GB, free: 112.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9309, allocations: 381.1 kB / 0.504 GB, free: 112.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.9328, allocations: 0.824 MB / 0.5048 GB, free: 112.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.9349, allocations: 1.276 MB / 0.5061 GB, free: 112 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.9379, allocations: 1.104 MB / 0.5071 GB, free: 112 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.9381, allocations: 7.406 kB / 0.5072 GB, free: 112 MB / 392.6 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007037/0.9451, allocations: 2.745 MB / 0.5098 GB, free: 111.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9453, allocations: 6 kB / 0.5098 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.9454, allocations: 14.81 kB / 0.5099 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/0.9473, allocations: 0.5015 MB / 0.5103 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.95, allocations: 441.1 kB / 0.5108 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009685/0.9598, allocations: 5.911 MB / 0.5165 GB, free: 109.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9621, allocations: 49.27 kB / 0.5166 GB, free: 109.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.9625, allocations: 76.7 kB / 0.5167 GB, free: 109.2 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.9628, allocations: 78.28 kB / 0.5167 GB, free: 109.1 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.9634, allocations: 189.7 kB / 0.5169 GB, free: 109 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006397/0.9698, allocations: 2.656 MB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.97, allocations: 18.38 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.97, allocations: 7.219 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/0.9701, allocations: 8.953 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.9825, allocations: 5.716 MB / 0.5251 GB, free: 107.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.9826, allocations: 3.656 kB / 0.5251 GB, free: 107.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.9845, allocations: 269.2 kB / 0.5254 GB, free: 107.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.9866, allocations: 497.7 kB / 0.5259 GB, free: 107.8 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/0.987, allocations: 14.48 kB / 0.5259 GB, free: 107.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.9993, allocations: 9.794 MB / 0.5354 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-06/0.9995, allocations: 0 / 0.5354 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007911/1.007, allocations: 3.959 MB / 0.5393 GB, free: 99.36 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.009, allocations: 471.6 kB / 0.5397 GB, free: 99.04 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005972/1.01, allocations: 11.56 kB / 0.5398 GB, free: 99.03 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.012, allocations: 52.61 kB / 0.5398 GB, free: 99.03 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/1.012, allocations: 93 kB / 0.5399 GB, free: 99.02 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.012, allocations: 49.11 kB / 0.5399 GB, free: 99.01 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001972/1.014, allocations: 1.02 MB / 0.5409 GB, free: 98.57 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003461/1.018, allocations: 0.5608 MB / 0.5415 GB, free: 98.56 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004479/1.018, allocations: 277.3 kB / 0.5418 GB, free: 98.49 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005391/1.024, allocations: 2.429 MB / 0.5441 GB, free: 97.49 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.521e-06/1.024, allocations: 3.562 kB / 0.5441 GB, free: 97.49 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.027, allocations: 1.643 MB / 0.5457 GB, free: 96.57 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.03, allocations: 355.8 kB / 0.5461 GB, free: 96.48 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.044, allocations: 4.956 MB / 0.5509 GB, free: 94.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004004/1.048, allocations: 2.563 MB / 0.5534 GB, free: 93.39 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/1.048, allocations: 0 / 0.5534 GB, free: 93.39 MB / 392.6 MB Notification: Performance of Templates: time 0.1521/1.2, allocations: 29.29 MB / 0.582 GB, free: 82.08 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2526:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_293(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2527:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_294(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2528:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_297(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2529:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_302(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2530:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o] Error 1