Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.52e-06/8.591e-06, allocations: 1.312 kB / 247.4 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06208/0.06216, allocations: 44.38 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.3037, allocations: 92.29 MB / 384 MB, free: 3.988 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.3041, allocations: 87.34 kB / 384.1 MB, free: 3.973 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1135/0.4176, allocations: 27.62 MB / 411.7 MB, free: 4.867 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.244e-05/0.4178, allocations: 20 kB / 411.8 MB, free: 4.848 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002201/0.4201, allocations: 1.134 MB / 412.9 MB, free: 3.734 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4202, allocations: 11.97 kB / 412.9 MB, free: 3.723 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.4213, allocations: 190.4 kB / 413.1 MB, free: 3.535 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.4234, allocations: 0.7977 MB / 413.9 MB, free: 2.867 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.4235, allocations: 32 kB / 413.9 MB, free: 2.836 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.4238, allocations: 59.91 kB / 414 MB, free: 2.777 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/0.4253, allocations: 0.5352 MB / 414.5 MB, free: 2.461 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.4274, allocations: 0.7524 MB / 415.3 MB, free: 1.902 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.4275, allocations: 4 kB / 415.3 MB, free: 1.898 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.394e-05/0.4277, allocations: 0 / 415.3 MB, free: 1.898 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.4277, allocations: 24 kB / 415.3 MB, free: 1.875 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006571/0.4344, allocations: 3.744 MB / 419 MB, free: 14.7 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.4349, allocations: 186.7 kB / 419.2 MB, free: 14.57 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.4356, allocations: 256.1 kB / 419.5 MB, free: 14.38 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.4357, allocations: 4 kB / 419.5 MB, free: 14.38 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4358, allocations: 41.75 kB / 419.5 MB, free: 14.33 MB / 328.6 MB Notification: Performance of pre-optimization done (n=42): time 5.029e-06/0.4358, allocations: 3.984 kB / 419.5 MB, free: 14.32 MB / 328.6 MB Notification: Performance of matching and sorting (n=47): time 0.00285/0.4387, allocations: 1.102 MB / 420.6 MB, free: 13.36 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4389, allocations: 81.55 kB / 420.7 MB, free: 13.26 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.4399, allocations: 0.578 MB / 421.3 MB, free: 12.82 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.44, allocations: 25.7 kB / 421.3 MB, free: 12.79 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.4403, allocations: 474 kB / 421.8 MB, free: 12.38 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4405, allocations: 165.9 kB / 421.9 MB, free: 12.23 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.4406, allocations: 0 / 421.9 MB, free: 12.23 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4408, allocations: 386.1 kB / 422.3 MB, free: 11.88 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.4412, allocations: 134.4 kB / 422.4 MB, free: 11.8 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.4418, allocations: 424.9 kB / 422.9 MB, free: 11.33 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.4423, allocations: 212.1 kB / 423.1 MB, free: 11.19 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.4424, allocations: 4 kB / 423.1 MB, free: 11.19 MB / 328.6 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001566/0.444, allocations: 0.6631 MB / 423.7 MB, free: 10.65 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4441, allocations: 8 kB / 423.7 MB, free: 10.64 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4442, allocations: 8 kB / 423.8 MB, free: 10.63 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.4447, allocations: 103.6 kB / 423.9 MB, free: 10.54 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.4455, allocations: 159.4 kB / 424 MB, free: 10.39 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.4486, allocations: 2.903 MB / 426.9 MB, free: 7.48 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/0.4496, allocations: 24.06 kB / 426.9 MB, free: 7.457 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.4498, allocations: 37.42 kB / 427 MB, free: 7.426 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.4499, allocations: 79.69 kB / 427 MB, free: 7.348 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.4501, allocations: 79.11 kB / 427.1 MB, free: 7.27 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.4513, allocations: 454 kB / 427.6 MB, free: 6.82 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.73e-06/0.4514, allocations: 4 kB / 427.6 MB, free: 6.816 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.521e-06/0.4514, allocations: 4 kB / 427.6 MB, free: 6.812 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.4515, allocations: 3.984 kB / 427.6 MB, free: 6.809 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.4541, allocations: 1.26 MB / 428.8 MB, free: 5.477 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.381e-06/0.4542, allocations: 4.062 kB / 428.8 MB, free: 5.473 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.4548, allocations: 79.89 kB / 428.9 MB, free: 5.395 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/0.4552, allocations: 89.64 kB / 429 MB, free: 5.301 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.4553, allocations: 11.91 kB / 429 MB, free: 5.289 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.4581, allocations: 2.874 MB / 431.9 MB, free: 2.184 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.473e-06/0.4582, allocations: 11.97 kB / 431.9 MB, free: 2.172 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001457/0.4597, allocations: 0.8085 MB / 432.7 MB, free: 1.273 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.4602, allocations: 188.1 kB / 432.9 MB, free: 1.07 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.4604, allocations: 0 / 432.9 MB, free: 1.07 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.4612, allocations: 36.03 kB / 432.9 MB, free: 1.035 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.4613, allocations: 27.88 kB / 433 MB, free: 1.008 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.4614, allocations: 19.94 kB / 433 MB, free: 0.9883 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0008105/0.4623, allocations: 439.2 kB / 433.4 MB, free: 0.5664 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001366/0.4637, allocations: 188 kB / 433.6 MB, free: 392 kB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003928/0.4642, allocations: 246.3 kB / 433.8 MB, free: 140 kB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4657, allocations: 0.6191 MB / 434.5 MB, free: 15.5 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 8.102e-06/0.4658, allocations: 3.938 kB / 434.5 MB, free: 15.5 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.4667, allocations: 411.5 kB / 434.9 MB, free: 15.07 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4681, allocations: 167.9 kB / 435 MB, free: 14.91 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.4716, allocations: 1.231 MB / 436.3 MB, free: 13.62 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.4725, allocations: 1.082 MB / 437.3 MB, free: 12.52 MB / 344.6 MB Notification: Performance of SimCode: time 2.166e-06/0.4725, allocations: 0 / 437.3 MB, free: 12.52 MB / 344.6 MB Notification: Performance of Templates: time 0.04807/0.5207, allocations: 9.397 MB / 446.7 MB, free: 3.18 MB / 344.6 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