Notification: Performance of loadModel(Modelica): time 1.543/1.543, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.521e-06/8.59e-06, allocations: 0 / 247.4 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06057/0.06065, allocations: 44.36 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.2999, allocations: 89.07 MB / 380.8 MB, free: 4.715 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3003, allocations: 89.75 kB / 380.9 MB, free: 4.699 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.161/0.4614, allocations: 40.09 MB / 421 MB, free: 13.68 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.324e-05/0.4616, allocations: 32 kB / 421 MB, free: 13.65 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003403/0.465, allocations: 1.58 MB / 422.6 MB, free: 12.12 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4652, allocations: 15.97 kB / 422.6 MB, free: 12.11 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.4665, allocations: 262.5 kB / 422.9 MB, free: 11.85 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.4696, allocations: 1.115 MB / 424 MB, free: 10.81 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.4698, allocations: 51.91 kB / 424.1 MB, free: 10.76 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.4701, allocations: 95.84 kB / 424.2 MB, free: 10.67 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002292/0.4725, allocations: 0.8145 MB / 425 MB, free: 9.852 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.4755, allocations: 1.2 MB / 426.2 MB, free: 8.578 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.67e-05/0.4756, allocations: 15.89 kB / 426.2 MB, free: 8.562 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.4758, allocations: 4 kB / 426.2 MB, free: 8.559 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.4759, allocations: 43.98 kB / 426.2 MB, free: 8.516 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.4862, allocations: 6.373 MB / 432.6 MB, free: 1.844 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.4867, allocations: 226.6 kB / 432.8 MB, free: 1.617 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.4872, allocations: 185.2 kB / 433 MB, free: 1.438 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.4873, allocations: 8.438 kB / 433 MB, free: 1.43 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.4878, allocations: 233.8 kB / 433.2 MB, free: 1.176 MB / 328.6 MB Notification: Performance of pre-optimization done (n=50): time 3.632e-06/0.4879, allocations: 0 / 433.2 MB, free: 1.176 MB / 328.6 MB Notification: Performance of matching and sorting (n=56): time 0.003474/0.4914, allocations: 1.49 MB / 434.7 MB, free: 15.62 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4915, allocations: 196.4 kB / 434.9 MB, free: 15.38 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.493, allocations: 0.8554 MB / 435.8 MB, free: 14.52 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.4932, allocations: 25.7 kB / 435.8 MB, free: 14.48 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.494, allocations: 0.7336 MB / 436.5 MB, free: 13.74 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.4942, allocations: 201.1 kB / 436.7 MB, free: 13.54 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4943, allocations: 0 / 436.7 MB, free: 13.54 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.4944, allocations: 349.9 kB / 437.1 MB, free: 13.19 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.4949, allocations: 186.6 kB / 437.3 MB, free: 13.01 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/0.4957, allocations: 0.7579 MB / 438 MB, free: 11.97 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.4965, allocations: 317.1 kB / 438.3 MB, free: 11.66 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.499e-06/0.4966, allocations: 7.984 kB / 438.3 MB, free: 11.66 MB / 344.6 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002013/0.4987, allocations: 0.9364 MB / 439.3 MB, free: 10.71 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4987, allocations: 4 kB / 439.3 MB, free: 10.71 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.4988, allocations: 20 kB / 439.3 MB, free: 10.69 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.4992, allocations: 69.69 kB / 439.4 MB, free: 10.61 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5003, allocations: 275.5 kB / 439.6 MB, free: 10.34 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.5024, allocations: 2.473 MB / 442.1 MB, free: 7.641 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.504, allocations: 47.8 kB / 442.2 MB, free: 7.59 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5042, allocations: 68 kB / 442.2 MB, free: 7.523 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.5043, allocations: 87.2 kB / 442.3 MB, free: 7.438 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.5046, allocations: 118.5 kB / 442.4 MB, free: 7.32 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5057, allocations: 450.5 kB / 442.9 MB, free: 6.863 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5058, allocations: 8 kB / 442.9 MB, free: 6.855 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.381e-06/0.5058, allocations: 4 kB / 442.9 MB, free: 6.852 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5059, allocations: 3.984 kB / 442.9 MB, free: 6.848 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.5091, allocations: 1.647 MB / 444.5 MB, free: 5.113 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.289e-06/0.5092, allocations: 8.031 kB / 444.5 MB, free: 5.105 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.5099, allocations: 111.8 kB / 444.6 MB, free: 4.996 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.5102, allocations: 49.7 kB / 444.7 MB, free: 4.941 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.5103, allocations: 4 kB / 444.7 MB, free: 4.938 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.5121, allocations: 2.447 MB / 447.1 MB, free: 2.262 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/0.5122, allocations: 8.062 kB / 447.1 MB, free: 2.254 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001394/0.5137, allocations: 0.9906 MB / 448.1 MB, free: 1.121 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.5142, allocations: 239.5 kB / 448.4 MB, free: 0.8672 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.5145, allocations: 8 kB / 448.4 MB, free: 0.8594 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.5154, allocations: 40.03 kB / 448.4 MB, free: 0.8203 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5155, allocations: 43.8 kB / 448.5 MB, free: 0.7773 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.5156, allocations: 23.98 kB / 448.5 MB, free: 0.7539 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001043/0.5167, allocations: 0.6149 MB / 449.1 MB, free: 136 kB / 344.6 MB Notification: Performance of remove unused functions: time 0.001542/0.5183, allocations: 284 kB / 449.4 MB, free: 15.85 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.5188, allocations: 233 kB / 449.6 MB, free: 15.64 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.5206, allocations: 0.7799 MB / 450.4 MB, free: 14.85 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 6.006e-06/0.5207, allocations: 4.312 kB / 450.4 MB, free: 14.84 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.5214, allocations: 423.3 kB / 450.8 MB, free: 14.41 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5232, allocations: 253.5 kB / 451 MB, free: 14.16 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.5276, allocations: 1.852 MB / 452.9 MB, free: 12.22 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.5289, allocations: 1.293 MB / 454.2 MB, free: 10.9 MB / 360.6 MB Notification: Performance of SimCode: time 2.375e-06/0.529, allocations: 4 kB / 454.2 MB, free: 10.89 MB / 360.6 MB Notification: Performance of Templates: time 0.07569/0.6047, allocations: 12.6 MB / 466.8 MB, free: 14.43 MB / 376.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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_DCPM_QuasiStationary -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.DCPM_QuasiStationary.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_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.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_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.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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_DCPM_QuasiStationary_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.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1036:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_178(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1037:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_180(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1038:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_181(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1039:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_182(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1040:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_183(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.DCPM_QuasiStationary.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.o] Error 1