Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.778e-06, allocations: 2.094 kB / 247.4 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06006/0.06014, allocations: 44.37 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/0.2993, allocations: 91.87 MB / 383.6 MB, free: 4.098 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.2997, allocations: 88.5 kB / 383.7 MB, free: 4.082 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1018/0.4016, allocations: 25.73 MB / 409.4 MB, free: 6.867 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.699e-05/0.4017, allocations: 20 kB / 409.4 MB, free: 6.848 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002008/0.4038, allocations: 1.123 MB / 410.6 MB, free: 5.746 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4039, allocations: 8.031 kB / 410.6 MB, free: 5.738 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/0.4048, allocations: 178.4 kB / 410.8 MB, free: 5.562 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4068, allocations: 0.7624 MB / 411.5 MB, free: 4.938 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.4069, allocations: 36 kB / 411.6 MB, free: 4.902 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.4071, allocations: 63.84 kB / 411.6 MB, free: 4.84 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/0.4085, allocations: 0.5163 MB / 412.1 MB, free: 4.535 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.4103, allocations: 0.7341 MB / 412.9 MB, free: 3.992 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.4104, allocations: 4 kB / 412.9 MB, free: 3.988 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.4106, allocations: 4 kB / 412.9 MB, free: 3.984 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.4107, allocations: 27.91 kB / 412.9 MB, free: 3.957 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005853/0.4166, allocations: 3.768 MB / 416.7 MB, free: 0.7461 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.417, allocations: 136.7 kB / 416.8 MB, free: 0.6523 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.4173, allocations: 126.4 kB / 416.9 MB, free: 0.5703 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.4174, allocations: 11.59 kB / 416.9 MB, free: 0.5625 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4175, allocations: 38.84 kB / 417 MB, free: 0.5156 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 5.517e-06/0.4176, allocations: 0 / 417 MB, free: 0.5156 MB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.001979/0.4196, allocations: 0.8801 MB / 417.9 MB, free: 15.71 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4197, allocations: 81.11 kB / 417.9 MB, free: 15.61 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4209, allocations: 0.573 MB / 418.5 MB, free: 15.18 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.4209, allocations: 25.7 kB / 418.5 MB, free: 15.15 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.4212, allocations: 487.2 kB / 419 MB, free: 14.72 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.4214, allocations: 124 kB / 419.1 MB, free: 14.61 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.4214, allocations: 4 kB / 419.1 MB, free: 14.61 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4216, allocations: 387.1 kB / 419.5 MB, free: 14.25 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.4219, allocations: 107.5 kB / 419.6 MB, free: 14.19 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.4223, allocations: 420 kB / 420 MB, free: 13.7 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.4228, allocations: 193.7 kB / 420.2 MB, free: 13.57 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.448e-06/0.4228, allocations: 0 / 420.2 MB, free: 13.57 MB / 328.6 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001327/0.4242, allocations: 0.5628 MB / 420.8 MB, free: 13.1 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4243, allocations: 6.812 kB / 420.8 MB, free: 13.1 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4244, allocations: 12 kB / 420.8 MB, free: 13.09 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.4246, allocations: 32.59 kB / 420.8 MB, free: 13.05 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.4254, allocations: 170.8 kB / 421 MB, free: 12.89 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008878/0.4264, allocations: 1.241 MB / 422.2 MB, free: 11.57 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.4272, allocations: 27.89 kB / 422.3 MB, free: 11.54 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.4275, allocations: 34.75 kB / 422.3 MB, free: 11.51 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.4276, allocations: 75.28 kB / 422.4 MB, free: 11.44 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4278, allocations: 75.12 kB / 422.4 MB, free: 11.36 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.4286, allocations: 307.3 kB / 422.7 MB, free: 11.13 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-06/0.4287, allocations: 4 kB / 422.7 MB, free: 11.12 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-06/0.4288, allocations: 3.984 kB / 422.8 MB, free: 11.12 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.4288, allocations: 0 / 422.8 MB, free: 11.12 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.4308, allocations: 1.061 MB / 423.8 MB, free: 10.26 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-06/0.4309, allocations: 0 / 423.8 MB, free: 10.26 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.4314, allocations: 82.69 kB / 423.9 MB, free: 10.18 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.4316, allocations: 27.47 kB / 423.9 MB, free: 10.16 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4317, allocations: 5.25 kB / 423.9 MB, free: 10.15 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4328, allocations: 1.221 MB / 425.1 MB, free: 8.855 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.381e-06/0.4328, allocations: 4.031 kB / 425.1 MB, free: 8.852 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008916/0.4338, allocations: 0.644 MB / 425.8 MB, free: 8.242 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.4342, allocations: 172.2 kB / 426 MB, free: 8.078 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.4344, allocations: 4 kB / 426 MB, free: 8.074 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.435, allocations: 35.97 kB / 426 MB, free: 8.039 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.4351, allocations: 19.66 kB / 426 MB, free: 8.023 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4352, allocations: 10.25 kB / 426 MB, free: 8.016 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0007228/0.436, allocations: 432.7 kB / 426.5 MB, free: 7.719 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001024/0.4371, allocations: 189.5 kB / 426.6 MB, free: 7.535 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/0.4376, allocations: 241.7 kB / 426.9 MB, free: 7.316 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.4386, allocations: 440.9 kB / 427.3 MB, free: 6.926 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.33e-06/0.4386, allocations: 0 / 427.3 MB, free: 6.926 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.439, allocations: 229.5 kB / 427.5 MB, free: 6.691 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4402, allocations: 167.4 kB / 427.7 MB, free: 6.523 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.4433, allocations: 1.219 MB / 428.9 MB, free: 5.25 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/0.444, allocations: 1.07 MB / 430 MB, free: 4.152 MB / 328.6 MB Notification: Performance of SimCode: time 1.885e-06/0.4441, allocations: 0 / 430 MB, free: 4.152 MB / 328.6 MB Notification: Performance of Templates: time 0.09478/0.5389, allocations: 8.162 MB / 438.1 MB, free: 12.04 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_DCEE_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.DCEE_Start.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_DCEE_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.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:704:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_100(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:705:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_102(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:706:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_103(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:707:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_105(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:708:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_109(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.DCEE_Start.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o] Error 1