Notification: Performance of loadModel(Modelica): time 1.506/1.506, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.156 kB / 247.4 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06259/0.06266, allocations: 44.36 MB / 291.7 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.3002, allocations: 87.8 MB / 379.5 MB, free: 5.09 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3006, allocations: 88.59 kB / 379.6 MB, free: 5.074 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09222/0.3929, allocations: 22.54 MB / 402.2 MB, free: 12.39 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.987e-05/0.3931, allocations: 16 kB / 402.2 MB, free: 12.37 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001745/0.3949, allocations: 0.9966 MB / 403.2 MB, free: 11.39 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.395, allocations: 8.031 kB / 403.2 MB, free: 11.38 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.3957, allocations: 142.7 kB / 403.3 MB, free: 11.24 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.3974, allocations: 0.6844 MB / 404 MB, free: 10.67 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.3975, allocations: 28 kB / 404 MB, free: 10.64 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3977, allocations: 51.22 kB / 404.1 MB, free: 10.59 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/0.3989, allocations: 432.9 kB / 404.5 MB, free: 10.34 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.4003, allocations: 0.6262 MB / 405.1 MB, free: 9.863 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.4004, allocations: 11.84 kB / 405.1 MB, free: 9.852 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.4005, allocations: 0 / 405.1 MB, free: 9.852 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.4006, allocations: 20 kB / 405.2 MB, free: 9.832 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.4059, allocations: 3.304 MB / 408.5 MB, free: 6.988 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4064, allocations: 128.2 kB / 408.6 MB, free: 6.898 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.4066, allocations: 96 kB / 408.7 MB, free: 6.836 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4067, allocations: 4 kB / 408.7 MB, free: 6.832 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4068, allocations: 34.56 kB / 408.7 MB, free: 6.789 MB / 312.6 MB Notification: Performance of pre-optimization done (n=25): time 7.054e-06/0.4068, allocations: 0 / 408.7 MB, free: 6.789 MB / 312.6 MB Notification: Performance of matching and sorting (n=28): time 0.001583/0.4085, allocations: 0.7555 MB / 409.5 MB, free: 6.074 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.4086, allocations: 85.34 kB / 409.6 MB, free: 5.973 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/0.4095, allocations: 0.5275 MB / 410.1 MB, free: 5.57 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4096, allocations: 25.7 kB / 410.1 MB, free: 5.539 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.41, allocations: 430.2 kB / 410.5 MB, free: 5.164 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.4102, allocations: 95.5 kB / 410.6 MB, free: 5.082 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.4102, allocations: 0 / 410.6 MB, free: 5.082 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4104, allocations: 372.9 kB / 411 MB, free: 4.734 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.4107, allocations: 98.19 kB / 411.1 MB, free: 4.68 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.4111, allocations: 381.4 kB / 411.5 MB, free: 4.219 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.4115, allocations: 165.2 kB / 411.6 MB, free: 4.109 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-06/0.4116, allocations: 0 / 411.6 MB, free: 4.109 MB / 312.6 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001129/0.4127, allocations: 0.4917 MB / 412.1 MB, free: 3.691 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4128, allocations: 4 kB / 412.1 MB, free: 3.688 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4129, allocations: 12 kB / 412.1 MB, free: 3.676 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.4132, allocations: 32.84 kB / 412.2 MB, free: 3.641 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.4139, allocations: 155.2 kB / 412.3 MB, free: 3.496 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.4151, allocations: 1.244 MB / 413.6 MB, free: 2.172 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.416, allocations: 23.98 kB / 413.6 MB, free: 2.148 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.4161, allocations: 31.36 kB / 413.6 MB, free: 2.121 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.4162, allocations: 87.28 kB / 413.7 MB, free: 2.035 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4164, allocations: 63.25 kB / 413.8 MB, free: 1.973 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.4171, allocations: 259.7 kB / 414 MB, free: 1.77 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-06/0.4172, allocations: 4 kB / 414 MB, free: 1.766 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-06/0.4172, allocations: 0 / 414 MB, free: 1.766 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.892e-06/0.4173, allocations: 4 kB / 414 MB, free: 1.762 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.4191, allocations: 0.9122 MB / 414.9 MB, free: 1.004 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.937e-06/0.4192, allocations: 0 / 414.9 MB, free: 1.004 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.4197, allocations: 67.31 kB / 415 MB, free: 0.9414 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.4199, allocations: 24.53 kB / 415 MB, free: 0.918 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.42, allocations: 7.906 kB / 415 MB, free: 0.9102 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.4212, allocations: 1.219 MB / 416.2 MB, free: 15.61 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.4213, allocations: 7.969 kB / 416.3 MB, free: 15.61 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009235/0.4223, allocations: 0.563 MB / 416.8 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.4227, allocations: 167.6 kB / 417 MB, free: 14.89 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.4228, allocations: 4 kB / 417 MB, free: 14.89 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.4234, allocations: 23.92 kB / 417 MB, free: 14.86 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.201e-05/0.4236, allocations: 23.22 kB / 417 MB, free: 14.84 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4236, allocations: 12 kB / 417 MB, free: 14.83 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0006796/0.4244, allocations: 395.4 kB / 417.4 MB, free: 14.56 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001146/0.4256, allocations: 159.3 kB / 417.6 MB, free: 14.41 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002941/0.4259, allocations: 215.5 kB / 417.8 MB, free: 14.22 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0007687/0.4268, allocations: 378.1 kB / 418.2 MB, free: 13.91 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.4269, allocations: 4.25 kB / 418.2 MB, free: 13.91 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.4272, allocations: 211.4 kB / 418.4 MB, free: 13.73 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4283, allocations: 140.8 kB / 418.5 MB, free: 13.62 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.4307, allocations: 1.005 MB / 419.5 MB, free: 12.64 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/0.4315, allocations: 1.014 MB / 420.5 MB, free: 11.6 MB / 328.6 MB Notification: Performance of SimCode: time 1.955e-06/0.4316, allocations: 0 / 420.5 MB, free: 11.6 MB / 328.6 MB Notification: Performance of Templates: time 0.03774/0.4694, allocations: 7.206 MB / 427.7 MB, free: 4.5 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