Notification: Performance of loadModel(Modelica): time 1.616/1.616, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.288e-06/9.359e-06, allocations: 1.281 kB / 247.4 MB, free: 4.672 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06074/0.06081, allocations: 44.35 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/0.2993, allocations: 89.08 MB / 380.8 MB, free: 4.805 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.2996, allocations: 85.5 kB / 380.9 MB, free: 4.789 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1629/0.4626, allocations: 40.1 MB / 421 MB, free: 13.65 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001094/0.4628, allocations: 36.56 kB / 421.1 MB, free: 13.62 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003613/0.4665, allocations: 1.571 MB / 422.6 MB, free: 12.09 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4666, allocations: 12.03 kB / 422.6 MB, free: 12.08 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4683, allocations: 261.6 kB / 422.9 MB, free: 11.82 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.4716, allocations: 1.113 MB / 424 MB, free: 10.8 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.4717, allocations: 55.91 kB / 424.1 MB, free: 10.75 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.4721, allocations: 107.8 kB / 424.2 MB, free: 10.64 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002602/0.4747, allocations: 0.8145 MB / 425 MB, free: 9.828 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.4778, allocations: 1.2 MB / 426.2 MB, free: 8.555 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.677e-05/0.478, allocations: 11.91 kB / 426.2 MB, free: 8.543 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.4782, allocations: 0 / 426.2 MB, free: 8.543 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.4783, allocations: 40 kB / 426.2 MB, free: 8.504 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.489, allocations: 6.377 MB / 432.6 MB, free: 1.82 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.4896, allocations: 230.6 kB / 432.8 MB, free: 1.59 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.4901, allocations: 188.6 kB / 433 MB, free: 1.406 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.4902, allocations: 5.922 kB / 433 MB, free: 1.402 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.4907, allocations: 236.8 kB / 433.3 MB, free: 1.145 MB / 328.6 MB Notification: Performance of pre-optimization done (n=50): time 5.238e-06/0.4908, allocations: 0 / 433.3 MB, free: 1.145 MB / 328.6 MB Notification: Performance of matching and sorting (n=56): time 0.00326/0.4941, allocations: 1.485 MB / 434.7 MB, free: 15.59 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.4943, allocations: 190.1 kB / 434.9 MB, free: 15.36 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.4962, allocations: 0.8553 MB / 435.8 MB, free: 14.5 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.4963, allocations: 33.67 kB / 435.8 MB, free: 14.46 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.4969, allocations: 0.7337 MB / 436.5 MB, free: 13.71 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.4971, allocations: 201.1 kB / 436.7 MB, free: 13.51 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.4972, allocations: 0 / 436.7 MB, free: 13.51 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.4974, allocations: 353.9 kB / 437.1 MB, free: 13.16 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.4979, allocations: 186.6 kB / 437.3 MB, free: 12.98 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008401/0.4988, allocations: 0.754 MB / 438 MB, free: 11.95 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.4995, allocations: 317.1 kB / 438.3 MB, free: 11.64 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4995, allocations: 8 kB / 438.3 MB, free: 11.63 MB / 344.6 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002306/0.5019, allocations: 0.9313 MB / 439.3 MB, free: 10.69 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.502, allocations: 8.188 kB / 439.3 MB, free: 10.68 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.5021, allocations: 20 kB / 439.3 MB, free: 10.66 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.5025, allocations: 69.7 kB / 439.4 MB, free: 10.59 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.5038, allocations: 271.5 kB / 439.6 MB, free: 10.32 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.5058, allocations: 2.469 MB / 442.1 MB, free: 7.621 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5075, allocations: 59.88 kB / 442.2 MB, free: 7.562 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5078, allocations: 60 kB / 442.2 MB, free: 7.504 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.5079, allocations: 79.28 kB / 442.3 MB, free: 7.426 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.5082, allocations: 126.5 kB / 442.4 MB, free: 7.301 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5095, allocations: 447.6 kB / 442.9 MB, free: 6.848 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5096, allocations: 11.94 kB / 442.9 MB, free: 6.836 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.289e-06/0.5097, allocations: 3.984 kB / 442.9 MB, free: 6.832 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5098, allocations: 4 kB / 442.9 MB, free: 6.828 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.513, allocations: 1.651 MB / 444.5 MB, free: 5.09 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.94e-06/0.5132, allocations: 4.469 kB / 444.5 MB, free: 5.086 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.5139, allocations: 111.8 kB / 444.6 MB, free: 4.977 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.5142, allocations: 45.7 kB / 444.7 MB, free: 4.926 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.5143, allocations: 8 kB / 444.7 MB, free: 4.918 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.5163, allocations: 2.446 MB / 447.1 MB, free: 2.242 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.5164, allocations: 7.906 kB / 447.1 MB, free: 2.234 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001446/0.5179, allocations: 0.9947 MB / 448.1 MB, free: 1.098 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.5185, allocations: 231.5 kB / 448.4 MB, free: 0.8516 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.5188, allocations: 16.11 kB / 448.4 MB, free: 0.8359 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/0.5197, allocations: 27.98 kB / 448.4 MB, free: 0.8086 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.5199, allocations: 51.72 kB / 448.5 MB, free: 0.7578 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.526e-05/0.52, allocations: 20 kB / 448.5 MB, free: 0.7383 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001229/0.5213, allocations: 0.6149 MB / 449.1 MB, free: 120 kB / 344.6 MB Notification: Performance of remove unused functions: time 0.002093/0.5235, allocations: 284.1 kB / 449.4 MB, free: 15.84 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/0.5239, allocations: 225.1 kB / 449.6 MB, free: 15.63 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.5257, allocations: 0.7914 MB / 450.4 MB, free: 14.82 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 8.45e-06/0.5259, allocations: 4 kB / 450.4 MB, free: 14.82 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.5267, allocations: 419.9 kB / 450.8 MB, free: 14.39 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.5286, allocations: 257.3 kB / 451.1 MB, free: 14.14 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.5334, allocations: 1.846 MB / 452.9 MB, free: 12.2 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.5348, allocations: 1.286 MB / 454.2 MB, free: 10.89 MB / 360.6 MB Notification: Performance of SimCode: time 2.305e-06/0.5349, allocations: 3.938 kB / 454.2 MB, free: 10.88 MB / 360.6 MB Notification: Performance of Templates: time 0.09384/0.6288, allocations: 12.62 MB / 466.8 MB, free: 14.43 MB / 376.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1036:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_178(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1037:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_180(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1038:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_181(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1039:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_eqFunction_182(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.c:1040:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.o] Error 1