Notification: Performance of loadModel(Modelica): time 1.569/1.569, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.117e-05, allocations: 0.875 kB / 247.4 MB, free: 4.672 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06212/0.06221, allocations: 44.36 MB / 291.7 MB, free: 9.281 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.3065, allocations: 91.87 MB / 383.6 MB, free: 4.066 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.3068, allocations: 84.97 kB / 383.7 MB, free: 4.051 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.106/0.4129, allocations: 25.75 MB / 409.4 MB, free: 6.941 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.705e-05/0.4131, allocations: 23.94 kB / 409.5 MB, free: 6.918 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.00207/0.4152, allocations: 1.115 MB / 410.6 MB, free: 5.824 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4154, allocations: 12.03 kB / 410.6 MB, free: 5.812 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.4164, allocations: 174.4 kB / 410.8 MB, free: 5.641 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.4187, allocations: 0.7793 MB / 411.5 MB, free: 5.004 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.4188, allocations: 28 kB / 411.6 MB, free: 4.977 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.419, allocations: 59.91 kB / 411.6 MB, free: 4.918 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001428/0.4205, allocations: 0.5152 MB / 412.1 MB, free: 4.613 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.4223, allocations: 0.7462 MB / 412.9 MB, free: 4.059 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.4224, allocations: 3.938 kB / 412.9 MB, free: 4.055 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4226, allocations: 3.906 kB / 412.9 MB, free: 4.051 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.4227, allocations: 24 kB / 412.9 MB, free: 4.027 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/0.4295, allocations: 3.771 MB / 416.7 MB, free: 0.8086 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4299, allocations: 134.8 kB / 416.8 MB, free: 0.7148 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.4303, allocations: 139.4 kB / 417 MB, free: 0.625 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.4304, allocations: 4.281 kB / 417 MB, free: 0.6211 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4305, allocations: 34.34 kB / 417 MB, free: 0.582 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 5.238e-06/0.4306, allocations: 0 / 417 MB, free: 0.582 MB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.002093/0.4327, allocations: 0.8824 MB / 417.9 MB, free: 15.77 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.4329, allocations: 81.11 kB / 418 MB, free: 15.67 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.434, allocations: 0.5732 MB / 418.5 MB, free: 15.24 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.4341, allocations: 25.7 kB / 418.6 MB, free: 15.21 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.4345, allocations: 487.8 kB / 419 MB, free: 14.78 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4347, allocations: 127.3 kB / 419.2 MB, free: 14.67 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.4348, allocations: 0 / 419.2 MB, free: 14.67 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.000328/0.4352, allocations: 380.4 kB / 419.5 MB, free: 14.32 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.4355, allocations: 117.2 kB / 419.6 MB, free: 14.25 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.436, allocations: 415.7 kB / 420.1 MB, free: 13.77 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.4364, allocations: 188.9 kB / 420.2 MB, free: 13.64 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.4365, allocations: 4 kB / 420.2 MB, free: 13.64 MB / 328.6 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001288/0.4378, allocations: 0.5581 MB / 420.8 MB, free: 13.17 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4379, allocations: 4 kB / 420.8 MB, free: 13.16 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.438, allocations: 16.8 kB / 420.8 MB, free: 13.15 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.4382, allocations: 44.14 kB / 420.9 MB, free: 13.11 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.439, allocations: 166 kB / 421 MB, free: 12.95 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4402, allocations: 1.233 MB / 422.3 MB, free: 11.64 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.4411, allocations: 32.05 kB / 422.3 MB, free: 11.61 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.4413, allocations: 39.81 kB / 422.3 MB, free: 11.57 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.4414, allocations: 75.28 kB / 422.4 MB, free: 11.5 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4416, allocations: 79 kB / 422.5 MB, free: 11.42 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.4423, allocations: 302.7 kB / 422.8 MB, free: 11.2 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4424, allocations: 4 kB / 422.8 MB, free: 11.19 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.4425, allocations: 4 kB / 422.8 MB, free: 11.19 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.775e-06/0.4426, allocations: 4 kB / 422.8 MB, free: 11.18 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.4447, allocations: 1.059 MB / 423.8 MB, free: 10.32 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.451e-06/0.4448, allocations: 4 kB / 423.8 MB, free: 10.32 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.4453, allocations: 75.89 kB / 423.9 MB, free: 10.24 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.4455, allocations: 20.2 kB / 423.9 MB, free: 10.22 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.4456, allocations: 11.94 kB / 424 MB, free: 10.21 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008848/0.4466, allocations: 1.228 MB / 425.2 MB, free: 8.906 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-06/0.4466, allocations: 4 kB / 425.2 MB, free: 8.902 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001198/0.4479, allocations: 0.6356 MB / 425.8 MB, free: 8.301 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4483, allocations: 175.6 kB / 426 MB, free: 8.133 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4485, allocations: 4.5 kB / 426 MB, free: 8.129 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.4492, allocations: 23.97 kB / 426 MB, free: 8.105 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.4493, allocations: 27.91 kB / 426 MB, free: 8.082 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.4494, allocations: 10.12 kB / 426.1 MB, free: 8.074 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0007389/0.4502, allocations: 436.1 kB / 426.5 MB, free: 7.758 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001058/0.4513, allocations: 187.8 kB / 426.7 MB, free: 7.574 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003357/0.4517, allocations: 227 kB / 426.9 MB, free: 7.348 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0009704/0.4527, allocations: 443.2 kB / 427.3 MB, free: 6.906 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/0.4528, allocations: 0 / 427.3 MB, free: 6.906 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.4533, allocations: 238.6 kB / 427.6 MB, free: 6.664 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4546, allocations: 154.9 kB / 427.7 MB, free: 6.508 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.458, allocations: 1.219 MB / 428.9 MB, free: 5.234 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009186/0.4591, allocations: 1.077 MB / 430 MB, free: 4.129 MB / 328.6 MB Notification: Performance of SimCode: time 2.514e-06/0.4592, allocations: 0 / 430 MB, free: 4.129 MB / 328.6 MB Notification: Performance of Templates: time 0.06402/0.5233, allocations: 8.17 MB / 438.2 MB, free: 12.02 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:704:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_100(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:705:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_102(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:706:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_103(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:707:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_eqFunction_105(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.c:708:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.o] Error 1