Notification: Performance of loadModel(Modelica): time 1.528/1.528, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.062 kB / 247.5 MB, free: 4.578 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05748/0.05756, allocations: 44.35 MB / 291.8 MB, free: 9.148 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.308, allocations: 107.2 MB / 399 MB, free: 12.65 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3084, allocations: 93.81 kB / 399.1 MB, free: 12.61 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2154/0.5239, allocations: 56.59 MB / 455.7 MB, free: 11.28 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002194/0.5242, allocations: 83.88 kB / 455.8 MB, free: 11.2 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.00731/0.5316, allocations: 2.841 MB / 458.6 MB, free: 8.293 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5317, allocations: 12.02 kB / 458.6 MB, free: 8.281 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.5336, allocations: 399.6 kB / 459 MB, free: 7.887 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005871/0.5396, allocations: 2.172 MB / 461.2 MB, free: 5.66 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.5398, allocations: 96 kB / 461.3 MB, free: 5.566 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.5404, allocations: 163.9 kB / 461.5 MB, free: 5.406 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007066/0.5475, allocations: 2.721 MB / 464.2 MB, free: 2.68 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008009/0.5556, allocations: 3.215 MB / 467.4 MB, free: 15.32 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-05/0.5558, allocations: 7.906 kB / 467.4 MB, free: 15.31 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.5562, allocations: 7.938 kB / 467.4 MB, free: 15.3 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.5564, allocations: 141.5 kB / 467.5 MB, free: 15.16 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.5783, allocations: 11.09 MB / 478.6 MB, free: 3.754 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.5804, allocations: 1.084 MB / 479.7 MB, free: 2.656 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.5824, allocations: 0.9819 MB / 480.7 MB, free: 1.672 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.5827, allocations: 146.3 kB / 480.8 MB, free: 1.512 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5828, allocations: 51.81 kB / 480.9 MB, free: 1.453 MB / 376.6 MB Notification: Performance of pre-optimization done (n=132): time 6.705e-06/0.5829, allocations: 0 / 480.9 MB, free: 1.453 MB / 376.6 MB Notification: Performance of matching and sorting (n=153): time 0.01351/0.5965, allocations: 5.618 MB / 486.5 MB, free: 11.78 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.5966, allocations: 68.72 kB / 486.6 MB, free: 11.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.5995, allocations: 1.472 MB / 488 MB, free: 10.23 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.5998, allocations: 25.7 kB / 488.1 MB, free: 10.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/0.6006, allocations: 1.107 MB / 489.2 MB, free: 9.078 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.6011, allocations: 0.5042 MB / 489.7 MB, free: 8.566 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.6012, allocations: 0 / 489.7 MB, free: 8.566 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6014, allocations: 381.9 kB / 490.1 MB, free: 8.188 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.6032, allocations: 0.8551 MB / 490.9 MB, free: 7.332 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.605, allocations: 1.385 MB / 492.3 MB, free: 5.711 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.6071, allocations: 1.107 MB / 493.4 MB, free: 4.605 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.6071, allocations: 7.938 kB / 493.4 MB, free: 4.598 MB / 392.6 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006196/0.6134, allocations: 2.849 MB / 496.3 MB, free: 1.727 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6135, allocations: 4 kB / 496.3 MB, free: 1.723 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.6136, allocations: 19.98 kB / 496.3 MB, free: 1.703 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.6157, allocations: 0.5299 MB / 496.8 MB, free: 1.164 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.6182, allocations: 427.3 kB / 497.2 MB, free: 0.7461 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1246/0.7429, allocations: 5.709 MB / 0.4912 GB, free: 128.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.7454, allocations: 68.38 kB / 0.4912 GB, free: 128.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/0.7458, allocations: 84.48 kB / 0.4913 GB, free: 128.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.746, allocations: 77.25 kB / 0.4914 GB, free: 128 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.7466, allocations: 195 kB / 0.4916 GB, free: 128 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.7523, allocations: 2.554 MB / 0.4941 GB, free: 127.9 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7524, allocations: 15 kB / 0.4941 GB, free: 127.9 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.7525, allocations: 16.91 kB / 0.4941 GB, free: 127.9 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.7526, allocations: 7.594 kB / 0.4941 GB, free: 127.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.7652, allocations: 5.283 MB / 0.4992 GB, free: 127.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.7654, allocations: 3.438 kB / 0.4993 GB, free: 127.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.7672, allocations: 264.2 kB / 0.4995 GB, free: 127.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.7698, allocations: 0.5721 MB / 0.5001 GB, free: 127.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/0.7701, allocations: 14.72 kB / 0.5001 GB, free: 127.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.7808, allocations: 7.33 MB / 0.5072 GB, free: 123.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.962e-06/0.7809, allocations: 3.781 kB / 0.5072 GB, free: 123.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007524/0.7885, allocations: 4.057 MB / 0.5112 GB, free: 123.2 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.7899, allocations: 477.9 kB / 0.5117 GB, free: 123.1 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/0.7904, allocations: 12.94 kB / 0.5117 GB, free: 123.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.7921, allocations: 61.41 kB / 0.5117 GB, free: 123.1 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.7923, allocations: 83.53 kB / 0.5118 GB, free: 123.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.7925, allocations: 46.06 kB / 0.5119 GB, free: 123.1 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002096/0.7947, allocations: 1.099 MB / 0.5129 GB, free: 122.9 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002801/0.7976, allocations: 0.5108 MB / 0.5134 GB, free: 122.9 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000464/0.7981, allocations: 329.4 kB / 0.5137 GB, free: 122.9 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004486/0.8027, allocations: 2.488 MB / 0.5162 GB, free: 122.5 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.8028, allocations: 2.406 kB / 0.5162 GB, free: 122.5 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003138/0.806, allocations: 1.479 MB / 0.5176 GB, free: 122.2 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.809, allocations: 399.7 kB / 0.518 GB, free: 122.2 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.8203, allocations: 4.609 MB / 0.5225 GB, free: 121.2 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003368/0.8237, allocations: 2.392 MB / 0.5248 GB, free: 120.5 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.8238, allocations: 0 / 0.5248 GB, free: 120.5 MB / 392.6 MB Notification: Performance of Templates: time 0.1162/0.94, allocations: 28.03 MB / 0.5522 GB, free: 113.8 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource -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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2075:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_279(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2076:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_280(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2077:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_281(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2078:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_282(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2079:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_283(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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o] Error 1