Notification: Performance of loadModel(Modelica): time 1.557/1.557, allocations: 194.5 MB / 200.7 MB, free: 7.301 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.917e-06/1.006e-05, allocations: 0.9062 kB / 247.4 MB, free: 5.414 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06717/0.06725, allocations: 44.37 MB / 291.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3487, allocations: 102.6 MB / 394.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.3491, allocations: 84.11 kB / 394.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.2186/0.5678, allocations: 48.27 MB / 442.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001636/0.5681, allocations: 59.94 kB / 442.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of Generate backend data structure: time 0.006114/0.5742, allocations: 2.326 MB / 445.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5744, allocations: 8.031 kB / 445.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.576, allocations: 320.5 kB / 445.5 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/0.5807, allocations: 1.668 MB / 447.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.5809, allocations: 71.91 kB / 447.3 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006129/0.5816, allocations: 132 kB / 447.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005244/0.5869, allocations: 2.106 MB / 449.5 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006673/0.5937, allocations: 2.517 MB / 452 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.625e-05/0.5939, allocations: 4 kB / 452 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.5942, allocations: 0 / 452 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.5944, allocations: 112.2 kB / 452.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.614, allocations: 8.686 MB / 460.8 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.6161, allocations: 0.8447 MB / 461.7 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.6179, allocations: 0.8583 MB / 462.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.6183, allocations: 130 kB / 462.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6184, allocations: 47.56 kB / 462.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 5.238e-06/0.6184, allocations: 0 / 462.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.01289/0.6314, allocations: 4.935 MB / 467.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6315, allocations: 68.72 kB / 467.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.6337, allocations: 1.1 MB / 468.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.634, allocations: 25.7 kB / 468.8 MB, free: 1.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.6346, allocations: 0.8762 MB / 469.7 MB, free: 460 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/0.6352, allocations: 441.4 kB / 470.1 MB, free: 12 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.6354, allocations: 4 kB / 470.1 MB, free: 8 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/0.6358, allocations: 365.9 kB / 470.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.6371, allocations: 0.7146 MB / 471.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.6388, allocations: 1.118 MB / 472.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.6407, allocations: 0.908 MB / 473.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.6408, allocations: 4 kB / 473.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005822/0.6466, allocations: 2.471 MB / 475.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6468, allocations: 7.938 kB / 475.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.6468, allocations: 16 kB / 475.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.6491, allocations: 0.5727 MB / 476.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.6512, allocations: 343.5 kB / 476.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/0.661, allocations: 6.068 MB / 482.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.6631, allocations: 55.94 kB / 482.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/0.6635, allocations: 71.98 kB / 482.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.6637, allocations: 79.19 kB / 482.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.6642, allocations: 158.2 kB / 483.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/0.6706, allocations: 2.247 MB / 485.3 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.6708, allocations: 20 kB / 485.3 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.6708, allocations: 4 kB / 485.3 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.6709, allocations: 3.984 kB / 485.3 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.682, allocations: 4.493 MB / 489.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.6821, allocations: 4 kB / 489.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.6836, allocations: 212 kB / 490 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.6863, allocations: 0.6351 MB / 490.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.6866, allocations: 15.98 kB / 490.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.698, allocations: 7.681 MB / 498.4 MB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/0.6982, allocations: 4 kB / 498.4 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1259/0.8241, allocations: 3.493 MB / 0.4901 GB, free: 136.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.8253, allocations: 397.3 kB / 0.4905 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.8259, allocations: 10.67 kB / 0.4905 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.8276, allocations: 62.91 kB / 0.4906 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.8279, allocations: 81.16 kB / 0.4906 GB, free: 136.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.8281, allocations: 37.06 kB / 0.4907 GB, free: 136.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00162/0.8298, allocations: 0.8386 MB / 0.4915 GB, free: 136.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002523/0.8324, allocations: 460.7 kB / 0.4919 GB, free: 136.2 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/0.833, allocations: 274.6 kB / 0.4922 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.8377, allocations: 2.201 MB / 0.4943 GB, free: 135.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.8e-06/0.8378, allocations: 0 / 0.4943 GB, free: 135.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.841, allocations: 1.371 MB / 0.4957 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.8438, allocations: 344.6 kB / 0.496 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.8539, allocations: 3.836 MB / 0.4997 GB, free: 134.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/0.857, allocations: 1.998 MB / 0.5017 GB, free: 133.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.235e-06/0.8572, allocations: 0 / 0.5017 GB, free: 133.9 MB / 394.7 MB Notification: Performance of Templates: time 0.1148/0.972, allocations: 24.41 MB / 0.5255 GB, free: 132.6 MB / 394.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1793:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_250(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1794:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_251(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1795:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_252(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1796:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_253(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.c:1797:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_eqFunction_254(DATA* data, threadData_t *threadData); ^ ; 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.o] Error 1