Notification: Performance of loadModel(Modelica): time 1.482/1.482, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.848e-06, allocations: 2.062 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06399/0.06408, allocations: 44.36 MB / 291.8 MB, free: 9.227 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/0.3072, allocations: 89.07 MB / 380.8 MB, free: 4.891 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3076, allocations: 90.31 kB / 380.9 MB, free: 4.875 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.161/0.4686, allocations: 40.09 MB / 421 MB, free: 13.77 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.968e-05/0.4688, allocations: 31.05 kB / 421 MB, free: 13.74 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003195/0.4721, allocations: 1.578 MB / 422.6 MB, free: 12.21 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4722, allocations: 12.03 kB / 422.6 MB, free: 12.2 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.4735, allocations: 261.6 kB / 422.9 MB, free: 11.94 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.4764, allocations: 1.113 MB / 424 MB, free: 10.9 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.4767, allocations: 51.91 kB / 424.1 MB, free: 10.85 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.4772, allocations: 99.91 kB / 424.1 MB, free: 10.75 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00235/0.4796, allocations: 0.8145 MB / 425 MB, free: 9.934 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.4827, allocations: 1.206 MB / 426.2 MB, free: 8.656 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.4828, allocations: 7.906 kB / 426.2 MB, free: 8.648 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.483, allocations: 11.98 kB / 426.2 MB, free: 8.637 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.4831, allocations: 40 kB / 426.2 MB, free: 8.598 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.4936, allocations: 6.377 MB / 432.6 MB, free: 1.918 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.4943, allocations: 218.6 kB / 432.8 MB, free: 1.699 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.4948, allocations: 188.6 kB / 433 MB, free: 1.516 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.4949, allocations: 12.42 kB / 433 MB, free: 1.504 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.4954, allocations: 236.7 kB / 433.2 MB, free: 1.246 MB / 328.6 MB Notification: Performance of pre-optimization done (n=50): time 5.727e-06/0.4954, allocations: 0 / 433.2 MB, free: 1.246 MB / 328.6 MB Notification: Performance of matching and sorting (n=56): time 0.003767/0.4992, allocations: 1.488 MB / 434.7 MB, free: 15.69 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4994, allocations: 196.4 kB / 434.9 MB, free: 15.46 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5009, allocations: 0.8553 MB / 435.8 MB, free: 14.59 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.501, allocations: 29.64 kB / 435.8 MB, free: 14.55 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006398/0.5017, allocations: 0.7259 MB / 436.5 MB, free: 13.82 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.5019, allocations: 209.1 kB / 436.7 MB, free: 13.61 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.502, allocations: 0 / 436.7 MB, free: 13.61 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.5021, allocations: 341.9 kB / 437.1 MB, free: 13.27 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5026, allocations: 190.6 kB / 437.3 MB, free: 13.09 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.5033, allocations: 0.754 MB / 438 MB, free: 12.05 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.5042, allocations: 321.1 kB / 438.3 MB, free: 11.74 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5043, allocations: 8 kB / 438.3 MB, free: 11.73 MB / 344.6 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002069/0.5064, allocations: 0.9352 MB / 439.3 MB, free: 10.79 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5065, allocations: 4 kB / 439.3 MB, free: 10.78 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.5066, allocations: 20 kB / 439.3 MB, free: 10.76 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.5069, allocations: 69.64 kB / 439.4 MB, free: 10.69 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5082, allocations: 275.7 kB / 439.6 MB, free: 10.42 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.5104, allocations: 2.477 MB / 442.1 MB, free: 7.711 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.512, allocations: 55.88 kB / 442.2 MB, free: 7.656 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.5123, allocations: 60 kB / 442.2 MB, free: 7.598 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.5124, allocations: 75.28 kB / 442.3 MB, free: 7.523 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.5126, allocations: 118.5 kB / 442.4 MB, free: 7.406 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5138, allocations: 451.4 kB / 442.9 MB, free: 6.949 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5139, allocations: 8 kB / 442.9 MB, free: 6.941 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.822e-06/0.514, allocations: 0 / 442.9 MB, free: 6.941 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.514, allocations: 11.92 kB / 442.9 MB, free: 6.93 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.5174, allocations: 1.654 MB / 444.5 MB, free: 5.188 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.031e-06/0.5175, allocations: 4 kB / 444.5 MB, free: 5.184 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.5182, allocations: 107.8 kB / 444.6 MB, free: 5.078 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.5185, allocations: 45.7 kB / 444.7 MB, free: 5.027 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.5186, allocations: 11.98 kB / 444.7 MB, free: 5.016 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.5205, allocations: 2.446 MB / 447.1 MB, free: 2.34 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5206, allocations: 11.84 kB / 447.1 MB, free: 2.328 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001482/0.5221, allocations: 0.9959 MB / 448.1 MB, free: 1.191 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.5227, allocations: 235.5 kB / 448.4 MB, free: 0.9414 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5229, allocations: 8 kB / 448.4 MB, free: 0.9336 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.5238, allocations: 31.97 kB / 448.4 MB, free: 0.9023 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.524, allocations: 47.78 kB / 448.5 MB, free: 0.8555 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.5241, allocations: 24 kB / 448.5 MB, free: 0.832 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001068/0.5252, allocations: 0.611 MB / 449.1 MB, free: 220 kB / 344.6 MB Notification: Performance of remove unused functions: time 0.001745/0.527, allocations: 284 kB / 449.4 MB, free: 15.93 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004038/0.5275, allocations: 228.5 kB / 449.6 MB, free: 15.73 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.5293, allocations: 0.7839 MB / 450.4 MB, free: 14.93 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/0.5294, allocations: 4.188 kB / 450.4 MB, free: 14.93 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.5304, allocations: 423.2 kB / 450.8 MB, free: 14.49 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5323, allocations: 257.5 kB / 451 MB, free: 14.24 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5371, allocations: 1.854 MB / 452.9 MB, free: 12.29 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009608/0.5382, allocations: 1.294 MB / 454.2 MB, free: 10.97 MB / 360.6 MB Notification: Performance of SimCode: time 3.003e-06/0.5382, allocations: 3.938 kB / 454.2 MB, free: 10.96 MB / 360.6 MB Notification: Performance of Templates: time 0.08725/0.6255, allocations: 12.61 MB / 466.8 MB, free: 14.48 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