Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 194.5 MB / 200.7 MB, free: 5.113 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/9.01e-06, allocations: 1.125 kB / 247.8 MB, free: 4.277 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06295/0.06303, allocations: 44.36 MB / 292.2 MB, free: 8.84 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.3715, allocations: 148.2 MB / 440.4 MB, free: 3.957 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.3719, allocations: 117.5 kB / 440.5 MB, free: 3.891 MB / 344.6 MB Notification: Performance of FrontEnd: time 1.654/2.026, allocations: 379.7 MB / 0.801 GB, free: 21.55 MB / 408.6 MB Notification: Performance of Transformations before backend: time 0.0007852/2.027, allocations: 292.7 kB / 0.8013 GB, free: 21.52 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.0439/2.071, allocations: 11.11 MB / 0.8121 GB, free: 17.89 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/2.071, allocations: 16.33 kB / 0.8121 GB, free: 17.89 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05805/2.129, allocations: 5.913 MB / 0.8179 GB, free: 17.16 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/2.159, allocations: 9.403 MB / 0.8271 GB, free: 15.96 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008785/2.16, allocations: 418.6 kB / 0.8275 GB, free: 15.96 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/2.165, allocations: 0.7067 MB / 0.8282 GB, free: 15.96 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04096/2.206, allocations: 16.41 MB / 0.8442 GB, free: 15.9 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05339/2.259, allocations: 18.56 MB / 0.8623 GB, free: 14.47 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006166/2.26, allocations: 25.55 kB / 0.8624 GB, free: 14.46 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004379/2.265, allocations: 10 kB / 0.8624 GB, free: 14.46 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009911/2.266, allocations: 0.8642 MB / 0.8632 GB, free: 14.43 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/2.408, allocations: 64.99 MB / 0.9267 GB, free: 12.3 MB / 440.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/2.422, allocations: 7.134 MB / 0.9337 GB, free: 5.941 MB / 440.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02114/2.443, allocations: 8.009 MB / 0.9415 GB, free: 15.6 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.237/2.68, allocations: 26.14 MB / 0.967 GB, free: 88.9 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/2.68, allocations: 111.6 kB / 0.9671 GB, free: 88.85 MB / 456.6 MB Notification: Performance of pre-optimization done (n=863): time 1.725e-05/2.68, allocations: 0 / 0.9671 GB, free: 88.85 MB / 456.6 MB Notification: Performance of matching and sorting (n=905): time 0.08307/2.764, allocations: 29.78 MB / 0.9962 GB, free: 87.23 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/2.764, allocations: 132.7 kB / 0.9963 GB, free: 87.16 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/2.771, allocations: 3.124 MB / 0.9994 GB, free: 86.85 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001572/2.772, allocations: 28.89 kB / 0.9994 GB, free: 86.82 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002499/2.775, allocations: 4.217 MB / 1.004 GB, free: 84.4 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.003678/2.779, allocations: 2.892 MB / 1.006 GB, free: 82.46 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/2.78, allocations: 0 / 1.006 GB, free: 82.46 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.001016/2.782, allocations: 0.701 MB / 1.007 GB, free: 82.14 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01168/2.793, allocations: 5.634 MB / 1.013 GB, free: 82.11 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01368/2.807, allocations: 8.063 MB / 1.02 GB, free: 79.36 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/2.825, allocations: 7.33 MB / 1.028 GB, free: 79.26 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/2.826, allocations: 24.16 kB / 1.028 GB, free: 79.26 MB / 456.6 MB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.0429/2.869, allocations: 16.74 MB / 1.044 GB, free: 76.66 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/2.869, allocations: 7.312 kB / 1.044 GB, free: 76.66 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/2.869, allocations: 76.95 kB / 1.044 GB, free: 76.66 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/2.88, allocations: 4.108 MB / 1.048 GB, free: 75.42 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/2.891, allocations: 1.812 MB / 1.05 GB, free: 75.36 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/2.909, allocations: 12.68 MB / 1.062 GB, free: 67.43 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008884/2.918, allocations: 260.9 kB / 1.062 GB, free: 67.41 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/2.92, allocations: 416.1 kB / 1.063 GB, free: 67.34 MB / 456.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.001275/2.922, allocations: 75.28 kB / 1.063 GB, free: 67.26 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/2.924, allocations: 0.5733 MB / 1.063 GB, free: 66.95 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03824/2.962, allocations: 15.84 MB / 1.079 GB, free: 60.9 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002373/2.962, allocations: 204.9 kB / 1.079 GB, free: 60.81 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/2.962, allocations: 3.906 kB / 1.079 GB, free: 60.8 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/2.962, allocations: 37.41 kB / 1.079 GB, free: 60.8 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0663/3.029, allocations: 30.21 MB / 1.109 GB, free: 41.54 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.397e-05/3.029, allocations: 4 kB / 1.109 GB, free: 41.54 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008811/3.038, allocations: 1.198 MB / 1.11 GB, free: 40.61 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/3.048, allocations: 3.988 MB / 1.114 GB, free: 37.27 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001732/3.05, allocations: 80.16 kB / 1.114 GB, free: 37.21 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/3.066, allocations: 12.53 MB / 1.126 GB, free: 25.42 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/3.066, allocations: 11.19 kB / 1.126 GB, free: 25.41 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04776/3.114, allocations: 24.01 MB / 1.149 GB, free: 3.887 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005935/3.12, allocations: 1.835 MB / 1.151 GB, free: 2.223 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002686/3.123, allocations: 9.828 kB / 1.151 GB, free: 2.219 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006636/3.129, allocations: 194 kB / 1.151 GB, free: 2.098 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002306/3.132, allocations: 0.5775 MB / 1.152 GB, free: 1.734 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001128/3.133, allocations: 233 kB / 1.152 GB, free: 1.527 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.1823/3.315, allocations: 2.251 MB / 1.154 GB, free: 87.36 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.01113/3.327, allocations: 1.947 MB / 1.156 GB, free: 87.36 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/3.327, allocations: 396.1 kB / 1.157 GB, free: 87.3 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.02917/3.356, allocations: 14.15 MB / 1.171 GB, free: 86.67 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 9.289e-06/3.357, allocations: 0 / 1.171 GB, free: 86.67 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01612/3.373, allocations: 7.357 MB / 1.178 GB, free: 86.14 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/3.381, allocations: 0.8874 MB / 1.179 GB, free: 86.12 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06149/3.442, allocations: 22.73 MB / 1.201 GB, free: 82.84 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01822/3.461, allocations: 8.512 MB / 1.209 GB, free: 81.84 MB / 456.6 MB Notification: Performance of SimCode: time 2.444e-06/3.461, allocations: 0 / 1.209 GB, free: 81.84 MB / 456.6 MB Notification: Performance of Templates: time 0.4644/3.925, allocations: 137.4 MB / 1.343 GB, free: 87.86 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1716:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1252(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1716:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1252(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1717:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1253(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1717:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1253(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1718:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1254(DATA*,threadData_t*); ^ 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o] Error 1