Notification: Performance of loadModel(Modelica): time 1.488/1.488, allocations: 194.5 MB / 200.7 MB, free: 7.793 MB / 171.1 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.94e-06, allocations: 1.406 kB / 247.4 MB, free: 5.68 MB / 203.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06356/0.06364, allocations: 44.37 MB / 291.7 MB, free: 12.12 MB / 251.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.3131, allocations: 92.29 MB / 384 MB, free: 5.59 MB / 299.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3134, allocations: 82.23 kB / 384.1 MB, free: 5.574 MB / 299.1 MB Notification: Performance of FrontEnd: time 0.1133/0.4268, allocations: 27.63 MB / 411.8 MB, free: 8.332 MB / 315.1 MB Notification: Performance of Transformations before backend: time 6.432e-05/0.427, allocations: 23.83 kB / 411.8 MB, free: 8.312 MB / 315.1 MB Notification: Performance of Generate backend data structure: time 0.002268/0.4293, allocations: 1.121 MB / 412.9 MB, free: 7.207 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4294, allocations: 8.031 kB / 412.9 MB, free: 7.199 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4306, allocations: 198.4 kB / 413.1 MB, free: 7.004 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.4327, allocations: 0.7998 MB / 413.9 MB, free: 6.352 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.4329, allocations: 32 kB / 413.9 MB, free: 6.32 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.4331, allocations: 67.89 kB / 414 MB, free: 6.254 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001669/0.4348, allocations: 0.5253 MB / 414.5 MB, free: 5.945 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.4367, allocations: 0.7616 MB / 415.3 MB, free: 5.379 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/0.4369, allocations: 4 kB / 415.3 MB, free: 5.375 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.4371, allocations: 0 / 415.3 MB, free: 5.375 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.4371, allocations: 24 kB / 415.3 MB, free: 5.352 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006905/0.4441, allocations: 3.736 MB / 419 MB, free: 2.215 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.4448, allocations: 189.2 kB / 419.2 MB, free: 2.086 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.4455, allocations: 260.7 kB / 419.5 MB, free: 1.895 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.4457, allocations: 8 kB / 419.5 MB, free: 1.887 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4457, allocations: 36.5 kB / 419.5 MB, free: 1.848 MB / 315.1 MB Notification: Performance of pre-optimization done (n=42): time 4.12e-06/0.4458, allocations: 0 / 419.5 MB, free: 1.848 MB / 315.1 MB Notification: Performance of matching and sorting (n=47): time 0.002681/0.4485, allocations: 1.095 MB / 420.6 MB, free: 0.8867 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.4487, allocations: 89.53 kB / 420.7 MB, free: 0.7812 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.4497, allocations: 0.582 MB / 421.3 MB, free: 356 kB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.4499, allocations: 25.7 kB / 421.3 MB, free: 324 kB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4503, allocations: 472.5 kB / 421.8 MB, free: 15.9 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.4505, allocations: 159.7 kB / 421.9 MB, free: 15.76 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4506, allocations: 0 / 421.9 MB, free: 15.76 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0003668/0.451, allocations: 380.9 kB / 422.3 MB, free: 15.41 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.4514, allocations: 135.9 kB / 422.4 MB, free: 15.33 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.4519, allocations: 433 kB / 422.9 MB, free: 14.86 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.4525, allocations: 216.8 kB / 423.1 MB, free: 14.71 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-06/0.4525, allocations: 0 / 423.1 MB, free: 14.71 MB / 331.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001626/0.4542, allocations: 0.6695 MB / 423.7 MB, free: 14.17 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4543, allocations: 4 kB / 423.7 MB, free: 14.16 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4544, allocations: 12 kB / 423.8 MB, free: 14.15 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004201/0.4549, allocations: 105.5 kB / 423.9 MB, free: 14.06 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.4557, allocations: 155 kB / 424 MB, free: 13.91 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.4589, allocations: 2.908 MB / 426.9 MB, free: 11 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.4599, allocations: 23.98 kB / 426.9 MB, free: 10.98 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.4601, allocations: 31.31 kB / 427 MB, free: 10.95 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/0.4602, allocations: 83.25 kB / 427.1 MB, free: 10.87 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.4604, allocations: 82.38 kB / 427.1 MB, free: 10.79 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4616, allocations: 441.3 kB / 427.6 MB, free: 10.46 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.079e-06/0.4617, allocations: 8 kB / 427.6 MB, free: 10.45 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.4617, allocations: 4 kB / 427.6 MB, free: 10.45 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.219e-06/0.4618, allocations: 3.984 kB / 427.6 MB, free: 10.45 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.4647, allocations: 1.262 MB / 428.8 MB, free: 9.352 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.683e-06/0.4648, allocations: 0 / 428.8 MB, free: 9.352 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.4654, allocations: 76.19 kB / 428.9 MB, free: 9.277 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.4659, allocations: 93.66 kB / 429 MB, free: 9.18 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.466, allocations: 7.906 kB / 429 MB, free: 9.172 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.4689, allocations: 2.886 MB / 431.9 MB, free: 6.059 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.469, allocations: 96 / 431.9 MB, free: 6.059 MB / 331.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001634/0.4707, allocations: 0.8195 MB / 432.7 MB, free: 5.152 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.4712, allocations: 188.1 kB / 432.9 MB, free: 4.949 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.4714, allocations: 4 kB / 432.9 MB, free: 4.945 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.4721, allocations: 19.98 kB / 432.9 MB, free: 4.926 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.4723, allocations: 35.86 kB / 433 MB, free: 4.891 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4724, allocations: 20.06 kB / 433 MB, free: 4.871 MB / 331.1 MB Notification: Performance of sort global known variables: time 0.0007822/0.4732, allocations: 435.2 kB / 433.4 MB, free: 4.453 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.001392/0.4747, allocations: 192 kB / 433.6 MB, free: 4.266 MB / 331.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.4751, allocations: 231.8 kB / 433.8 MB, free: 4.051 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.4768, allocations: 0.6273 MB / 434.5 MB, free: 3.406 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 7.682e-06/0.4769, allocations: 0 / 434.5 MB, free: 3.406 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.4777, allocations: 407.7 kB / 434.9 MB, free: 2.988 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.4791, allocations: 171.2 kB / 435 MB, free: 2.82 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.4824, allocations: 1.227 MB / 436.2 MB, free: 1.543 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.4835, allocations: 1.089 MB / 437.3 MB, free: 440 kB / 331.1 MB Notification: Performance of SimCode: time 2.305e-06/0.4836, allocations: 0 / 437.3 MB, free: 440 kB / 331.1 MB Notification: Performance of Templates: time 0.0602/0.5439, allocations: 9.4 MB / 446.7 MB, free: 7.125 MB / 347.1 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:811:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_113(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:812:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_117(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:813:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_118(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:814:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_eqFunction_119(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.c:815:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.o] Error 1