Notification: Performance of loadModel(Modelica): time 1.466/1.466, allocations: 194.5 MB / 200.7 MB, free: 8.234 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.159e-05, allocations: 4 kB / 247.5 MB, free: 9.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06591/0.066, allocations: 44.36 MB / 291.9 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.3202, allocations: 107.2 MB / 399 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.3206, allocations: 89.08 kB / 399.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.229/0.5497, allocations: 56.58 MB / 455.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002937/0.5501, allocations: 83.88 kB / 455.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Generate backend data structure: time 0.008468/0.5586, allocations: 2.845 MB / 458.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5588, allocations: 12.02 kB / 458.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.561, allocations: 395.6 kB / 459 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006638/0.5677, allocations: 2.176 MB / 461.2 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.568, allocations: 96 kB / 461.3 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/0.569, allocations: 168 kB / 461.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007881/0.577, allocations: 2.713 MB / 464.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00961/0.5867, allocations: 3.211 MB / 467.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.5869, allocations: 15.84 kB / 467.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006851/0.5877, allocations: 4 kB / 467.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.5879, allocations: 137.4 kB / 467.5 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/0.6146, allocations: 11.09 MB / 478.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.617, allocations: 1.087 MB / 479.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.6193, allocations: 0.9819 MB / 480.7 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/0.6198, allocations: 142.3 kB / 480.8 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.6199, allocations: 47.81 kB / 480.9 MB, free: 11.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 6.984e-06/0.62, allocations: 0 / 480.9 MB, free: 11.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=153): time 0.01504/0.6351, allocations: 5.622 MB / 486.5 MB, free: 6.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.6352, allocations: 64.72 kB / 486.6 MB, free: 6.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.6381, allocations: 1.476 MB / 488 MB, free: 4.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.6385, allocations: 25.7 kB / 488.1 MB, free: 4.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/0.6393, allocations: 1.107 MB / 489.2 MB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.6399, allocations: 0.5042 MB / 489.7 MB, free: 3.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.6401, allocations: 4 kB / 489.7 MB, free: 3.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6403, allocations: 373.9 kB / 490.1 MB, free: 2.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.6422, allocations: 0.8591 MB / 490.9 MB, free: 1.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.6443, allocations: 1.389 MB / 492.3 MB, free: 252 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1504/0.7948, allocations: 1.097 MB / 493.4 MB, free: 78.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.7949, allocations: 6.188 kB / 493.4 MB, free: 78.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006577/0.8015, allocations: 2.849 MB / 496.3 MB, free: 78.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8016, allocations: 6.719 kB / 496.3 MB, free: 78.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.8017, allocations: 21.22 kB / 496.3 MB, free: 78.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.8037, allocations: 0.5377 MB / 496.8 MB, free: 78.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.8061, allocations: 424.7 kB / 497.2 MB, free: 78.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008819/0.8151, allocations: 5.721 MB / 0.4912 GB, free: 76.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.8177, allocations: 73.31 kB / 0.4912 GB, free: 76.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.8182, allocations: 79.62 kB / 0.4913 GB, free: 76.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.8184, allocations: 77.72 kB / 0.4914 GB, free: 76.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/0.819, allocations: 199.1 kB / 0.4916 GB, free: 76.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/0.8253, allocations: 2.551 MB / 0.4941 GB, free: 76.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.8255, allocations: 15.03 kB / 0.4941 GB, free: 76.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.8255, allocations: 8.625 kB / 0.4941 GB, free: 76.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.8256, allocations: 7.125 kB / 0.4941 GB, free: 76.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.8379, allocations: 5.293 MB / 0.4993 GB, free: 75.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.838, allocations: 7.188 kB / 0.4993 GB, free: 75.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.8398, allocations: 240.9 kB / 0.4995 GB, free: 75.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.842, allocations: 0.58 MB / 0.5001 GB, free: 75.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.8424, allocations: 13.88 kB / 0.5001 GB, free: 75.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.8526, allocations: 7.333 MB / 0.5072 GB, free: 72.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.8527, allocations: 7.312 kB / 0.5072 GB, free: 72.1 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007895/0.8607, allocations: 4.061 MB / 0.5112 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.8622, allocations: 476.5 kB / 0.5117 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/0.8628, allocations: 10.91 kB / 0.5117 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.8647, allocations: 59.31 kB / 0.5117 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.865, allocations: 79.45 kB / 0.5118 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.8652, allocations: 39.72 kB / 0.5118 GB, free: 71.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.002155/0.8674, allocations: 1.102 MB / 0.5129 GB, free: 71.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002781/0.8703, allocations: 0.5166 MB / 0.5134 GB, free: 71.15 MB / 398.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004714/0.8708, allocations: 333.9 kB / 0.5137 GB, free: 71.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004536/0.8755, allocations: 2.477 MB / 0.5162 GB, free: 70.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.8756, allocations: 3.719 kB / 0.5162 GB, free: 70.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.8786, allocations: 1.477 MB / 0.5176 GB, free: 70.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.8817, allocations: 399 kB / 0.518 GB, free: 70.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.8937, allocations: 4.609 MB / 0.5225 GB, free: 69.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004044/0.8978, allocations: 2.396 MB / 0.5248 GB, free: 68.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.584e-06/0.8979, allocations: 2.719 kB / 0.5248 GB, free: 68.65 MB / 398.1 MB Notification: Performance of Templates: time 0.1084/1.006, allocations: 28.03 MB / 0.5522 GB, free: 63.65 MB / 398.1 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2075:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_279(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2076:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_280(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2077:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_281(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2078:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_282(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.c:2079:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource_eqFunction_283(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.o] Error 1