Notification: Performance of loadModel(Modelica): time 1.499/1.499, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.125 kB / 247.4 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05824/0.05832, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.3715, allocations: 150 MB / 441.7 MB, free: 1.898 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.3719, allocations: 105.1 kB / 441.9 MB, free: 1.844 MB / 344.6 MB Notification: Performance of FrontEnd: time 2.688/3.06, allocations: 0.6471 GB / 1.079 GB, free: 22.81 MB / 440.6 MB Notification: Performance of Transformations before backend: time 0.001004/3.061, allocations: 304.8 kB / 1.079 GB, free: 22.76 MB / 440.6 MB Notification: Performance of Generate backend data structure: time 0.05295/3.114, allocations: 12.59 MB / 1.091 GB, free: 14.92 MB / 440.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/3.115, allocations: 12.03 kB / 1.091 GB, free: 14.91 MB / 440.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05396/3.169, allocations: 5.375 MB / 1.096 GB, free: 10.91 MB / 440.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03484/3.204, allocations: 10.93 MB / 1.107 GB, free: 308 kB / 440.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009834/3.205, allocations: 424 kB / 1.108 GB, free: 15.88 MB / 456.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005583/3.21, allocations: 0.738 MB / 1.108 GB, free: 15.15 MB / 456.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2408/3.451, allocations: 17.27 MB / 1.125 GB, free: 65.38 MB / 456.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08148/3.533, allocations: 19.51 MB / 1.144 GB, free: 63.98 MB / 456.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007216/3.534, allocations: 23.98 kB / 1.144 GB, free: 63.98 MB / 456.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005338/3.539, allocations: 10.09 kB / 1.144 GB, free: 63.98 MB / 456.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/3.541, allocations: 0.8735 MB / 1.145 GB, free: 63.95 MB / 456.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1621/3.703, allocations: 69.02 MB / 1.212 GB, free: 50.78 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/3.717, allocations: 8.037 MB / 1.22 GB, free: 47.43 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/3.734, allocations: 9.171 MB / 1.229 GB, free: 43.61 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06565/3.8, allocations: 30.31 MB / 1.259 GB, free: 28.31 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.388e-05/3.8, allocations: 126.4 kB / 1.259 GB, free: 28.21 MB / 456.6 MB Notification: Performance of pre-optimization done (n=988): time 2.005e-05/3.801, allocations: 0 / 1.259 GB, free: 28.21 MB / 456.6 MB Notification: Performance of matching and sorting (n=996): time 0.08584/3.886, allocations: 33.81 MB / 1.292 GB, free: 13.18 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/3.887, allocations: 168.8 kB / 1.292 GB, free: 13.07 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009254/3.896, allocations: 4.485 MB / 1.297 GB, free: 9.516 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001602/3.898, allocations: 31.11 kB / 1.297 GB, free: 9.48 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002312/3.9, allocations: 4.11 MB / 1.301 GB, free: 5.91 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.003898/3.904, allocations: 3.173 MB / 1.304 GB, free: 2.977 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/3.905, allocations: 1.719 kB / 1.304 GB, free: 2.977 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0008695/3.906, allocations: 0.6961 MB / 1.304 GB, free: 2.387 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03773/3.944, allocations: 7.598 MB / 1.312 GB, free: 0 / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1945/4.138, allocations: 7.96 MB / 1.32 GB, free: 65.16 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01928/4.158, allocations: 7.905 MB / 1.327 GB, free: 65.05 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-05/4.158, allocations: 13.72 kB / 1.327 GB, free: 65.05 MB / 456.6 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04267/4.201, allocations: 18.19 MB / 1.345 GB, free: 64.64 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/4.201, allocations: 7.188 kB / 1.345 GB, free: 64.64 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/4.201, allocations: 41.44 kB / 1.345 GB, free: 64.64 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/4.213, allocations: 4.322 MB / 1.349 GB, free: 64.54 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/4.225, allocations: 1.737 MB / 1.351 GB, free: 64.54 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/4.25, allocations: 19.01 MB / 1.37 GB, free: 56.41 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/4.259, allocations: 258 kB / 1.37 GB, free: 56.41 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/4.262, allocations: 373.9 kB / 1.37 GB, free: 56.41 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.001487/4.263, allocations: 80.69 kB / 1.37 GB, free: 56.34 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002709/4.266, allocations: 0.6671 MB / 1.371 GB, free: 56.34 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04543/4.312, allocations: 17.97 MB / 1.388 GB, free: 55.91 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03085/4.343, allocations: 13.85 MB / 1.402 GB, free: 55 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.497e-05/4.343, allocations: 11.34 kB / 1.402 GB, free: 55 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001668/4.343, allocations: 43.03 kB / 1.402 GB, free: 55 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0762/4.419, allocations: 34.54 MB / 1.436 GB, free: 40.04 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-05/4.42, allocations: 3.906 kB / 1.436 GB, free: 40.04 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009326/4.429, allocations: 1.252 MB / 1.437 GB, free: 40 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01363/4.443, allocations: 4.581 MB / 1.441 GB, free: 38.64 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001786/4.444, allocations: 109.5 kB / 1.442 GB, free: 38.61 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03077/4.475, allocations: 22.68 MB / 1.464 GB, free: 19.97 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.451e-06/4.475, allocations: 1.875 kB / 1.464 GB, free: 19.97 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2826/4.758, allocations: 28.92 MB / 1.492 GB, free: 58.05 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007013/4.765, allocations: 2.242 MB / 1.494 GB, free: 57.95 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002994/4.768, allocations: 14.47 kB / 1.494 GB, free: 57.95 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007825/4.776, allocations: 249.8 kB / 1.494 GB, free: 57.95 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002644/4.779, allocations: 0.6439 MB / 1.495 GB, free: 57.95 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001528/4.781, allocations: 263.9 kB / 1.495 GB, free: 57.95 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.007381/4.788, allocations: 3.359 MB / 1.499 GB, free: 57.77 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.0125/4.801, allocations: 2.227 MB / 1.501 GB, free: 57.77 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/4.802, allocations: 0.5833 MB / 1.501 GB, free: 57.7 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.0318/4.834, allocations: 15.88 MB / 1.517 GB, free: 56.81 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 7.683e-06/4.834, allocations: 3.281 kB / 1.517 GB, free: 56.81 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01916/4.853, allocations: 8.628 MB / 1.525 GB, free: 56.09 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008842/4.862, allocations: 0.9998 MB / 1.526 GB, free: 56.07 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07009/4.932, allocations: 25.8 MB / 1.551 GB, free: 52.51 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02193/4.954, allocations: 9.256 MB / 1.56 GB, free: 51.48 MB / 456.6 MB Notification: Performance of SimCode: time 2.654e-06/4.954, allocations: 0 / 1.56 GB, free: 51.48 MB / 456.6 MB Notification: Performance of Templates: time 0.7066/5.661, allocations: 155.7 MB / 1.713 GB, free: 50.75 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_InductionMachines_IMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=16 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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.InductionMachines.IMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_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.InductionMachines.IMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_InductionMachines_IMC_withLosses_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.InductionMachines.IMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3195:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1447(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3195:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1447(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3196:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1448(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3196:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1448(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3197:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1449(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.InductionMachines.IMC_withLosses.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o] Error 1