Notification: Performance of loadModel(Modelica): time 1.562/1.562, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.041e-05, allocations: 5.062 kB / 247.4 MB, free: 4.637 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06209/0.06217, allocations: 44.36 MB / 291.7 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.3681, allocations: 91.87 MB / 383.6 MB, free: 4.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3684, allocations: 91.94 kB / 383.7 MB, free: 4.023 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1045/0.473, allocations: 25.73 MB / 409.4 MB, free: 6.844 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.713e-05/0.4732, allocations: 23.94 kB / 409.4 MB, free: 6.82 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001844/0.4751, allocations: 1.12 MB / 410.6 MB, free: 5.719 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4752, allocations: 8.031 kB / 410.6 MB, free: 5.711 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.4761, allocations: 182.3 kB / 410.7 MB, free: 5.531 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.4783, allocations: 0.7697 MB / 411.5 MB, free: 4.902 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.4784, allocations: 32 kB / 411.6 MB, free: 4.871 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4786, allocations: 63.89 kB / 411.6 MB, free: 4.809 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00135/0.48, allocations: 0.5157 MB / 412.1 MB, free: 4.504 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.4817, allocations: 0.7322 MB / 412.9 MB, free: 3.961 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.4818, allocations: 15.61 kB / 412.9 MB, free: 3.949 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.4819, allocations: 0 / 412.9 MB, free: 3.949 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.482, allocations: 27.91 kB / 412.9 MB, free: 3.922 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.4881, allocations: 3.76 MB / 416.7 MB, free: 0.7148 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.4885, allocations: 136.8 kB / 416.8 MB, free: 0.6211 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.4889, allocations: 131 kB / 416.9 MB, free: 0.5391 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.489, allocations: 8.281 kB / 416.9 MB, free: 0.5312 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4891, allocations: 38.78 kB / 417 MB, free: 496 kB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 3.701e-06/0.4892, allocations: 0 / 417 MB, free: 496 kB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.002031/0.4912, allocations: 0.876 MB / 417.8 MB, free: 15.68 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4914, allocations: 81.11 kB / 417.9 MB, free: 15.58 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.4924, allocations: 0.5801 MB / 418.5 MB, free: 15.14 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4926, allocations: 25.7 kB / 418.5 MB, free: 15.11 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.4929, allocations: 482.6 kB / 419 MB, free: 14.69 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4931, allocations: 131.4 kB / 419.1 MB, free: 14.57 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.4932, allocations: 0 / 419.1 MB, free: 14.57 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4934, allocations: 382.4 kB / 419.5 MB, free: 14.22 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.4938, allocations: 115 kB / 419.6 MB, free: 14.16 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.4944, allocations: 423.4 kB / 420 MB, free: 13.66 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.4949, allocations: 185 kB / 420.2 MB, free: 13.54 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.844e-06/0.4949, allocations: 4 kB / 420.2 MB, free: 13.54 MB / 328.6 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001249/0.4962, allocations: 0.5547 MB / 420.8 MB, free: 13.07 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4963, allocations: 6.969 kB / 420.8 MB, free: 13.07 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4964, allocations: 15.98 kB / 420.8 MB, free: 13.05 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.4966, allocations: 36.22 kB / 420.8 MB, free: 13.02 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.4974, allocations: 167.4 kB / 421 MB, free: 12.86 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4986, allocations: 1.242 MB / 422.2 MB, free: 11.54 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/0.4995, allocations: 27.89 kB / 422.3 MB, free: 11.52 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.4996, allocations: 39.53 kB / 422.3 MB, free: 11.48 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.4998, allocations: 79.27 kB / 422.4 MB, free: 11.41 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5, allocations: 79.06 kB / 422.5 MB, free: 11.33 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.5008, allocations: 301.2 kB / 422.7 MB, free: 11.1 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.892e-06/0.5008, allocations: 4 kB / 422.8 MB, free: 11.1 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-06/0.5009, allocations: 0 / 422.8 MB, free: 11.1 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-06/0.501, allocations: 0 / 422.8 MB, free: 11.1 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.5031, allocations: 1.066 MB / 423.8 MB, free: 10.23 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-06/0.5032, allocations: 4.219 kB / 423.8 MB, free: 10.23 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.5038, allocations: 83.27 kB / 423.9 MB, free: 10.15 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.5042, allocations: 16.86 kB / 423.9 MB, free: 10.13 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.5043, allocations: 3.25 kB / 423.9 MB, free: 10.13 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000828/0.5051, allocations: 1.228 MB / 425.1 MB, free: 8.828 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-06/0.5052, allocations: 160 / 425.2 MB, free: 8.828 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009633/0.5062, allocations: 0.6346 MB / 425.8 MB, free: 8.227 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.5068, allocations: 179.5 kB / 426 MB, free: 8.055 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.507, allocations: 8 kB / 426 MB, free: 8.047 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.5076, allocations: 28.72 kB / 426 MB, free: 8.02 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.5078, allocations: 23.41 kB / 426 MB, free: 8 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.5079, allocations: 18 kB / 426 MB, free: 7.984 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.000759/0.5087, allocations: 429.5 kB / 426.5 MB, free: 7.691 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001139/0.5099, allocations: 189.2 kB / 426.6 MB, free: 7.512 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003387/0.5103, allocations: 231.8 kB / 426.9 MB, free: 7.293 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0009864/0.5114, allocations: 447.2 kB / 427.3 MB, free: 6.895 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.5114, allocations: 0 / 427.3 MB, free: 6.895 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.5119, allocations: 227.7 kB / 427.5 MB, free: 6.664 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5132, allocations: 159.4 kB / 427.7 MB, free: 6.504 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.5163, allocations: 1.215 MB / 428.9 MB, free: 5.234 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/0.5172, allocations: 1.073 MB / 430 MB, free: 4.133 MB / 328.6 MB Notification: Performance of SimCode: time 2.166e-06/0.5173, allocations: 0 / 430 MB, free: 4.133 MB / 328.6 MB Notification: Performance of Templates: time 0.06597/0.5833, allocations: 8.164 MB / 438.1 MB, free: 12.02 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:704:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_100(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:705:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_102(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:706:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_103(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:707:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_105(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:708:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o] Error 1