Notification: Performance of loadModel(Modelica): time 1.507/1.507, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.569e-06, allocations: 1 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06085/0.06093, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.2966, allocations: 87.8 MB / 379.5 MB, free: 5.168 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.2969, allocations: 96.23 kB / 379.6 MB, free: 5.148 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09166/0.3886, allocations: 22.52 MB / 402.2 MB, free: 12.39 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.287e-05/0.3888, allocations: 24 kB / 402.2 MB, free: 12.36 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001789/0.3907, allocations: 0.9921 MB / 403.2 MB, free: 11.39 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3908, allocations: 12.03 kB / 403.2 MB, free: 11.38 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.3917, allocations: 150.7 kB / 403.3 MB, free: 11.23 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.3936, allocations: 0.6803 MB / 404 MB, free: 10.66 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.3937, allocations: 28 kB / 404 MB, free: 10.63 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3939, allocations: 54.91 kB / 404.1 MB, free: 10.58 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/0.3951, allocations: 426.3 kB / 404.5 MB, free: 10.33 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.3967, allocations: 0.6239 MB / 405.1 MB, free: 9.855 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.3968, allocations: 19.52 kB / 405.1 MB, free: 9.84 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.3969, allocations: 0 / 405.1 MB, free: 9.84 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.397, allocations: 20 kB / 405.2 MB, free: 9.82 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/0.4021, allocations: 3.305 MB / 408.5 MB, free: 6.973 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4025, allocations: 127.1 kB / 408.6 MB, free: 6.883 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4027, allocations: 85.86 kB / 408.7 MB, free: 6.828 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4028, allocations: 4 kB / 408.7 MB, free: 6.824 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4029, allocations: 41.64 kB / 408.7 MB, free: 6.777 MB / 312.6 MB Notification: Performance of pre-optimization done (n=25): time 7.682e-06/0.403, allocations: 4 kB / 408.7 MB, free: 6.773 MB / 312.6 MB Notification: Performance of matching and sorting (n=28): time 0.001581/0.4046, allocations: 0.7625 MB / 409.5 MB, free: 6.055 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4047, allocations: 81.34 kB / 409.6 MB, free: 5.957 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.4057, allocations: 0.5205 MB / 410.1 MB, free: 5.562 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4058, allocations: 29.7 kB / 410.1 MB, free: 5.527 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4061, allocations: 418.7 kB / 410.5 MB, free: 5.16 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.4062, allocations: 106.5 kB / 410.6 MB, free: 5.07 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.4063, allocations: 4 kB / 410.6 MB, free: 5.066 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.4064, allocations: 376.6 kB / 411 MB, free: 4.715 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4067, allocations: 92.94 kB / 411.1 MB, free: 4.664 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.4071, allocations: 378.7 kB / 411.5 MB, free: 4.207 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4074, allocations: 166.6 kB / 411.6 MB, free: 4.094 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-06/0.4075, allocations: 4 kB / 411.6 MB, free: 4.09 MB / 312.6 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001245/0.4088, allocations: 0.4896 MB / 412.1 MB, free: 3.676 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4089, allocations: 7.938 kB / 412.1 MB, free: 3.668 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.409, allocations: 12 kB / 412.1 MB, free: 3.656 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.4092, allocations: 36.34 kB / 412.2 MB, free: 3.621 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.4099, allocations: 139 kB / 412.3 MB, free: 3.488 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.4109, allocations: 1.247 MB / 413.6 MB, free: 2.156 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.4117, allocations: 28.14 kB / 413.6 MB, free: 2.129 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.4118, allocations: 30.38 kB / 413.6 MB, free: 2.105 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.4119, allocations: 79.19 kB / 413.7 MB, free: 2.027 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4121, allocations: 63.25 kB / 413.8 MB, free: 1.965 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.4128, allocations: 258.3 kB / 414 MB, free: 1.766 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-06/0.4128, allocations: 7.984 kB / 414 MB, free: 1.758 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/0.4129, allocations: 0 / 414 MB, free: 1.758 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-06/0.413, allocations: 4 kB / 414 MB, free: 1.754 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4146, allocations: 0.9132 MB / 414.9 MB, free: 0.9961 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-06/0.4147, allocations: 4 kB / 414.9 MB, free: 0.9922 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.4151, allocations: 63.09 kB / 415 MB, free: 0.9336 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.4153, allocations: 24.22 kB / 415 MB, free: 0.9102 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.4154, allocations: 7.906 kB / 415 MB, free: 0.9023 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000969/0.4164, allocations: 1.228 MB / 416.3 MB, free: 15.59 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.87e-06/0.4165, allocations: 4.031 kB / 416.3 MB, free: 15.59 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000902/0.4175, allocations: 0.5604 MB / 416.8 MB, free: 15.04 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.418, allocations: 166.8 kB / 417 MB, free: 14.88 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4182, allocations: 0 / 417 MB, free: 14.88 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.4187, allocations: 31.91 kB / 417 MB, free: 14.84 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.4189, allocations: 19.92 kB / 417 MB, free: 14.83 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4189, allocations: 11.94 kB / 417 MB, free: 14.82 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0006031/0.4196, allocations: 393.1 kB / 417.4 MB, free: 14.55 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.000948/0.4206, allocations: 154.9 kB / 417.6 MB, free: 14.4 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/0.421, allocations: 221 kB / 417.8 MB, free: 14.21 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0007725/0.4218, allocations: 385.8 kB / 418.2 MB, free: 13.89 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.4219, allocations: 0 / 418.2 MB, free: 13.89 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.4223, allocations: 211.9 kB / 418.4 MB, free: 13.71 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/0.4233, allocations: 147.7 kB / 418.5 MB, free: 13.6 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.4258, allocations: 0.9945 MB / 419.5 MB, free: 12.63 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.4264, allocations: 1.009 MB / 420.5 MB, free: 11.59 MB / 328.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4265, allocations: 0 / 420.5 MB, free: 11.59 MB / 328.6 MB Notification: Performance of Templates: time 0.08546/0.512, allocations: 7.212 MB / 427.7 MB, free: 4.484 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_DCMachines_DCPM_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_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.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_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.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.DCMachines.DCPM_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_DCMachines_DCPM_Start_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.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:564:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_88(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:565:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_90(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:566:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_91(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:567:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_93(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:568:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_94(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.DCMachines.DCPM_Start.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o] Error 1