Notification: Performance of loadModel(Modelica): time 1.535/1.535, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.987e-06, allocations: 1.156 kB / 247.4 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06145/0.06153, allocations: 44.36 MB / 291.7 MB, free: 9.258 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.3037, allocations: 87.81 MB / 379.5 MB, free: 5.141 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3041, allocations: 87.97 kB / 379.6 MB, free: 5.125 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0929/0.3971, allocations: 22.53 MB / 402.2 MB, free: 12.41 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.273e-05/0.3973, allocations: 16 kB / 402.2 MB, free: 12.39 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002051/0.3994, allocations: 0.9913 MB / 403.2 MB, free: 11.41 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3995, allocations: 12.02 kB / 403.2 MB, free: 11.4 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.4004, allocations: 146.7 kB / 403.3 MB, free: 11.26 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.4021, allocations: 0.6824 MB / 404 MB, free: 10.68 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.4022, allocations: 31.98 kB / 404 MB, free: 10.65 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.4024, allocations: 47.91 kB / 404.1 MB, free: 10.61 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001177/0.4037, allocations: 433.7 kB / 404.5 MB, free: 10.36 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4053, allocations: 0.6291 MB / 405.1 MB, free: 9.875 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.4054, allocations: 11.84 kB / 405.2 MB, free: 9.863 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.4055, allocations: 0 / 405.2 MB, free: 9.863 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.4056, allocations: 20 kB / 405.2 MB, free: 9.844 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.4109, allocations: 3.309 MB / 408.5 MB, free: 6.996 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.4112, allocations: 127.6 kB / 408.6 MB, free: 6.906 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.4115, allocations: 86.48 kB / 408.7 MB, free: 6.852 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.4116, allocations: 8.078 kB / 408.7 MB, free: 6.844 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.4117, allocations: 41.81 kB / 408.7 MB, free: 6.797 MB / 312.6 MB Notification: Performance of pre-optimization done (n=25): time 4.469e-06/0.4117, allocations: 4 kB / 408.7 MB, free: 6.793 MB / 312.6 MB Notification: Performance of matching and sorting (n=28): time 0.001557/0.4133, allocations: 0.7543 MB / 409.5 MB, free: 6.078 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4134, allocations: 81.34 kB / 409.6 MB, free: 5.98 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.4145, allocations: 0.5236 MB / 410.1 MB, free: 5.582 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4146, allocations: 25.7 kB / 410.1 MB, free: 5.551 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4148, allocations: 426 kB / 410.5 MB, free: 5.18 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.415, allocations: 102.2 kB / 410.6 MB, free: 5.09 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.4151, allocations: 0 / 410.6 MB, free: 5.09 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4152, allocations: 374.1 kB / 411 MB, free: 4.742 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.4155, allocations: 92.69 kB / 411.1 MB, free: 4.691 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.4159, allocations: 379.1 kB / 411.5 MB, free: 4.234 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.4163, allocations: 162.2 kB / 411.6 MB, free: 4.125 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.936e-06/0.4164, allocations: 7.938 kB / 411.6 MB, free: 4.117 MB / 312.6 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00128/0.4177, allocations: 499.1 kB / 412.1 MB, free: 3.703 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4178, allocations: 4 kB / 412.1 MB, free: 3.699 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4179, allocations: 12.81 kB / 412.1 MB, free: 3.688 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.4181, allocations: 42.97 kB / 412.2 MB, free: 3.648 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.4188, allocations: 142.7 kB / 412.3 MB, free: 3.512 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009601/0.4198, allocations: 1.237 MB / 413.6 MB, free: 2.191 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.4207, allocations: 28.14 kB / 413.6 MB, free: 2.164 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.4208, allocations: 31.38 kB / 413.6 MB, free: 2.137 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.4209, allocations: 87.12 kB / 413.7 MB, free: 2.051 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4211, allocations: 63.25 kB / 413.8 MB, free: 1.988 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.4217, allocations: 258.1 kB / 414 MB, free: 1.789 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4218, allocations: 4 kB / 414 MB, free: 1.785 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.425e-06/0.4219, allocations: 4 kB / 414 MB, free: 1.781 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-06/0.4219, allocations: 4 kB / 414 MB, free: 1.777 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4237, allocations: 0.9217 MB / 414.9 MB, free: 1.016 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-06/0.4238, allocations: 0 / 414.9 MB, free: 1.016 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.4242, allocations: 63.47 kB / 415 MB, free: 0.957 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.4244, allocations: 20.84 kB / 415 MB, free: 0.9336 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.4245, allocations: 15.56 kB / 415 MB, free: 0.9219 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/0.4256, allocations: 1.221 MB / 416.3 MB, free: 15.62 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.451e-06/0.4256, allocations: 4.031 kB / 416.3 MB, free: 15.62 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009295/0.4266, allocations: 0.5609 MB / 416.8 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.4272, allocations: 162.8 kB / 417 MB, free: 14.91 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4274, allocations: 11.92 kB / 417 MB, free: 14.89 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4279, allocations: 19.92 kB / 417 MB, free: 14.88 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4281, allocations: 19.55 kB / 417 MB, free: 14.86 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4282, allocations: 11.98 kB / 417 MB, free: 14.85 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0006208/0.4288, allocations: 394.9 kB / 417.4 MB, free: 14.57 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0009439/0.4298, allocations: 157.2 kB / 417.6 MB, free: 14.43 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003563/0.4303, allocations: 219.2 kB / 417.8 MB, free: 14.23 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.4312, allocations: 378.8 kB / 418.2 MB, free: 13.93 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4312, allocations: 0 / 418.2 MB, free: 13.93 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.4317, allocations: 212.5 kB / 418.4 MB, free: 13.74 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4328, allocations: 155.1 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.002559/0.4354, allocations: 0.9971 MB / 419.5 MB, free: 12.66 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/0.4361, allocations: 1.006 MB / 420.5 MB, free: 11.62 MB / 328.6 MB Notification: Performance of SimCode: time 2.445e-06/0.4362, allocations: 0 / 420.5 MB, free: 11.62 MB / 328.6 MB Notification: Performance of Templates: time 0.06065/0.4969, allocations: 7.202 MB / 427.7 MB, free: 4.52 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:564:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_88(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:565:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_90(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:566:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_91(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:567:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_93(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:568:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o] Error 1