Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.661e-06/8.73e-06, allocations: 1.25 kB / 248 MB, free: 4.047 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06223/0.06232, allocations: 44.36 MB / 292.4 MB, free: 8.609 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/0.3619, allocations: 139.9 MB / 432.3 MB, free: 11.61 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.3622, allocations: 105.8 kB / 432.4 MB, free: 11.55 MB / 344.6 MB Notification: Performance of FrontEnd: time 1.366/1.728, allocations: 347.4 MB / 0.7615 GB, free: 27.02 MB / 408.6 MB Notification: Performance of Transformations before backend: time 0.0009634/1.73, allocations: 250.7 kB / 0.7617 GB, free: 26.98 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.0434/1.773, allocations: 10.2 MB / 0.7717 GB, free: 17.97 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.773, allocations: 16.03 kB / 0.7717 GB, free: 17.96 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05015/1.823, allocations: 5.071 MB / 0.7766 GB, free: 12.87 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.851, allocations: 9.355 MB / 0.7858 GB, free: 3.551 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006636/1.851, allocations: 356 kB / 0.7861 GB, free: 3.203 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003981/1.855, allocations: 0.617 MB / 0.7867 GB, free: 2.586 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03655/1.892, allocations: 14.79 MB / 0.8011 GB, free: 3.789 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2097/2.102, allocations: 16.34 MB / 0.8171 GB, free: 65.1 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005402/2.102, allocations: 18.81 kB / 0.8171 GB, free: 65.1 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003905/2.106, allocations: 8.312 kB / 0.8171 GB, free: 65.1 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008312/2.107, allocations: 0.7714 MB / 0.8179 GB, free: 65.08 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/2.233, allocations: 57.97 MB / 0.8745 GB, free: 56.37 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/2.244, allocations: 5.835 MB / 0.8802 GB, free: 53.89 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01408/2.259, allocations: 7.163 MB / 0.8872 GB, free: 50.92 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05725/2.316, allocations: 24.52 MB / 0.9111 GB, free: 38.74 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/2.316, allocations: 108.7 kB / 0.9112 GB, free: 38.65 MB / 424.6 MB Notification: Performance of pre-optimization done (n=772): time 1.781e-05/2.316, allocations: 2.719 kB / 0.9112 GB, free: 38.65 MB / 424.6 MB Notification: Performance of matching and sorting (n=780): time 0.07345/2.39, allocations: 25.94 MB / 0.9366 GB, free: 27.34 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/2.39, allocations: 126 kB / 0.9367 GB, free: 27.27 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/2.396, allocations: 2.725 MB / 0.9393 GB, free: 26.18 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001331/2.397, allocations: 29.58 kB / 0.9394 GB, free: 26.15 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/2.4, allocations: 3.493 MB / 0.9428 GB, free: 23.63 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.003195/2.403, allocations: 2.489 MB / 0.9452 GB, free: 21.65 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/2.404, allocations: 0 / 0.9452 GB, free: 21.65 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0008121/2.405, allocations: 0.6124 MB / 0.9458 GB, free: 21.21 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009923/2.415, allocations: 4.918 MB / 0.9506 GB, free: 19.13 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/2.427, allocations: 6.47 MB / 0.9569 GB, free: 14.92 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/2.443, allocations: 6.22 MB / 0.963 GB, free: 9.656 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.838e-05/2.443, allocations: 15.28 kB / 0.963 GB, free: 9.645 MB / 424.6 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.2184/2.662, allocations: 14.64 MB / 0.9773 GB, free: 62.58 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/2.662, allocations: 9.75 kB / 0.9773 GB, free: 62.58 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-05/2.662, allocations: 42.91 kB / 0.9774 GB, free: 62.58 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/2.672, allocations: 3.646 MB / 0.9809 GB, free: 62.49 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00957/2.682, allocations: 1.477 MB / 0.9824 GB, free: 62.49 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/2.699, allocations: 14.02 MB / 0.9961 GB, free: 56.29 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/2.707, allocations: 202.8 kB / 0.9963 GB, free: 56.29 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/2.709, allocations: 319 kB / 0.9966 GB, free: 56.29 MB / 424.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.001211/2.71, allocations: 84.77 kB / 0.9966 GB, free: 56.21 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/2.712, allocations: 0.5039 MB / 0.9971 GB, free: 56.21 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0362/2.748, allocations: 14.5 MB / 1.011 GB, free: 55.67 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002428/2.749, allocations: 166.4 kB / 1.011 GB, free: 55.67 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-05/2.749, allocations: 9.594 kB / 1.011 GB, free: 55.67 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001224/2.749, allocations: 34.17 kB / 1.012 GB, free: 55.67 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06428/2.813, allocations: 27.45 MB / 1.038 GB, free: 54.09 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.074e-05/2.814, allocations: 7.219 kB / 1.038 GB, free: 54.09 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007587/2.821, allocations: 1.022 MB / 1.039 GB, free: 54.09 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/2.833, allocations: 3.923 MB / 1.043 GB, free: 53.96 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001601/2.835, allocations: 77.44 kB / 1.043 GB, free: 53.96 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02712/2.862, allocations: 20.44 MB / 1.063 GB, free: 43.76 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/2.862, allocations: 6.438 kB / 1.063 GB, free: 43.76 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04736/2.909, allocations: 21.85 MB / 1.085 GB, free: 34.24 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005736/2.915, allocations: 1.697 MB / 1.086 GB, free: 33.41 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/2.918, allocations: 15.27 kB / 1.086 GB, free: 33.41 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006614/2.925, allocations: 200.4 kB / 1.086 GB, free: 33.41 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002282/2.927, allocations: 0.5014 MB / 1.087 GB, free: 33.3 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00162/2.929, allocations: 210.1 kB / 1.087 GB, free: 33.25 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.005104/2.934, allocations: 2.029 MB / 1.089 GB, free: 32.42 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.0108/2.945, allocations: 1.758 MB / 1.091 GB, free: 32.4 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005493/2.946, allocations: 370 kB / 1.091 GB, free: 32.31 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.02634/2.972, allocations: 12.4 MB / 1.103 GB, free: 26.91 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.451e-06/2.972, allocations: 0 / 1.103 GB, free: 26.91 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01551/2.988, allocations: 7.013 MB / 1.11 GB, free: 20.55 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00754/2.996, allocations: 0.826 MB / 1.111 GB, free: 19.93 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05731/3.053, allocations: 20.32 MB / 1.131 GB, free: 1.945 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2032/3.256, allocations: 7.682 MB / 1.138 GB, free: 61.12 MB / 424.6 MB Notification: Performance of SimCode: time 2.375e-06/3.256, allocations: 2.969 kB / 1.138 GB, free: 61.12 MB / 424.6 MB Notification: Performance of Templates: time 0.2411/3.498, allocations: 124.1 MB / 1.259 GB, free: 24.87 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=18 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.o Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_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_Inverter.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_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_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_Inverter.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_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter.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_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter_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_Inverter.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_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2082:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_eqFunction_1141(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2082:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_eqFunction_1141(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2083:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_eqFunction_1142(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2083:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_eqFunction_1142(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.c:2084:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_eqFunction_1143(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_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.o] Error 1