Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 1.156 kB / 247.4 MB, free: 4.668 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06159/0.06167, allocations: 44.36 MB / 291.8 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.3078, allocations: 89.07 MB / 380.8 MB, free: 4.832 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3081, allocations: 88.94 kB / 380.9 MB, free: 4.816 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1638/0.472, allocations: 40.1 MB / 421 MB, free: 13.72 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001092/0.4723, allocations: 32 kB / 421 MB, free: 13.69 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003948/0.4763, allocations: 1.583 MB / 422.6 MB, free: 12.16 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4764, allocations: 8.031 kB / 422.6 MB, free: 12.15 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.4779, allocations: 265.5 kB / 422.9 MB, free: 11.89 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.481, allocations: 1.11 MB / 424 MB, free: 10.85 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.4812, allocations: 59.89 kB / 424.1 MB, free: 10.79 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.4815, allocations: 95.91 kB / 424.2 MB, free: 10.7 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002805/0.4844, allocations: 0.8145 MB / 425 MB, free: 9.879 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.4875, allocations: 1.2 MB / 426.2 MB, free: 8.605 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.131e-05/0.4877, allocations: 15.89 kB / 426.2 MB, free: 8.59 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.4879, allocations: 8 kB / 426.2 MB, free: 8.582 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.488, allocations: 36 kB / 426.2 MB, free: 8.547 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.4987, allocations: 6.372 MB / 432.6 MB, free: 1.875 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.4993, allocations: 222.6 kB / 432.8 MB, free: 1.652 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.4998, allocations: 189.2 kB / 433 MB, free: 1.469 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.4999, allocations: 4.438 kB / 433 MB, free: 1.465 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.5004, allocations: 236.8 kB / 433.2 MB, free: 1.207 MB / 328.6 MB Notification: Performance of pre-optimization done (n=50): time 7.193e-06/0.5005, allocations: 0 / 433.2 MB, free: 1.207 MB / 328.6 MB Notification: Performance of matching and sorting (n=56): time 0.003563/0.5041, allocations: 1.494 MB / 434.7 MB, free: 15.64 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5043, allocations: 188.5 kB / 434.9 MB, free: 15.42 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.5059, allocations: 0.8515 MB / 435.8 MB, free: 14.55 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/0.506, allocations: 33.64 kB / 435.8 MB, free: 14.52 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.5066, allocations: 0.7297 MB / 436.5 MB, free: 13.77 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.507, allocations: 201.9 kB / 436.7 MB, free: 13.57 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.5071, allocations: 0 / 436.7 MB, free: 13.57 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.5073, allocations: 353.9 kB / 437.1 MB, free: 13.22 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.5078, allocations: 186.6 kB / 437.3 MB, free: 13.04 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.5085, allocations: 0.754 MB / 438 MB, free: 12.01 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.5093, allocations: 325.1 kB / 438.3 MB, free: 11.69 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5093, allocations: 4 kB / 438.3 MB, free: 11.69 MB / 344.6 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002318/0.5117, allocations: 0.9315 MB / 439.3 MB, free: 10.75 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5118, allocations: 8 kB / 439.3 MB, free: 10.74 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.5119, allocations: 23.98 kB / 439.3 MB, free: 10.71 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.5123, allocations: 73.62 kB / 439.4 MB, free: 10.64 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5135, allocations: 275.6 kB / 439.6 MB, free: 10.37 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.5157, allocations: 2.474 MB / 442.1 MB, free: 7.664 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.5174, allocations: 55.83 kB / 442.2 MB, free: 7.609 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.5177, allocations: 63.98 kB / 442.2 MB, free: 7.547 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/0.5178, allocations: 75.28 kB / 442.3 MB, free: 7.473 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.5182, allocations: 118.5 kB / 442.4 MB, free: 7.355 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5194, allocations: 450.7 kB / 442.9 MB, free: 6.898 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.5195, allocations: 4 kB / 442.9 MB, free: 6.895 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-06/0.5196, allocations: 4 kB / 442.9 MB, free: 6.891 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5196, allocations: 7.984 kB / 442.9 MB, free: 6.883 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.5232, allocations: 1.647 MB / 444.5 MB, free: 5.148 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5233, allocations: 12.02 kB / 444.5 MB, free: 5.137 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.524, allocations: 107.8 kB / 444.6 MB, free: 5.031 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.5243, allocations: 41.7 kB / 444.7 MB, free: 4.984 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.5244, allocations: 15.98 kB / 444.7 MB, free: 4.969 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.5263, allocations: 2.446 MB / 447.1 MB, free: 2.293 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/0.5264, allocations: 15.97 kB / 447.2 MB, free: 2.277 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001569/0.528, allocations: 0.9868 MB / 448.1 MB, free: 1.148 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005605/0.5287, allocations: 235.5 kB / 448.4 MB, free: 0.8984 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.5289, allocations: 8 kB / 448.4 MB, free: 0.8906 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.5298, allocations: 31.97 kB / 448.4 MB, free: 0.8594 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.53, allocations: 51.72 kB / 448.5 MB, free: 0.8086 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.5301, allocations: 24 kB / 448.5 MB, free: 0.7852 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001231/0.5314, allocations: 0.6071 MB / 449.1 MB, free: 176 kB / 344.6 MB Notification: Performance of remove unused functions: time 0.00184/0.5333, allocations: 288 kB / 449.4 MB, free: 15.89 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.5338, allocations: 232.6 kB / 449.6 MB, free: 15.68 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.5356, allocations: 0.784 MB / 450.4 MB, free: 14.88 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 6.704e-06/0.5357, allocations: 4.062 kB / 450.4 MB, free: 14.88 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.5366, allocations: 419.9 kB / 450.8 MB, free: 14.45 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.5386, allocations: 257.6 kB / 451.1 MB, free: 14.19 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.5433, allocations: 1.842 MB / 452.9 MB, free: 12.26 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.5445, allocations: 1.293 MB / 454.2 MB, free: 10.94 MB / 360.6 MB Notification: Performance of SimCode: time 2.654e-06/0.5446, allocations: 3.938 kB / 454.2 MB, free: 10.93 MB / 360.6 MB Notification: Performance of Templates: time 0.0853/0.6299, allocations: 12.61 MB / 466.8 MB, free: 14.49 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