Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.987e-06, allocations: 1.094 kB / 247.4 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06325/0.06333, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.3775, allocations: 150 MB / 441.8 MB, free: 2.43 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.3779, allocations: 105.4 kB / 441.9 MB, free: 2.375 MB / 344.6 MB Notification: Performance of FrontEnd: time 2.75/3.128, allocations: 0.6471 GB / 1.079 GB, free: 8.18 MB / 424.6 MB Notification: Performance of Transformations before backend: time 0.0009787/3.129, allocations: 301.1 kB / 1.079 GB, free: 8.133 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 0.05448/3.183, allocations: 12.59 MB / 1.091 GB, free: 2.305 MB / 424.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/3.183, allocations: 8.031 kB / 1.091 GB, free: 2.297 MB / 424.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05289/3.236, allocations: 5.386 MB / 1.096 GB, free: 14.3 MB / 440.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03355/3.27, allocations: 10.91 MB / 1.107 GB, free: 4.902 MB / 440.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008753/3.271, allocations: 428 kB / 1.108 GB, free: 4.484 MB / 440.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004817/3.276, allocations: 0.7447 MB / 1.108 GB, free: 3.746 MB / 440.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04364/3.319, allocations: 17.27 MB / 1.125 GB, free: 2.469 MB / 456.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2445/3.564, allocations: 19.51 MB / 1.144 GB, free: 61.06 MB / 456.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005672/3.565, allocations: 25.12 kB / 1.144 GB, free: 61.06 MB / 456.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004739/3.57, allocations: 8.781 kB / 1.144 GB, free: 61.06 MB / 456.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001/3.571, allocations: 0.8703 MB / 1.145 GB, free: 61.03 MB / 456.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1551/3.726, allocations: 69.02 MB / 1.212 GB, free: 48.78 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/3.741, allocations: 8.031 MB / 1.22 GB, free: 45.43 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/3.758, allocations: 9.179 MB / 1.229 GB, free: 41.6 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06705/3.825, allocations: 30.3 MB / 1.259 GB, free: 26.3 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.961e-05/3.826, allocations: 126.3 kB / 1.259 GB, free: 26.2 MB / 456.6 MB Notification: Performance of pre-optimization done (n=988): time 1.907e-05/3.826, allocations: 0 / 1.259 GB, free: 26.2 MB / 456.6 MB Notification: Performance of matching and sorting (n=996): time 0.08572/3.911, allocations: 33.81 MB / 1.292 GB, free: 11.15 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/3.912, allocations: 168.1 kB / 1.292 GB, free: 11.05 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009125/3.921, allocations: 4.49 MB / 1.297 GB, free: 9.426 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001607/3.923, allocations: 25.7 kB / 1.297 GB, free: 9.395 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002362/3.925, allocations: 4.113 MB / 1.301 GB, free: 6.461 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.004052/3.929, allocations: 3.167 MB / 1.304 GB, free: 3.938 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/3.931, allocations: 1.125 kB / 1.304 GB, free: 3.938 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0008996/3.932, allocations: 0.7013 MB / 1.304 GB, free: 3.461 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01732/3.949, allocations: 6.56 MB / 1.311 GB, free: 0 / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.21/4.159, allocations: 7.961 MB / 1.319 GB, free: 64.11 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/4.179, allocations: 7.901 MB / 1.326 GB, free: 64.01 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.43e-05/4.179, allocations: 12.59 kB / 1.326 GB, free: 64.01 MB / 456.6 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04599/4.225, allocations: 18.2 MB / 1.344 GB, free: 63.59 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/4.225, allocations: 3.844 kB / 1.344 GB, free: 63.59 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/4.226, allocations: 46.78 kB / 1.344 GB, free: 63.59 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/4.239, allocations: 4.319 MB / 1.348 GB, free: 63.49 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/4.252, allocations: 1.743 MB / 1.35 GB, free: 63.49 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/4.277, allocations: 19 MB / 1.369 GB, free: 55.37 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009835/4.287, allocations: 259.5 kB / 1.369 GB, free: 55.37 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/4.29, allocations: 374.9 kB / 1.369 GB, free: 55.37 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.001336/4.291, allocations: 82.06 kB / 1.369 GB, free: 55.29 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002823/4.294, allocations: 0.6657 MB / 1.37 GB, free: 55.29 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04422/4.338, allocations: 17.95 MB / 1.387 GB, free: 54.86 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03154/4.37, allocations: 13.86 MB / 1.401 GB, free: 53.31 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-05/4.37, allocations: 8.875 kB / 1.401 GB, free: 53.31 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001823/4.37, allocations: 44.48 kB / 1.401 GB, free: 53.31 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07707/4.448, allocations: 34.54 MB / 1.435 GB, free: 38.35 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001014/4.448, allocations: 9.438 kB / 1.435 GB, free: 38.34 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009799/4.458, allocations: 1.251 MB / 1.436 GB, free: 38.31 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/4.47, allocations: 4.575 MB / 1.44 GB, free: 36.95 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001798/4.472, allocations: 106.8 kB / 1.441 GB, free: 36.92 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03193/4.504, allocations: 22.66 MB / 1.463 GB, free: 19.15 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.499e-06/4.504, allocations: 8.719 kB / 1.463 GB, free: 19.14 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2994/4.804, allocations: 29.23 MB / 1.491 GB, free: 56.63 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007267/4.811, allocations: 2.248 MB / 1.493 GB, free: 56.54 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003416/4.815, allocations: 14.59 kB / 1.493 GB, free: 56.54 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008027/4.823, allocations: 240.9 kB / 1.494 GB, free: 56.54 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002875/4.826, allocations: 0.6487 MB / 1.494 GB, free: 56.53 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002095/4.828, allocations: 268 kB / 1.495 GB, free: 56.53 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.007909/4.836, allocations: 3.362 MB / 1.498 GB, free: 56.35 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.01374/4.85, allocations: 2.225 MB / 1.5 GB, free: 56.35 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/4.851, allocations: 0.5779 MB / 1.501 GB, free: 56.29 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.0336/4.885, allocations: 15.88 MB / 1.516 GB, free: 55.39 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 8.66e-06/4.885, allocations: 0 / 1.516 GB, free: 55.39 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01991/4.905, allocations: 8.625 MB / 1.525 GB, free: 54.68 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009623/4.915, allocations: 1.006 MB / 1.526 GB, free: 54.66 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07345/4.988, allocations: 25.81 MB / 1.551 GB, free: 51.1 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02301/5.011, allocations: 9.241 MB / 1.56 GB, free: 50.05 MB / 456.6 MB Notification: Performance of SimCode: time 3.283e-06/5.011, allocations: 0 / 1.56 GB, free: 50.05 MB / 456.6 MB Notification: Performance of Templates: time 0.6032/5.615, allocations: 155.8 MB / 1.712 GB, free: 46.48 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