Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.359e-06, allocations: 1.25 kB / 247.4 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05979/0.05986, allocations: 44.36 MB / 291.7 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.3004, allocations: 92.3 MB / 384 MB, free: 3.762 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3007, allocations: 88.19 kB / 384.1 MB, free: 3.746 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.114/0.4148, allocations: 27.62 MB / 411.7 MB, free: 4.574 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.579e-05/0.415, allocations: 20 kB / 411.8 MB, free: 4.555 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002061/0.4171, allocations: 1.132 MB / 412.9 MB, free: 3.445 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4172, allocations: 12.03 kB / 412.9 MB, free: 3.434 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.4183, allocations: 186.4 kB / 413.1 MB, free: 3.25 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.4205, allocations: 0.8004 MB / 413.9 MB, free: 2.582 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.4207, allocations: 28 kB / 413.9 MB, free: 2.555 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.4209, allocations: 67.89 kB / 414 MB, free: 2.488 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001497/0.4225, allocations: 0.526 MB / 414.5 MB, free: 2.18 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.4243, allocations: 0.7519 MB / 415.3 MB, free: 1.621 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.4244, allocations: 11.98 kB / 415.3 MB, free: 1.609 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.4246, allocations: 0 / 415.3 MB, free: 1.609 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.4246, allocations: 24 kB / 415.3 MB, free: 1.586 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00686/0.4316, allocations: 3.739 MB / 419 MB, free: 14.41 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.4321, allocations: 191.3 kB / 419.2 MB, free: 14.29 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.4328, allocations: 257.8 kB / 419.5 MB, free: 14.09 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.4329, allocations: 8 kB / 419.5 MB, free: 14.09 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.4332, allocations: 34 kB / 419.5 MB, free: 14.05 MB / 328.6 MB Notification: Performance of pre-optimization done (n=42): time 4.47e-06/0.4333, allocations: 0 / 419.5 MB, free: 14.05 MB / 328.6 MB Notification: Performance of matching and sorting (n=47): time 0.00269/0.436, allocations: 1.096 MB / 420.6 MB, free: 13.08 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4361, allocations: 85.55 kB / 420.7 MB, free: 12.98 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4372, allocations: 0.5792 MB / 421.3 MB, free: 12.55 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.4373, allocations: 25.7 kB / 421.3 MB, free: 12.52 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4376, allocations: 477.9 kB / 421.8 MB, free: 12.1 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.438, allocations: 160 kB / 421.9 MB, free: 11.96 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.4381, allocations: 0 / 421.9 MB, free: 11.96 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4382, allocations: 385.3 kB / 422.3 MB, free: 11.61 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.4386, allocations: 136.8 kB / 422.4 MB, free: 11.53 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.4391, allocations: 428.4 kB / 422.9 MB, free: 11.05 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.4396, allocations: 214.3 kB / 423.1 MB, free: 10.91 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.146e-06/0.4397, allocations: 0 / 423.1 MB, free: 10.91 MB / 328.6 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001598/0.4413, allocations: 0.6712 MB / 423.7 MB, free: 10.36 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4414, allocations: 4 kB / 423.7 MB, free: 10.36 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4415, allocations: 12 kB / 423.8 MB, free: 10.35 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.442, allocations: 103.9 kB / 423.9 MB, free: 10.26 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.4428, allocations: 161.3 kB / 424 MB, free: 10.11 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.4459, allocations: 2.904 MB / 426.9 MB, free: 7.195 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/0.447, allocations: 23.98 kB / 426.9 MB, free: 7.172 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.4471, allocations: 33.62 kB / 427 MB, free: 7.145 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.4472, allocations: 79.19 kB / 427 MB, free: 7.066 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.4475, allocations: 79.06 kB / 427.1 MB, free: 6.988 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4487, allocations: 449.2 kB / 427.6 MB, free: 6.652 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.08e-06/0.4487, allocations: 4 kB / 427.6 MB, free: 6.648 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4488, allocations: 4 kB / 427.6 MB, free: 6.645 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.661e-06/0.4489, allocations: 3.906 kB / 427.6 MB, free: 6.641 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.4515, allocations: 1.268 MB / 428.8 MB, free: 5.316 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.4516, allocations: 0 / 428.8 MB, free: 5.316 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.4522, allocations: 80.19 kB / 428.9 MB, free: 5.238 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.4526, allocations: 89.58 kB / 429 MB, free: 5.145 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.4527, allocations: 7.984 kB / 429 MB, free: 5.137 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.4557, allocations: 2.89 MB / 431.9 MB, free: 2.016 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/0.4558, allocations: 3.906 kB / 431.9 MB, free: 2.012 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001385/0.4572, allocations: 0.8085 MB / 432.7 MB, free: 1.113 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.4577, allocations: 188.1 kB / 432.9 MB, free: 0.9102 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.4579, allocations: 4 kB / 432.9 MB, free: 0.9062 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.4586, allocations: 23.98 kB / 432.9 MB, free: 0.8828 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.4588, allocations: 31.92 kB / 433 MB, free: 0.8516 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.4589, allocations: 20 kB / 433 MB, free: 0.832 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0007159/0.4596, allocations: 439.2 kB / 433.4 MB, free: 420 kB / 328.6 MB Notification: Performance of remove unused functions: time 0.001233/0.4609, allocations: 192 kB / 433.6 MB, free: 228 kB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003681/0.4614, allocations: 234.2 kB / 433.8 MB, free: 15.98 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.4629, allocations: 0.6311 MB / 434.5 MB, free: 15.34 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 8.451e-06/0.463, allocations: 0 / 434.5 MB, free: 15.34 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.4638, allocations: 408.1 kB / 434.9 MB, free: 14.92 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4654, allocations: 166.8 kB / 435 MB, free: 14.76 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.4685, allocations: 1.239 MB / 436.3 MB, free: 13.46 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/0.4695, allocations: 1.085 MB / 437.3 MB, free: 12.36 MB / 344.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4695, allocations: 0 / 437.3 MB, free: 12.36 MB / 344.6 MB Notification: Performance of Templates: time 0.07869/0.5483, allocations: 9.393 MB / 446.7 MB, free: 3.02 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