Notification: Performance of loadModel(Modelica): time 1.498/1.498, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.152e-05, allocations: 5.344 kB / 247.8 MB, free: 4.223 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06061/0.06069, allocations: 44.36 MB / 292.2 MB, free: 8.797 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.3678, allocations: 154.2 MB / 446.4 MB, free: 13.75 MB / 360.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.3682, allocations: 108.4 kB / 446.5 MB, free: 13.7 MB / 360.6 MB Notification: Performance of FrontEnd: time 1.695/2.063, allocations: 390.7 MB / 0.8176 GB, free: 21.23 MB / 424.6 MB Notification: Performance of Transformations before backend: time 0.0007612/2.064, allocations: 298.3 kB / 0.8179 GB, free: 21.2 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 0.04544/2.11, allocations: 11.4 MB / 0.829 GB, free: 17.45 MB / 424.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/2.11, allocations: 9.094 kB / 0.829 GB, free: 17.45 MB / 424.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05985/2.17, allocations: 6.009 MB / 0.8349 GB, free: 16.7 MB / 424.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02983/2.2, allocations: 9.617 MB / 0.8443 GB, free: 15.47 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008841/2.201, allocations: 422.2 kB / 0.8447 GB, free: 15.47 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005101/2.206, allocations: 0.7311 MB / 0.8454 GB, free: 15.46 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04256/2.248, allocations: 16.65 MB / 0.8617 GB, free: 15.41 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05527/2.304, allocations: 18.86 MB / 0.8801 GB, free: 13.9 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000627/2.305, allocations: 22.47 kB / 0.8801 GB, free: 13.89 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004377/2.309, allocations: 9.531 kB / 0.8801 GB, free: 13.89 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009943/2.31, allocations: 0.8787 MB / 0.881 GB, free: 13.86 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1551/2.465, allocations: 67.31 MB / 0.9467 GB, free: 8.703 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/2.479, allocations: 7.151 MB / 0.9537 GB, free: 2.309 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.243/2.722, allocations: 8.889 MB / 0.9624 GB, free: 50.41 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06046/2.782, allocations: 26.33 MB / 0.9881 GB, free: 48.94 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/2.783, allocations: 112.4 kB / 0.9882 GB, free: 48.89 MB / 456.6 MB Notification: Performance of pre-optimization done (n=877): time 1.837e-05/2.783, allocations: 0 / 0.9882 GB, free: 48.89 MB / 456.6 MB Notification: Performance of matching and sorting (n=921): time 0.08405/2.867, allocations: 30.25 MB / 1.018 GB, free: 46.97 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/2.867, allocations: 138.4 kB / 1.018 GB, free: 46.9 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007043/2.874, allocations: 3.276 MB / 1.021 GB, free: 46.55 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001442/2.876, allocations: 29.23 kB / 1.021 GB, free: 46.52 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002461/2.878, allocations: 4.338 MB / 1.025 GB, free: 43.87 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.003774/2.882, allocations: 2.949 MB / 1.028 GB, free: 41.89 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/2.884, allocations: 0 / 1.028 GB, free: 41.89 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0009884/2.885, allocations: 0.7057 MB / 1.029 GB, free: 41.57 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/2.897, allocations: 5.703 MB / 1.034 GB, free: 41.38 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01323/2.91, allocations: 8.191 MB / 1.042 GB, free: 36.03 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01929/2.929, allocations: 7.417 MB / 1.05 GB, free: 33.23 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/2.929, allocations: 21 kB / 1.05 GB, free: 33.23 MB / 456.6 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.04319/2.973, allocations: 17.05 MB / 1.066 GB, free: 27.04 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/2.973, allocations: 5.281 kB / 1.066 GB, free: 27.04 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/2.973, allocations: 76.03 kB / 1.066 GB, free: 27.04 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/2.985, allocations: 4.11 MB / 1.07 GB, free: 25.8 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01217/2.997, allocations: 1.866 MB / 1.072 GB, free: 25.74 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/3.015, allocations: 12.71 MB / 1.085 GB, free: 14.92 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009139/3.024, allocations: 267.5 kB / 1.085 GB, free: 14.73 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/3.026, allocations: 429.4 kB / 1.085 GB, free: 14.33 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.00149/3.028, allocations: 80.11 kB / 1.085 GB, free: 14.26 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/3.031, allocations: 0.5979 MB / 1.086 GB, free: 13.65 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04042/3.071, allocations: 15.97 MB / 1.102 GB, free: 132 kB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00063/3.072, allocations: 221 kB / 1.102 GB, free: 0 / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/3.072, allocations: 2.438 kB / 1.102 GB, free: 0 / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001354/3.072, allocations: 39.02 kB / 1.102 GB, free: 0 / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09189/3.164, allocations: 31.93 MB / 1.133 GB, free: 8.215 MB / 488.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-05/3.164, allocations: 4 kB / 1.133 GB, free: 8.211 MB / 488.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009148/3.174, allocations: 1.239 MB / 1.134 GB, free: 7.25 MB / 488.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/3.185, allocations: 3.983 MB / 1.138 GB, free: 3.926 MB / 488.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00174/3.186, allocations: 77.48 kB / 1.138 GB, free: 3.867 MB / 488.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2356/3.422, allocations: 12.53 MB / 1.15 GB, free: 71.38 MB / 488.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.079e-06/3.422, allocations: 5.25 kB / 1.15 GB, free: 71.38 MB / 488.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04992/3.472, allocations: 24.42 MB / 1.174 GB, free: 70.08 MB / 488.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006275/3.479, allocations: 1.879 MB / 1.176 GB, free: 69.98 MB / 488.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002972/3.482, allocations: 11.02 kB / 1.176 GB, free: 69.98 MB / 488.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007243/3.489, allocations: 198.7 kB / 1.176 GB, free: 69.98 MB / 488.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002426/3.492, allocations: 0.5871 MB / 1.177 GB, free: 69.98 MB / 488.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001598/3.493, allocations: 245.5 kB / 1.177 GB, free: 69.98 MB / 488.6 MB Notification: Performance of sort global known variables: time 0.005473/3.499, allocations: 2.365 MB / 1.179 GB, free: 69.8 MB / 488.6 MB Notification: Performance of remove unused functions: time 0.01146/3.51, allocations: 2.005 MB / 1.181 GB, free: 69.8 MB / 488.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006617/3.511, allocations: 470.9 kB / 1.182 GB, free: 69.73 MB / 488.6 MB Notification: Performance of simCode: created initialization part: time 0.02982/3.541, allocations: 14.3 MB / 1.196 GB, free: 69.09 MB / 488.6 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/3.541, allocations: 3.469 kB / 1.196 GB, free: 69.09 MB / 488.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01634/3.558, allocations: 7.429 MB / 1.203 GB, free: 68.55 MB / 488.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008428/3.566, allocations: 0.9889 MB / 1.204 GB, free: 68.54 MB / 488.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06318/3.629, allocations: 23.1 MB / 1.227 GB, free: 65.12 MB / 488.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02178/3.651, allocations: 8.633 MB / 1.235 GB, free: 62.53 MB / 488.6 MB Notification: Performance of SimCode: time 3.142e-06/3.652, allocations: 2.25 kB / 1.235 GB, free: 62.53 MB / 488.6 MB Notification: Performance of Templates: time 0.5793/4.231, allocations: 141.4 MB / 1.373 GB, free: 60.17 MB / 488.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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_SMPM_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.SMPM_CurrentSource.o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_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.SMPM_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_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_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.SMPM_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_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.SMPM_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_SMPM_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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_SMPM_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.SMPM_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_SMPM_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:1734:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_eqFunction_1282(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:1734:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_eqFunction_1282(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:1735:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_eqFunction_1283(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:1735:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_eqFunction_1283(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c:1736:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource_eqFunction_1284(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.SMPM_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.o] Error 1