Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.02e-05, allocations: 2.125 kB / 247.6 MB, free: 4.441 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06062/0.0607, allocations: 44.37 MB / 292 MB, free: 9.008 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2812/0.342, allocations: 128.9 MB / 420.9 MB, free: 7.328 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3423, allocations: 97.67 kB / 421 MB, free: 7.277 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.6152/0.9576, allocations: 128 MB / 0.5361 GB, free: 56.8 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004585/0.9581, allocations: 136.5 kB / 0.5362 GB, free: 56.79 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01839/0.9766, allocations: 5.385 MB / 0.5415 GB, free: 54.7 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9768, allocations: 11.31 kB / 0.5415 GB, free: 54.7 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.9866, allocations: 1.16 MB / 0.5426 GB, free: 54.35 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.003, allocations: 4.891 MB / 0.5474 GB, free: 53.45 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/1.004, allocations: 185.8 kB / 0.5476 GB, free: 53.45 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.006, allocations: 332.5 kB / 0.5479 GB, free: 53.45 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01537/1.021, allocations: 5.297 MB / 0.5531 GB, free: 52.87 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/1.042, allocations: 6.251 MB / 0.5592 GB, free: 50.14 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/1.042, allocations: 15.22 kB / 0.5592 GB, free: 50.13 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/1.044, allocations: 6.062 kB / 0.5592 GB, free: 50.13 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002882/1.044, allocations: 255.6 kB / 0.5594 GB, free: 50.11 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05174/1.096, allocations: 22.83 MB / 0.5817 GB, free: 34.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/1.1, allocations: 1.857 MB / 0.5836 GB, free: 32.78 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004445/1.104, allocations: 2.254 MB / 0.5858 GB, free: 30.7 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01792/1.122, allocations: 7.084 MB / 0.5927 GB, free: 24.66 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/1.122, allocations: 64.64 kB / 0.5927 GB, free: 24.59 MB / 392.6 MB Notification: Performance of pre-optimization done (n=275): time 9.848e-06/1.123, allocations: 0 / 0.5927 GB, free: 24.59 MB / 392.6 MB Notification: Performance of matching and sorting (n=327): time 0.03147/1.154, allocations: 10.72 MB / 0.6032 GB, free: 15.07 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.154, allocations: 85.95 kB / 0.6033 GB, free: 14.98 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/1.159, allocations: 2.389 MB / 0.6056 GB, free: 12.83 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004962/1.16, allocations: 29.7 kB / 0.6057 GB, free: 12.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/1.161, allocations: 2.104 MB / 0.6077 GB, free: 10.96 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/1.162, allocations: 1.071 MB / 0.6088 GB, free: 9.977 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/1.163, allocations: 0 / 0.6088 GB, free: 9.977 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002313/1.163, allocations: 462.9 kB / 0.6092 GB, free: 9.562 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/1.166, allocations: 1.597 MB / 0.6108 GB, free: 8.086 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/1.17, allocations: 2.764 MB / 0.6135 GB, free: 4.824 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/1.175, allocations: 2.156 MB / 0.6156 GB, free: 2.652 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/1.175, allocations: 12 kB / 0.6156 GB, free: 2.641 MB / 392.6 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01439/1.19, allocations: 5.446 MB / 0.6209 GB, free: 13.13 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.19, allocations: 7.938 kB / 0.6209 GB, free: 13.12 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.662e-05/1.19, allocations: 40 kB / 0.6209 GB, free: 13.08 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/1.193, allocations: 0.8518 MB / 0.6218 GB, free: 12.21 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/1.198, allocations: 0.9165 MB / 0.6227 GB, free: 11.3 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.213, allocations: 8.985 MB / 0.6314 GB, free: 1.98 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/1.218, allocations: 143.6 kB / 0.6316 GB, free: 1.84 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007428/1.218, allocations: 179.9 kB / 0.6317 GB, free: 1.664 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000316/1.219, allocations: 75.28 kB / 0.6318 GB, free: 1.59 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.22, allocations: 359.6 kB / 0.6322 GB, free: 1.234 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.232, allocations: 4.796 MB / 0.6368 GB, free: 12.36 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/1.233, allocations: 36 kB / 0.6369 GB, free: 12.32 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/1.233, allocations: 8 kB / 0.6369 GB, free: 12.31 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/1.233, allocations: 15.94 kB / 0.6369 GB, free: 12.3 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.257, allocations: 10.04 MB / 0.6467 GB, free: 2.094 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1769/1.434, allocations: 3.985 MB / 0.6506 GB, free: 78.79 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/1.438, allocations: 0.5624 MB / 0.6511 GB, free: 78.79 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/1.441, allocations: 0.9302 MB / 0.652 GB, free: 78.75 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004964/1.442, allocations: 32.48 kB / 0.6521 GB, free: 78.75 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/1.461, allocations: 12.42 MB / 0.6642 GB, free: 72.56 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.461, allocations: 10.31 kB / 0.6642 GB, free: 72.56 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01515/1.476, allocations: 7.512 MB / 0.6716 GB, free: 71.36 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.479, allocations: 0.776 MB / 0.6723 GB, free: 71.26 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.48, allocations: 20 kB / 0.6723 GB, free: 71.26 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/1.483, allocations: 134.2 kB / 0.6725 GB, free: 71.26 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006543/1.484, allocations: 178.9 kB / 0.6726 GB, free: 71.26 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.484, allocations: 92.98 kB / 0.6727 GB, free: 71.26 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003771/1.488, allocations: 1.75 MB / 0.6744 GB, free: 71.11 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.005695/1.494, allocations: 1.031 MB / 0.6754 GB, free: 71.11 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006307/1.495, allocations: 411 kB / 0.6758 GB, free: 71.06 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.505, allocations: 4.816 MB / 0.6805 GB, free: 70.36 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.505, allocations: 0 / 0.6805 GB, free: 70.36 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006502/1.512, allocations: 2.844 MB / 0.6833 GB, free: 69.74 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/1.516, allocations: 0.579 MB / 0.6839 GB, free: 69.73 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.54, allocations: 8.745 MB / 0.6924 GB, free: 67.82 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007542/1.548, allocations: 3.852 MB / 0.6962 GB, free: 66.93 MB / 424.6 MB Notification: Performance of SimCode: time 2.654e-06/1.548, allocations: 0 / 0.6962 GB, free: 66.93 MB / 424.6 MB Notification: Performance of Templates: time 0.1893/1.737, allocations: 51.22 MB / 0.7462 GB, free: 50.52 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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_SMEE_Generator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -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.SMEE_Generator.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_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.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_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.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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.SMEE_Generator.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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_SMEE_Generator_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.SMEE_Generator.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:4662:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_eqFunction_571(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:4663:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_eqFunction_572(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:4664:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_eqFunction_575(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:4665:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_eqFunction_582(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.c:4666:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Generator_eqFunction_584(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.SMEE_Generator.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.o] Error 1