Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.02e-05, allocations: 1.031 kB / 247.5 MB, free: 4.609 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06118/0.06126, allocations: 44.37 MB / 291.8 MB, free: 9.176 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.314, allocations: 103.9 MB / 395.7 MB, free: 15.02 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.3144, allocations: 90.41 kB / 395.8 MB, free: 15 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.1996/0.514, allocations: 51.26 MB / 447 MB, free: 3.945 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002185/0.5144, allocations: 75.88 kB / 447.1 MB, free: 3.871 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006577/0.521, allocations: 2.55 MB / 449.7 MB, free: 1.266 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5211, allocations: 8.031 kB / 449.7 MB, free: 1.258 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.5227, allocations: 348.1 kB / 450 MB, free: 0.9141 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/0.5284, allocations: 1.907 MB / 451.9 MB, free: 14.95 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5286, allocations: 84 kB / 452 MB, free: 14.87 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.5293, allocations: 148 kB / 452.1 MB, free: 14.72 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006061/0.5354, allocations: 2.384 MB / 454.5 MB, free: 12.33 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006745/0.5422, allocations: 2.844 MB / 457.4 MB, free: 9.344 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/0.5424, allocations: 7.984 kB / 457.4 MB, free: 9.336 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.5427, allocations: 4 kB / 457.4 MB, free: 9.332 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.5429, allocations: 120.8 kB / 457.5 MB, free: 9.211 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.5633, allocations: 9.946 MB / 467.4 MB, free: 14.94 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5652, allocations: 0.8798 MB / 468.3 MB, free: 14.05 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.5667, allocations: 0.7808 MB / 469.1 MB, free: 13.27 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/0.5673, allocations: 130 kB / 469.2 MB, free: 13.12 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5674, allocations: 51.47 kB / 469.3 MB, free: 13.06 MB / 376.6 MB Notification: Performance of pre-optimization done (n=105): time 6.984e-06/0.5675, allocations: 4 kB / 469.3 MB, free: 13.06 MB / 376.6 MB Notification: Performance of matching and sorting (n=135): time 0.01368/0.5812, allocations: 5.165 MB / 474.5 MB, free: 7.82 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.5813, allocations: 64.72 kB / 474.5 MB, free: 7.746 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.584, allocations: 1.292 MB / 475.8 MB, free: 6.449 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.5843, allocations: 25.7 kB / 475.8 MB, free: 6.418 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.5849, allocations: 1.02 MB / 476.9 MB, free: 5.383 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.5856, allocations: 453.3 kB / 477.3 MB, free: 4.934 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.5857, allocations: 0 / 477.3 MB, free: 4.934 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5859, allocations: 369.9 kB / 477.7 MB, free: 4.566 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.5874, allocations: 0.7693 MB / 478.4 MB, free: 3.797 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.5893, allocations: 1.28 MB / 479.7 MB, free: 2.289 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.5913, allocations: 1.009 MB / 480.7 MB, free: 1.277 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.5914, allocations: 4 kB / 480.7 MB, free: 1.273 MB / 376.6 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005816/0.5973, allocations: 2.374 MB / 483.1 MB, free: 14.88 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5974, allocations: 4 kB / 483.1 MB, free: 14.88 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/0.5975, allocations: 16 kB / 483.1 MB, free: 14.86 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.5985, allocations: 247.7 kB / 483.4 MB, free: 14.61 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.6013, allocations: 423.4 kB / 483.8 MB, free: 14.19 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.6041, allocations: 2.844 MB / 486.6 MB, free: 11.12 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.6063, allocations: 67.78 kB / 486.7 MB, free: 11.05 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.6066, allocations: 79.98 kB / 486.8 MB, free: 10.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.6068, allocations: 75.8 kB / 486.8 MB, free: 10.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.6072, allocations: 173.8 kB / 487 MB, free: 10.73 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004365/0.6116, allocations: 2.043 MB / 489 MB, free: 8.66 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.6117, allocations: 16 kB / 489.1 MB, free: 8.645 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6118, allocations: 11.92 kB / 489.1 MB, free: 8.633 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.6119, allocations: 3.984 kB / 489.1 MB, free: 8.629 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.6225, allocations: 4.5 MB / 493.6 MB, free: 4.035 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.6226, allocations: 0 / 493.6 MB, free: 4.035 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.6245, allocations: 275.6 kB / 493.8 MB, free: 3.766 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007975/0.6254, allocations: 207.5 kB / 494 MB, free: 3.551 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.6256, allocations: 11.91 kB / 494.1 MB, free: 3.539 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.6283, allocations: 2.812 MB / 496.9 MB, free: 0.4961 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.6284, allocations: 64 / 496.9 MB, free: 0.4961 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1237/0.7522, allocations: 3.4 MB / 0.4885 GB, free: 134.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.7534, allocations: 429.2 kB / 0.489 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.7538, allocations: 5.75 kB / 0.489 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.7552, allocations: 52.09 kB / 0.489 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.7555, allocations: 74.16 kB / 0.4891 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7557, allocations: 33.38 kB / 0.4891 GB, free: 134.4 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001694/0.7574, allocations: 0.967 MB / 0.4901 GB, free: 134.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002111/0.7596, allocations: 459.4 kB / 0.4905 GB, free: 134.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004615/0.7601, allocations: 322.8 kB / 0.4908 GB, free: 134.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004104/0.7643, allocations: 2.329 MB / 0.4931 GB, free: 133.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.774e-06/0.7644, allocations: 0 / 0.4931 GB, free: 133.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.7667, allocations: 1.335 MB / 0.4944 GB, free: 133.4 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.7693, allocations: 366 kB / 0.4947 GB, free: 133.4 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.7788, allocations: 3.921 MB / 0.4986 GB, free: 132.6 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003003/0.782, allocations: 2.208 MB / 0.5007 GB, free: 131.8 MB / 392.6 MB Notification: Performance of SimCode: time 2.933e-06/0.7821, allocations: 0 / 0.5007 GB, free: 131.8 MB / 392.6 MB Notification: Performance of Templates: time 0.1168/0.8989, allocations: 23.54 MB / 0.5237 GB, free: 130.6 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