Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.777e-06, allocations: 1.312 kB / 247.5 MB, free: 4.57 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06695/0.06703, allocations: 44.35 MB / 291.8 MB, free: 9.137 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.323, allocations: 103.8 MB / 395.7 MB, free: 15.23 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3234, allocations: 93.98 kB / 395.8 MB, free: 15.21 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2088/0.5322, allocations: 51.27 MB / 447 MB, free: 3.957 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.000231/0.5326, allocations: 75.88 kB / 447.1 MB, free: 3.883 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.007237/0.5398, allocations: 2.542 MB / 449.7 MB, free: 1.285 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.54, allocations: 11.97 kB / 449.7 MB, free: 1.273 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.542, allocations: 348.1 kB / 450 MB, free: 0.9297 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007168/0.5492, allocations: 1.908 MB / 451.9 MB, free: 14.96 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.5495, allocations: 80 kB / 452 MB, free: 14.88 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009711/0.5506, allocations: 156 kB / 452.1 MB, free: 14.73 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006856/0.5575, allocations: 2.384 MB / 454.5 MB, free: 12.34 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008598/0.5662, allocations: 2.844 MB / 457.4 MB, free: 9.352 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.5664, allocations: 4 kB / 457.4 MB, free: 9.348 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005596/0.567, allocations: 7.938 kB / 457.4 MB, free: 9.34 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.5673, allocations: 128.8 kB / 457.5 MB, free: 9.211 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0234/0.5907, allocations: 9.926 MB / 467.4 MB, free: 14.96 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.5927, allocations: 0.8831 MB / 468.3 MB, free: 14.06 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.5946, allocations: 0.7769 MB / 469.1 MB, free: 13.28 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.5951, allocations: 130.1 kB / 469.2 MB, free: 13.14 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5952, allocations: 52.11 kB / 469.3 MB, free: 13.08 MB / 376.6 MB Notification: Performance of pre-optimization done (n=105): time 6.984e-06/0.5953, allocations: 4 kB / 469.3 MB, free: 13.07 MB / 376.6 MB Notification: Performance of matching and sorting (n=135): time 0.01441/0.6097, allocations: 5.165 MB / 474.4 MB, free: 7.836 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/0.61, allocations: 68.72 kB / 474.5 MB, free: 7.758 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.6126, allocations: 1.296 MB / 475.8 MB, free: 6.457 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.6129, allocations: 25.7 kB / 475.8 MB, free: 6.426 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/0.6138, allocations: 1.02 MB / 476.9 MB, free: 5.391 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/0.6143, allocations: 449.3 kB / 477.3 MB, free: 4.945 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.6145, allocations: 0 / 477.3 MB, free: 4.945 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6147, allocations: 373.9 kB / 477.7 MB, free: 4.574 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6162, allocations: 0.7654 MB / 478.4 MB, free: 3.809 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.6181, allocations: 1.28 MB / 479.7 MB, free: 2.305 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.6201, allocations: 1.009 MB / 480.7 MB, free: 1.293 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.6201, allocations: 7.938 kB / 480.7 MB, free: 1.285 MB / 376.6 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008775/0.629, allocations: 2.366 MB / 483.1 MB, free: 14.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.6291, allocations: 4 kB / 483.1 MB, free: 14.89 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.308e-05/0.6293, allocations: 16.56 kB / 483.1 MB, free: 14.88 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.6308, allocations: 243.3 kB / 483.3 MB, free: 14.63 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/0.6354, allocations: 427.3 kB / 483.8 MB, free: 14.21 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.6402, allocations: 2.856 MB / 486.6 MB, free: 11.13 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.6438, allocations: 63.75 kB / 486.7 MB, free: 11.07 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/0.6444, allocations: 83.91 kB / 486.8 MB, free: 10.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.6447, allocations: 75.28 kB / 486.8 MB, free: 10.91 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008104/0.6456, allocations: 177.8 kB / 487 MB, free: 10.73 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007665/0.6534, allocations: 2.051 MB / 489.1 MB, free: 8.652 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.6535, allocations: 16 kB / 489.1 MB, free: 8.637 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.6536, allocations: 0 / 489.1 MB, free: 8.637 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.841e-05/0.6538, allocations: 7.969 kB / 489.1 MB, free: 8.629 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.6712, allocations: 4.496 MB / 493.6 MB, free: 4.039 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.6713, allocations: 4 kB / 493.6 MB, free: 4.035 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/0.6749, allocations: 275.6 kB / 493.9 MB, free: 3.766 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.6764, allocations: 199.6 kB / 494 MB, free: 3.559 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/0.6769, allocations: 11.89 kB / 494.1 MB, free: 3.547 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.6816, allocations: 2.816 MB / 496.9 MB, free: 0.5 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-05/0.6818, allocations: 12 kB / 496.9 MB, free: 500 kB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1228/0.8046, allocations: 3.403 MB / 0.4886 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8058, allocations: 422.4 kB / 0.489 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.8062, allocations: 11.08 kB / 0.489 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.8078, allocations: 56 kB / 0.489 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.808, allocations: 65.44 kB / 0.4891 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.8082, allocations: 40.77 kB / 0.4891 GB, free: 134.6 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001753/0.81, allocations: 0.9668 MB / 0.4901 GB, free: 134.4 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002189/0.8123, allocations: 451.5 kB / 0.4905 GB, free: 134.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.8128, allocations: 322.2 kB / 0.4908 GB, free: 134.4 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004124/0.817, allocations: 2.324 MB / 0.4931 GB, free: 134 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.8171, allocations: 3.25 kB / 0.4931 GB, free: 134 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.8194, allocations: 1.333 MB / 0.4944 GB, free: 133.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.8219, allocations: 366.9 kB / 0.4947 GB, free: 133.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/0.8306, allocations: 3.926 MB / 0.4986 GB, free: 132.7 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/0.8334, allocations: 2.205 MB / 0.5007 GB, free: 131.9 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.8335, allocations: 0 / 0.5007 GB, free: 131.9 MB / 392.6 MB Notification: Performance of Templates: time 0.1263/0.9598, allocations: 23.55 MB / 0.5237 GB, free: 130.7 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2195:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_239(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2196:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_240(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2197:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_241(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2198:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource_eqFunction_245(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.c:2199:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.o] Error 1