Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.311e-06/8.381e-06, allocations: 1.094 kB / 247.5 MB, free: 4.605 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05701/0.05709, allocations: 44.35 MB / 291.8 MB, free: 9.168 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.3072, allocations: 103.9 MB / 395.7 MB, free: 15.18 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.3076, allocations: 91.59 kB / 395.8 MB, free: 15.16 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2034/0.511, allocations: 51.26 MB / 447 MB, free: 4.023 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002161/0.5114, allocations: 71.88 kB / 447.1 MB, free: 3.953 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006676/0.5181, allocations: 2.55 MB / 449.7 MB, free: 1.348 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5182, allocations: 8.031 kB / 449.7 MB, free: 1.34 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.52, allocations: 348.1 kB / 450 MB, free: 0.9961 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.5261, allocations: 1.907 MB / 451.9 MB, free: 15.03 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5264, allocations: 87.98 kB / 452 MB, free: 14.94 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007772/0.5272, allocations: 144 kB / 452.1 MB, free: 14.8 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006565/0.5339, allocations: 2.384 MB / 454.5 MB, free: 12.41 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007697/0.5416, allocations: 2.84 MB / 457.4 MB, free: 9.426 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-05/0.5418, allocations: 4 kB / 457.4 MB, free: 9.422 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/0.5423, allocations: 7.938 kB / 457.4 MB, free: 9.414 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.5424, allocations: 124.8 kB / 457.5 MB, free: 9.289 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.564, allocations: 9.938 MB / 467.4 MB, free: 15.03 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.5659, allocations: 0.8877 MB / 468.3 MB, free: 14.12 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.5677, allocations: 0.7691 MB / 469.1 MB, free: 13.36 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.5682, allocations: 138 kB / 469.2 MB, free: 13.21 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5683, allocations: 55.41 kB / 469.3 MB, free: 13.14 MB / 376.6 MB Notification: Performance of pre-optimization done (n=105): time 6.635e-06/0.5684, allocations: 0 / 469.3 MB, free: 13.14 MB / 376.6 MB Notification: Performance of matching and sorting (n=135): time 0.01398/0.5824, allocations: 5.168 MB / 474.4 MB, free: 7.902 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5825, allocations: 64.72 kB / 474.5 MB, free: 7.828 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.5853, allocations: 1.288 MB / 475.8 MB, free: 6.535 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.5857, allocations: 25.7 kB / 475.8 MB, free: 6.504 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.5865, allocations: 1.024 MB / 476.8 MB, free: 5.465 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.5871, allocations: 453.3 kB / 477.3 MB, free: 5.016 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5873, allocations: 0 / 477.3 MB, free: 5.016 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5874, allocations: 365.9 kB / 477.6 MB, free: 4.652 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.5889, allocations: 0.7771 MB / 478.4 MB, free: 3.875 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.5909, allocations: 1.276 MB / 479.7 MB, free: 2.375 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.5929, allocations: 1.006 MB / 480.7 MB, free: 1.367 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.593, allocations: 8 kB / 480.7 MB, free: 1.359 MB / 376.6 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005864/0.5989, allocations: 2.366 MB / 483.1 MB, free: 14.97 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.599, allocations: 8 kB / 483.1 MB, free: 14.96 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.5991, allocations: 20.61 kB / 483.1 MB, free: 14.95 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.6, allocations: 239.2 kB / 483.3 MB, free: 14.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/0.6025, allocations: 423.4 kB / 483.8 MB, free: 14.29 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.6054, allocations: 2.856 MB / 486.6 MB, free: 11.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.6077, allocations: 67.73 kB / 486.7 MB, free: 11.14 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/0.6082, allocations: 72 kB / 486.7 MB, free: 11.07 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.6084, allocations: 83.2 kB / 486.8 MB, free: 10.98 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.6089, allocations: 173.8 kB / 487 MB, free: 10.81 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.6136, allocations: 2.055 MB / 489.1 MB, free: 8.73 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.6137, allocations: 12 kB / 489.1 MB, free: 8.719 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6138, allocations: 4 kB / 489.1 MB, free: 8.715 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.6138, allocations: 7.969 kB / 489.1 MB, free: 8.707 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6245, allocations: 4.504 MB / 493.6 MB, free: 4.109 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.6246, allocations: 0 / 493.6 MB, free: 4.109 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.6265, allocations: 275.6 kB / 493.9 MB, free: 3.84 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000794/0.6274, allocations: 207.5 kB / 494.1 MB, free: 3.625 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.6277, allocations: 7.906 kB / 494.1 MB, free: 3.617 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.6305, allocations: 2.82 MB / 496.9 MB, free: 0.5664 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-06/0.6307, allocations: 4 kB / 496.9 MB, free: 0.5625 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1252/0.7559, allocations: 3.396 MB / 0.4886 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.7573, allocations: 427 kB / 0.489 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00055/0.758, allocations: 9.484 kB / 0.489 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.7596, allocations: 53.38 kB / 0.489 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.7599, allocations: 69.55 kB / 0.4891 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.7601, allocations: 43.47 kB / 0.4891 GB, free: 134.7 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001861/0.762, allocations: 0.9648 MB / 0.4901 GB, free: 134.6 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002302/0.7644, allocations: 447.9 kB / 0.4905 GB, free: 134.6 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004747/0.765, allocations: 325.3 kB / 0.4908 GB, free: 134.5 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.7692, allocations: 2.321 MB / 0.4931 GB, free: 134.1 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.683e-06/0.7693, allocations: 3.656 kB / 0.4931 GB, free: 134.1 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.7717, allocations: 1.336 MB / 0.4944 GB, free: 133.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.7746, allocations: 369.3 kB / 0.4947 GB, free: 133.7 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/0.7844, allocations: 3.92 MB / 0.4986 GB, free: 132.8 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003202/0.7877, allocations: 2.203 MB / 0.5007 GB, free: 132 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/0.7878, allocations: 0 / 0.5007 GB, free: 132 MB / 392.6 MB Notification: Performance of Templates: time 0.1225/0.9104, allocations: 23.56 MB / 0.5237 GB, free: 130.8 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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_CurrentSource.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_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_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_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_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource_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_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2195:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_239(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2196:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_240(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2197:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_241(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2198:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_245(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2199:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_246(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_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.o] Error 1