Notification: Performance of loadModel(Modelica): time 1.476/1.476, allocations: 194.5 MB / 200.7 MB, free: 7.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.638e-06, allocations: 1.219 kB / 247.8 MB, free: 5.027 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0627/0.06278, allocations: 44.37 MB / 292.2 MB, free: 11.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3097/0.3726, allocations: 148.2 MB / 440.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.373, allocations: 103.8 kB / 440.5 MB, free: 6.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.638/2.012, allocations: 379.7 MB / 0.801 GB, free: 21.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007487/2.012, allocations: 291.9 kB / 0.8013 GB, free: 21.17 MB / 410.7 MB Notification: Performance of Generate backend data structure: time 0.04542/2.058, allocations: 11.11 MB / 0.8121 GB, free: 17.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/2.058, allocations: 9.188 kB / 0.8121 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0744/2.133, allocations: 5.914 MB / 0.8179 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02759/2.16, allocations: 9.411 MB / 0.8271 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008696/2.161, allocations: 413.8 kB / 0.8275 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004604/2.166, allocations: 0.7124 MB / 0.8282 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0403/2.206, allocations: 16.4 MB / 0.8442 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05431/2.261, allocations: 18.56 MB / 0.8623 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007272/2.262, allocations: 21.75 kB / 0.8624 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004425/2.266, allocations: 5.875 kB / 0.8624 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009826/2.267, allocations: 0.8656 MB / 0.8632 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/2.409, allocations: 64.99 MB / 0.9267 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04383/2.453, allocations: 8.676 MB / 0.9352 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01522/2.468, allocations: 7.74 MB / 0.9427 GB, free: 7.457 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2332/2.701, allocations: 26.03 MB / 0.9681 GB, free: 76.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/2.701, allocations: 112.7 kB / 0.9682 GB, free: 76.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=863): time 1.886e-05/2.701, allocations: 2.297 kB / 0.9682 GB, free: 76.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=905): time 0.08134/2.783, allocations: 29.77 MB / 0.9973 GB, free: 74.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/2.783, allocations: 132.9 kB / 0.9974 GB, free: 74.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006164/2.789, allocations: 3.122 MB / 1 GB, free: 74.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001414/2.791, allocations: 29.64 kB / 1.001 GB, free: 74.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/2.793, allocations: 4.215 MB / 1.005 GB, free: 72.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00364/2.797, allocations: 2.89 MB / 1.007 GB, free: 70.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/2.799, allocations: 0 / 1.007 GB, free: 70.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009354/2.8, allocations: 0.6975 MB / 1.008 GB, free: 69.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/2.811, allocations: 5.643 MB / 1.014 GB, free: 69.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/2.824, allocations: 8.061 MB / 1.022 GB, free: 67.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/2.842, allocations: 7.327 MB / 1.029 GB, free: 66.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.624e-05/2.842, allocations: 25.84 kB / 1.029 GB, free: 66.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.04056/2.883, allocations: 16.74 MB / 1.045 GB, free: 62.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/2.883, allocations: 11.19 kB / 1.045 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/2.883, allocations: 71.91 kB / 1.045 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/2.894, allocations: 4.099 MB / 1.049 GB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/2.905, allocations: 1.818 MB / 1.051 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/2.922, allocations: 12.69 MB / 1.063 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009482/2.931, allocations: 250.6 kB / 1.064 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/2.934, allocations: 418.7 kB / 1.064 GB, free: 52.85 MB / 442.7 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.001512/2.936, allocations: 82.22 kB / 1.064 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/2.938, allocations: 0.5739 MB / 1.065 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04167/2.98, allocations: 15.84 MB / 1.08 GB, free: 45.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002667/2.98, allocations: 201 kB / 1.08 GB, free: 45.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/2.98, allocations: 3.906 kB / 1.08 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001381/2.98, allocations: 39.23 kB / 1.08 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06728/3.048, allocations: 30.21 MB / 1.11 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.692e-05/3.048, allocations: 4 kB / 1.11 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008867/3.057, allocations: 1.204 MB / 1.111 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/3.067, allocations: 3.98 MB / 1.115 GB, free: 16.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001749/3.069, allocations: 83.97 kB / 1.115 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/3.087, allocations: 12.53 MB / 1.127 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/3.087, allocations: 10.06 kB / 1.127 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2405/3.327, allocations: 24.49 MB / 1.151 GB, free: 70.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005959/3.333, allocations: 1.838 MB / 1.153 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002688/3.336, allocations: 5.906 kB / 1.153 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006715/3.343, allocations: 193.5 kB / 1.153 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002443/3.346, allocations: 0.5799 MB / 1.154 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001785/3.347, allocations: 238.9 kB / 1.154 GB, free: 70.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.005383/3.353, allocations: 2.252 MB / 1.156 GB, free: 69.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01134/3.364, allocations: 1.942 MB / 1.158 GB, free: 69.88 MB / 442.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005849/3.365, allocations: 395.2 kB / 1.158 GB, free: 69.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02911/3.394, allocations: 14.15 MB / 1.172 GB, free: 69.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.219e-06/3.394, allocations: 1.719 kB / 1.172 GB, free: 69.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01619/3.411, allocations: 7.347 MB / 1.179 GB, free: 68.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007868/3.419, allocations: 0.8932 MB / 1.18 GB, free: 68.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06301/3.482, allocations: 22.73 MB / 1.202 GB, free: 65.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02053/3.502, allocations: 8.52 MB / 1.211 GB, free: 64.36 MB / 442.7 MB Notification: Performance of SimCode: time 3.212e-06/3.502, allocations: 0 / 1.211 GB, free: 64.36 MB / 442.7 MB Notification: Performance of Templates: time 0.4862/3.989, allocations: 137.4 MB / 1.345 GB, free: 52.27 MB / 442.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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_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_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1716:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1252(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1716:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1252(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1717:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1253(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1717:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_eqFunction_1253(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.c:1718:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.o] Error 1