Notification: Performance of loadModel(Modelica): time 1.5/1.5, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.778e-06, allocations: 1 kB / 247.4 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06129/0.06137, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.3634, allocations: 150 MB / 441.7 MB, free: 2.227 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.3638, allocations: 106.6 kB / 441.9 MB, free: 2.172 MB / 344.6 MB Notification: Performance of FrontEnd: time 2.695/3.059, allocations: 0.6471 GB / 1.079 GB, free: 22.81 MB / 440.6 MB Notification: Performance of Transformations before backend: time 0.001039/3.06, allocations: 304 kB / 1.079 GB, free: 22.76 MB / 440.6 MB Notification: Performance of Generate backend data structure: time 0.05285/3.113, allocations: 12.59 MB / 1.091 GB, free: 15 MB / 440.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/3.113, allocations: 8.031 kB / 1.091 GB, free: 14.99 MB / 440.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05439/3.168, allocations: 5.379 MB / 1.096 GB, free: 10.99 MB / 440.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03579/3.204, allocations: 10.92 MB / 1.107 GB, free: 0.5391 MB / 440.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009978/3.205, allocations: 431.9 kB / 1.108 GB, free: 120 kB / 440.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005436/3.21, allocations: 0.7342 MB / 1.108 GB, free: 15.38 MB / 456.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2252/3.436, allocations: 17.28 MB / 1.125 GB, free: 65.56 MB / 456.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05532/3.491, allocations: 19.52 MB / 1.144 GB, free: 64.16 MB / 456.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005147/3.492, allocations: 18.91 kB / 1.144 GB, free: 64.16 MB / 456.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004124/3.496, allocations: 6.75 kB / 1.144 GB, free: 64.16 MB / 456.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008952/3.497, allocations: 0.8754 MB / 1.145 GB, free: 64.13 MB / 456.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1473/3.644, allocations: 69.02 MB / 1.212 GB, free: 50.73 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/3.659, allocations: 8.035 MB / 1.22 GB, free: 47.38 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01756/3.677, allocations: 9.174 MB / 1.229 GB, free: 43.55 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06436/3.741, allocations: 30.31 MB / 1.259 GB, free: 28.25 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.22e-05/3.741, allocations: 125.8 kB / 1.259 GB, free: 28.15 MB / 456.6 MB Notification: Performance of pre-optimization done (n=988): time 1.942e-05/3.741, allocations: 0 / 1.259 GB, free: 28.15 MB / 456.6 MB Notification: Performance of matching and sorting (n=996): time 0.08195/3.823, allocations: 33.81 MB / 1.292 GB, free: 13.12 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/3.824, allocations: 171 kB / 1.292 GB, free: 13.02 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008926/3.833, allocations: 4.491 MB / 1.297 GB, free: 10.05 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.00162/3.834, allocations: 29.41 kB / 1.297 GB, free: 10.02 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/3.837, allocations: 4.109 MB / 1.301 GB, free: 6.449 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.00398/3.841, allocations: 3.171 MB / 1.304 GB, free: 3.52 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/3.842, allocations: 2.406 kB / 1.304 GB, free: 3.52 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.00075/3.843, allocations: 0.6971 MB / 1.304 GB, free: 2.93 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03267/3.876, allocations: 7.386 MB / 1.312 GB, free: 0 / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1941/4.07, allocations: 7.961 MB / 1.319 GB, free: 65.28 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/4.089, allocations: 7.909 MB / 1.327 GB, free: 65.18 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.367e-05/4.089, allocations: 12.62 kB / 1.327 GB, free: 65.18 MB / 456.6 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.0432/4.132, allocations: 18.19 MB / 1.345 GB, free: 64.76 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/4.132, allocations: 3.625 kB / 1.345 GB, free: 64.76 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/4.132, allocations: 46.44 kB / 1.345 GB, free: 64.76 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/4.145, allocations: 4.315 MB / 1.349 GB, free: 64.66 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/4.157, allocations: 1.74 MB / 1.351 GB, free: 64.66 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/4.182, allocations: 19.01 MB / 1.369 GB, free: 56.54 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009453/4.192, allocations: 257.1 kB / 1.37 GB, free: 56.54 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/4.194, allocations: 377.1 kB / 1.37 GB, free: 56.54 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.0009822/4.195, allocations: 78.16 kB / 1.37 GB, free: 56.46 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/4.197, allocations: 0.6647 MB / 1.371 GB, free: 56.46 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04291/4.24, allocations: 17.97 MB / 1.388 GB, free: 56.03 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02976/4.27, allocations: 13.86 MB / 1.402 GB, free: 54.81 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/4.27, allocations: 11.12 kB / 1.402 GB, free: 54.81 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001564/4.27, allocations: 44.3 kB / 1.402 GB, free: 54.81 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07379/4.344, allocations: 34.54 MB / 1.436 GB, free: 39.85 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.914e-05/4.344, allocations: 3.969 kB / 1.436 GB, free: 39.85 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009027/4.353, allocations: 1.252 MB / 1.437 GB, free: 39.82 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01399/4.367, allocations: 4.572 MB / 1.441 GB, free: 38.46 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001774/4.369, allocations: 113.2 kB / 1.441 GB, free: 38.43 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03/4.399, allocations: 22.67 MB / 1.464 GB, free: 20.34 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/4.399, allocations: 6.031 kB / 1.464 GB, free: 20.33 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2651/4.664, allocations: 28.8 MB / 1.492 GB, free: 58.05 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009282/4.674, allocations: 2.244 MB / 1.494 GB, free: 57.96 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004601/4.679, allocations: 19.77 kB / 1.494 GB, free: 57.96 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/4.691, allocations: 250.4 kB / 1.494 GB, free: 57.96 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003896/4.695, allocations: 0.6425 MB / 1.495 GB, free: 57.95 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002155/4.697, allocations: 267.9 kB / 1.495 GB, free: 57.95 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.01096/4.708, allocations: 3.361 MB / 1.498 GB, free: 57.77 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.01866/4.727, allocations: 2.22 MB / 1.5 GB, free: 57.77 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/4.729, allocations: 0.5867 MB / 1.501 GB, free: 57.71 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.05241/4.781, allocations: 15.87 MB / 1.517 GB, free: 56.82 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/4.782, allocations: 2.844 kB / 1.517 GB, free: 56.82 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.03105/4.813, allocations: 8.628 MB / 1.525 GB, free: 56.1 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/4.827, allocations: 0.9988 MB / 1.526 GB, free: 56.08 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07719/4.904, allocations: 25.8 MB / 1.551 GB, free: 52.52 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02182/4.926, allocations: 9.246 MB / 1.56 GB, free: 51.49 MB / 456.6 MB Notification: Performance of SimCode: time 2.933e-06/4.926, allocations: 0 / 1.56 GB, free: 51.49 MB / 456.6 MB Notification: Performance of Templates: time 0.5272/5.454, allocations: 155.8 MB / 1.712 GB, free: 48.49 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_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_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_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_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3195:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1447(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3195:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1447(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3196:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1448(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3196:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_eqFunction_1448(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.c:3197:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.o] Error 1