Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.499e-06/9.568e-06, allocations: 2.094 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05914/0.05921, allocations: 44.36 MB / 291.7 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.2959, allocations: 91.87 MB / 383.6 MB, free: 4.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.2962, allocations: 90.31 kB / 383.7 MB, free: 4.004 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1012/0.3975, allocations: 25.73 MB / 409.4 MB, free: 6.805 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.174e-05/0.3977, allocations: 20.62 kB / 409.4 MB, free: 6.785 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001797/0.3996, allocations: 1.119 MB / 410.6 MB, free: 5.688 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3997, allocations: 12.03 kB / 410.6 MB, free: 5.676 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.4006, allocations: 178.3 kB / 410.7 MB, free: 5.5 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.4027, allocations: 0.7684 MB / 411.5 MB, free: 4.867 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.4028, allocations: 28 kB / 411.5 MB, free: 4.84 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.403, allocations: 63.78 kB / 411.6 MB, free: 4.781 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/0.4044, allocations: 0.5102 MB / 412.1 MB, free: 4.48 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.4061, allocations: 0.7485 MB / 412.9 MB, free: 3.922 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.4062, allocations: 0 / 412.9 MB, free: 3.922 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.4064, allocations: 0 / 412.9 MB, free: 3.922 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.4065, allocations: 27.91 kB / 412.9 MB, free: 3.895 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006099/0.4126, allocations: 3.763 MB / 416.7 MB, free: 0.6875 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.4131, allocations: 140.5 kB / 416.8 MB, free: 0.5898 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.4134, allocations: 136.6 kB / 416.9 MB, free: 0.5 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.4136, allocations: 288 / 416.9 MB, free: 0.5 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4137, allocations: 46.39 kB / 417 MB, free: 460 kB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 3.073e-06/0.4137, allocations: 0 / 417 MB, free: 460 kB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.002014/0.4158, allocations: 0.8772 MB / 417.8 MB, free: 15.64 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4159, allocations: 81.11 kB / 417.9 MB, free: 15.54 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.417, allocations: 0.5779 MB / 418.5 MB, free: 15.11 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.4171, allocations: 25.7 kB / 418.5 MB, free: 15.08 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.4175, allocations: 484.4 kB / 419 MB, free: 14.65 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4177, allocations: 128.7 kB / 419.1 MB, free: 14.54 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4178, allocations: 0 / 419.1 MB, free: 14.54 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0003484/0.4182, allocations: 386 kB / 419.5 MB, free: 14.19 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.4185, allocations: 112.6 kB / 419.6 MB, free: 14.12 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.419, allocations: 413.8 kB / 420 MB, free: 13.64 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.4194, allocations: 194.8 kB / 420.2 MB, free: 13.51 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.914e-06/0.4195, allocations: 4 kB / 420.2 MB, free: 13.5 MB / 328.6 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001232/0.4208, allocations: 0.5503 MB / 420.8 MB, free: 13.04 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4208, allocations: 6.969 kB / 420.8 MB, free: 13.04 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4209, allocations: 12 kB / 420.8 MB, free: 13.03 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.4212, allocations: 35.59 kB / 420.8 MB, free: 12.99 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.422, allocations: 169.5 kB / 421 MB, free: 12.83 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.4232, allocations: 1.245 MB / 422.2 MB, free: 11.51 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.4242, allocations: 27.98 kB / 422.3 MB, free: 11.48 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.4243, allocations: 43.06 kB / 422.3 MB, free: 11.45 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.4244, allocations: 75.28 kB / 422.4 MB, free: 11.38 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4246, allocations: 75.06 kB / 422.4 MB, free: 11.3 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.4254, allocations: 298.3 kB / 422.7 MB, free: 11.08 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-06/0.4255, allocations: 4 kB / 422.7 MB, free: 11.07 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4256, allocations: 0 / 422.7 MB, free: 11.07 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4256, allocations: 4 kB / 422.7 MB, free: 11.07 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.4278, allocations: 1.065 MB / 423.8 MB, free: 10.21 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.753e-06/0.4279, allocations: 8.031 kB / 423.8 MB, free: 10.2 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.4285, allocations: 78.52 kB / 423.9 MB, free: 10.12 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.4287, allocations: 20.67 kB / 423.9 MB, free: 10.11 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4288, allocations: 15.86 kB / 423.9 MB, free: 10.09 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008262/0.4296, allocations: 1.218 MB / 425.1 MB, free: 8.797 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4297, allocations: 12.16 kB / 425.2 MB, free: 8.785 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001103/0.4309, allocations: 0.6254 MB / 425.8 MB, free: 8.191 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.4313, allocations: 179.1 kB / 426 MB, free: 8.02 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4315, allocations: 12.92 kB / 426 MB, free: 8.008 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.4321, allocations: 19.98 kB / 426 MB, free: 7.988 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.4322, allocations: 27.78 kB / 426 MB, free: 7.965 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.4323, allocations: 10.38 kB / 426 MB, free: 7.957 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0007463/0.4331, allocations: 436.8 kB / 426.5 MB, free: 7.656 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001049/0.4342, allocations: 177.2 kB / 426.6 MB, free: 7.488 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.4346, allocations: 237.3 kB / 426.9 MB, free: 7.27 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.4356, allocations: 444.2 kB / 427.3 MB, free: 6.883 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.098e-06/0.4357, allocations: 2.125 kB / 427.3 MB, free: 6.883 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.4361, allocations: 233.5 kB / 427.5 MB, free: 6.645 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4374, allocations: 159.3 kB / 427.7 MB, free: 6.484 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.4405, allocations: 1.219 MB / 428.9 MB, free: 5.211 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.4414, allocations: 1.07 MB / 430 MB, free: 4.113 MB / 328.6 MB Notification: Performance of SimCode: time 2.095e-06/0.4415, allocations: 0 / 430 MB, free: 4.113 MB / 328.6 MB Notification: Performance of Templates: time 0.05071/0.4922, allocations: 8.182 MB / 438.2 MB, free: 11.98 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