Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 194.5 MB / 200.7 MB, free: 5.145 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.847e-06/9.988e-06, allocations: 1.031 kB / 247.4 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06085/0.06095, allocations: 44.37 MB / 291.7 MB, free: 9.234 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.3007, allocations: 92.3 MB / 384 MB, free: 3.859 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.301, allocations: 86.47 kB / 384.1 MB, free: 3.844 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1104/0.4115, allocations: 27.65 MB / 411.8 MB, free: 4.734 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.09e-05/0.4116, allocations: 20 kB / 411.8 MB, free: 4.715 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002002/0.4137, allocations: 1.133 MB / 412.9 MB, free: 3.602 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4138, allocations: 8.031 kB / 412.9 MB, free: 3.594 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.4148, allocations: 194.4 kB / 413.1 MB, free: 3.402 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.4166, allocations: 0.7955 MB / 413.9 MB, free: 2.738 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/0.4168, allocations: 32 kB / 413.9 MB, free: 2.707 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.4171, allocations: 63.89 kB / 414 MB, free: 2.645 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/0.4185, allocations: 0.5293 MB / 414.5 MB, free: 2.332 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.4202, allocations: 0.755 MB / 415.3 MB, free: 1.77 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.4204, allocations: 11.8 kB / 415.3 MB, free: 1.762 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.4205, allocations: 0 / 415.3 MB, free: 1.762 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4206, allocations: 24 kB / 415.3 MB, free: 1.738 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.4271, allocations: 3.737 MB / 419.1 MB, free: 14.57 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.4275, allocations: 188 kB / 419.3 MB, free: 14.44 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.4283, allocations: 254.9 kB / 419.5 MB, free: 14.25 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.4284, allocations: 4 kB / 419.5 MB, free: 14.25 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4285, allocations: 41.75 kB / 419.5 MB, free: 14.2 MB / 328.6 MB Notification: Performance of pre-optimization done (n=42): time 3.911e-06/0.4285, allocations: 0 / 419.5 MB, free: 14.2 MB / 328.6 MB Notification: Performance of matching and sorting (n=47): time 0.002615/0.4312, allocations: 1.099 MB / 420.6 MB, free: 13.23 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4313, allocations: 89.23 kB / 420.7 MB, free: 13.13 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009578/0.4323, allocations: 0.5753 MB / 421.3 MB, free: 12.7 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.4324, allocations: 33.69 kB / 421.3 MB, free: 12.66 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.4329, allocations: 471.5 kB / 421.8 MB, free: 12.25 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.433, allocations: 157.7 kB / 422 MB, free: 12.11 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.4331, allocations: 0 / 422 MB, free: 12.11 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.4335, allocations: 384.4 kB / 422.3 MB, free: 11.76 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.4339, allocations: 135.5 kB / 422.5 MB, free: 11.68 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.4343, allocations: 426.7 kB / 422.9 MB, free: 11.21 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.4349, allocations: 217.9 kB / 423.1 MB, free: 11.07 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.727e-06/0.4349, allocations: 0 / 423.1 MB, free: 11.07 MB / 328.6 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001567/0.4365, allocations: 0.677 MB / 423.8 MB, free: 10.51 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4366, allocations: 4 kB / 423.8 MB, free: 10.51 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4367, allocations: 12 kB / 423.8 MB, free: 10.5 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.4372, allocations: 103.8 kB / 423.9 MB, free: 10.41 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.4379, allocations: 156.8 kB / 424 MB, free: 10.26 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.441, allocations: 2.891 MB / 426.9 MB, free: 7.273 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.442, allocations: 19.98 kB / 426.9 MB, free: 7.254 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.4421, allocations: 36 kB / 427 MB, free: 7.219 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.4422, allocations: 87.25 kB / 427.1 MB, free: 7.133 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.4424, allocations: 75.06 kB / 427.1 MB, free: 7.059 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4436, allocations: 452.8 kB / 427.6 MB, free: 6.594 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.451e-06/0.4436, allocations: 4 kB / 427.6 MB, free: 6.59 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-06/0.4437, allocations: 12 kB / 427.6 MB, free: 6.578 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-06/0.4438, allocations: 48 / 427.6 MB, free: 6.578 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.4464, allocations: 1.259 MB / 428.9 MB, free: 5.246 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.451e-06/0.4465, allocations: 7.984 kB / 428.9 MB, free: 5.238 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.447, allocations: 76.12 kB / 428.9 MB, free: 5.164 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.4474, allocations: 85.61 kB / 429 MB, free: 5.074 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.4475, allocations: 11.89 kB / 429 MB, free: 5.062 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.4503, allocations: 2.89 MB / 431.9 MB, free: 1.941 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.429e-06/0.4504, allocations: 8.094 kB / 431.9 MB, free: 1.934 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001406/0.4519, allocations: 0.8046 MB / 432.7 MB, free: 1.039 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.4524, allocations: 188.1 kB / 432.9 MB, free: 0.8359 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.4526, allocations: 8 kB / 432.9 MB, free: 0.8281 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.4533, allocations: 19.98 kB / 432.9 MB, free: 0.8086 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.4535, allocations: 39.8 kB / 433 MB, free: 0.7695 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.4536, allocations: 12 kB / 433 MB, free: 0.7578 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0007087/0.4543, allocations: 439.2 kB / 433.4 MB, free: 344 kB / 328.6 MB Notification: Performance of remove unused functions: time 0.001262/0.4557, allocations: 196 kB / 433.6 MB, free: 148 kB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004038/0.4561, allocations: 238.2 kB / 433.9 MB, free: 15.9 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4576, allocations: 0.6227 MB / 434.5 MB, free: 15.27 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 8.869e-06/0.4577, allocations: 4.688 kB / 434.5 MB, free: 15.26 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.4586, allocations: 403.9 kB / 434.9 MB, free: 14.85 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4602, allocations: 171 kB / 435 MB, free: 14.68 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.4632, allocations: 1.227 MB / 436.3 MB, free: 13.4 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/0.4642, allocations: 1.086 MB / 437.4 MB, free: 12.29 MB / 344.6 MB Notification: Performance of SimCode: time 4.12e-06/0.4643, allocations: 0 / 437.4 MB, free: 12.29 MB / 344.6 MB Notification: Performance of Templates: time 0.08391/0.5483, allocations: 9.397 MB / 446.8 MB, free: 2.949 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_DCSE_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -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.DCSE_Start.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_DCSE_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.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:811:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_113(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:812:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_117(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:813:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_118(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:814:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_119(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:815:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_121(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.DCSE_Start.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.o] Error 1