Notification: Performance of loadModel(Modelica): time 1.534/1.534, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.638e-06, allocations: 2.188 kB / 247.5 MB, free: 4.594 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06178/0.06186, allocations: 44.36 MB / 291.8 MB, free: 9.168 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/0.3202, allocations: 103.9 MB / 395.7 MB, free: 15.28 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3206, allocations: 93.72 kB / 395.8 MB, free: 15.26 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.203/0.5236, allocations: 51.26 MB / 447 MB, free: 4.004 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002296/0.5239, allocations: 75.88 kB / 447.1 MB, free: 3.93 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.007035/0.531, allocations: 2.546 MB / 449.7 MB, free: 1.328 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.5311, allocations: 12.03 kB / 449.7 MB, free: 1.316 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.533, allocations: 344.1 kB / 450 MB, free: 0.9766 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/0.5389, allocations: 1.911 MB / 451.9 MB, free: 15.01 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.5391, allocations: 88 kB / 452 MB, free: 14.92 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007092/0.5399, allocations: 144 kB / 452.1 MB, free: 14.78 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006578/0.5465, allocations: 2.384 MB / 454.5 MB, free: 12.39 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/0.5544, allocations: 2.844 MB / 457.4 MB, free: 9.402 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.5546, allocations: 15.88 kB / 457.4 MB, free: 9.387 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005134/0.5552, allocations: 0 / 457.4 MB, free: 9.387 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.5554, allocations: 124.8 kB / 457.5 MB, free: 9.262 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.5773, allocations: 9.93 MB / 467.4 MB, free: 15.01 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.5791, allocations: 0.8875 MB / 468.3 MB, free: 14.11 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5808, allocations: 0.7691 MB / 469.1 MB, free: 13.34 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.5813, allocations: 138 kB / 469.2 MB, free: 13.18 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5813, allocations: 51.47 kB / 469.3 MB, free: 13.12 MB / 376.6 MB Notification: Performance of pre-optimization done (n=105): time 4.819e-06/0.5814, allocations: 0 / 469.3 MB, free: 13.12 MB / 376.6 MB Notification: Performance of matching and sorting (n=135): time 0.01391/0.5954, allocations: 5.165 MB / 474.4 MB, free: 7.891 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5955, allocations: 64.72 kB / 474.5 MB, free: 7.816 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.5983, allocations: 1.292 MB / 475.8 MB, free: 6.52 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.5986, allocations: 33.64 kB / 475.8 MB, free: 6.48 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/0.5994, allocations: 1.016 MB / 476.9 MB, free: 5.445 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.6, allocations: 453.3 kB / 477.3 MB, free: 4.996 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.6001, allocations: 0 / 477.3 MB, free: 4.996 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6003, allocations: 373.9 kB / 477.7 MB, free: 4.625 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.6018, allocations: 0.7693 MB / 478.4 MB, free: 3.855 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.6039, allocations: 1.276 MB / 479.7 MB, free: 2.355 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.606, allocations: 1.009 MB / 480.7 MB, free: 1.344 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.6061, allocations: 4 kB / 480.7 MB, free: 1.34 MB / 376.6 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005921/0.6121, allocations: 2.37 MB / 483.1 MB, free: 14.95 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6122, allocations: 8 kB / 483.1 MB, free: 14.94 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.6123, allocations: 19.98 kB / 483.1 MB, free: 14.92 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008558/0.6132, allocations: 239.7 kB / 483.4 MB, free: 14.68 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.6158, allocations: 431.3 kB / 483.8 MB, free: 14.25 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.619, allocations: 2.84 MB / 486.6 MB, free: 11.19 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.6213, allocations: 67.78 kB / 486.7 MB, free: 11.12 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/0.6218, allocations: 83.91 kB / 486.8 MB, free: 11.04 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.622, allocations: 75.28 kB / 486.8 MB, free: 10.96 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/0.6226, allocations: 173.8 kB / 487 MB, free: 10.79 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.6275, allocations: 2.051 MB / 489.1 MB, free: 8.715 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.6276, allocations: 20 kB / 489.1 MB, free: 8.695 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6277, allocations: 0 / 489.1 MB, free: 8.695 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.6277, allocations: 3.984 kB / 489.1 MB, free: 8.691 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.6388, allocations: 4.5 MB / 493.6 MB, free: 4.098 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.6389, allocations: 4 kB / 493.6 MB, free: 4.094 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.6409, allocations: 275.6 kB / 493.9 MB, free: 3.824 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008074/0.6418, allocations: 203.6 kB / 494 MB, free: 3.613 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.6421, allocations: 11.89 kB / 494.1 MB, free: 3.602 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.645, allocations: 2.809 MB / 496.9 MB, free: 0.5586 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/0.6452, allocations: 4 kB / 496.9 MB, free: 0.5547 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1279/0.7731, allocations: 3.403 MB / 0.4886 GB, free: 130.9 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.7744, allocations: 428.2 kB / 0.489 GB, free: 130.8 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/0.775, allocations: 3.875 kB / 0.489 GB, free: 130.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.7766, allocations: 56.75 kB / 0.489 GB, free: 130.8 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.7769, allocations: 68.03 kB / 0.4891 GB, free: 130.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.7771, allocations: 37.17 kB / 0.4891 GB, free: 130.8 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001839/0.779, allocations: 0.9678 MB / 0.4901 GB, free: 130.7 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002283/0.7814, allocations: 457.5 kB / 0.4905 GB, free: 130.7 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004817/0.7819, allocations: 319.6 kB / 0.4908 GB, free: 130.6 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.7863, allocations: 2.327 MB / 0.4931 GB, free: 130.2 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.7864, allocations: 0 / 0.4931 GB, free: 130.2 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.7888, allocations: 1.338 MB / 0.4944 GB, free: 129.8 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.7917, allocations: 365.2 kB / 0.4947 GB, free: 129.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009671/0.8014, allocations: 3.923 MB / 0.4986 GB, free: 128.9 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003273/0.8048, allocations: 2.209 MB / 0.5007 GB, free: 128.2 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.8049, allocations: 0 / 0.5007 GB, free: 128.2 MB / 392.6 MB Notification: Performance of Templates: time 0.1013/0.9063, allocations: 23.55 MB / 0.5237 GB, free: 126.9 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