Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.59e-06/8.661e-06, allocations: 1.188 kB / 247.4 MB, free: 4.68 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06074/0.06082, allocations: 44.36 MB / 291.8 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.3014, allocations: 89.38 MB / 381.2 MB, free: 4.664 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.3017, allocations: 89.09 kB / 381.2 MB, free: 4.648 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1797/0.4815, allocations: 43.93 MB / 425.2 MB, free: 9.941 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001094/0.4817, allocations: 39.94 kB / 425.2 MB, free: 9.902 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003694/0.4855, allocations: 1.623 MB / 426.8 MB, free: 8.23 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4856, allocations: 8.031 kB / 426.8 MB, free: 8.223 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.4872, allocations: 297.3 kB / 427.1 MB, free: 7.93 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.4908, allocations: 1.22 MB / 428.3 MB, free: 6.652 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.491, allocations: 52 kB / 428.4 MB, free: 6.602 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.4913, allocations: 99.84 kB / 428.5 MB, free: 6.504 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002622/0.494, allocations: 0.877 MB / 429.4 MB, free: 5.625 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.4971, allocations: 1.213 MB / 430.6 MB, free: 4.352 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.4973, allocations: 11.94 kB / 430.6 MB, free: 4.34 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.4975, allocations: 7.906 kB / 430.6 MB, free: 4.332 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.4976, allocations: 36 kB / 430.6 MB, free: 4.297 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.5083, allocations: 6.132 MB / 436.8 MB, free: 13.87 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.5092, allocations: 307 kB / 437.1 MB, free: 13.57 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/0.5102, allocations: 403.5 kB / 437.5 MB, free: 13.17 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.5104, allocations: 12.64 kB / 437.5 MB, free: 13.16 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5104, allocations: 47.16 kB / 437.5 MB, free: 13.1 MB / 344.6 MB Notification: Performance of pre-optimization done (n=66): time 6.076e-06/0.5105, allocations: 0 / 437.5 MB, free: 13.1 MB / 344.6 MB Notification: Performance of matching and sorting (n=72): time 0.004102/0.5146, allocations: 1.661 MB / 439.2 MB, free: 11.38 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.5148, allocations: 111.5 kB / 439.3 MB, free: 11.24 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5165, allocations: 0.8975 MB / 440.2 MB, free: 10.34 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 9.296e-05/0.5167, allocations: 29.7 kB / 440.2 MB, free: 10.3 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.5173, allocations: 0.6839 MB / 440.9 MB, free: 9.605 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.5175, allocations: 256.3 kB / 441.2 MB, free: 9.352 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.5176, allocations: 0 / 441.2 MB, free: 9.352 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.5178, allocations: 345.9 kB / 441.5 MB, free: 9.008 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.5184, allocations: 230.6 kB / 441.7 MB, free: 8.785 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.5192, allocations: 0.6697 MB / 442.4 MB, free: 7.902 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008929/0.5201, allocations: 346.9 kB / 442.7 MB, free: 7.562 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.499e-06/0.5202, allocations: 4 kB / 442.7 MB, free: 7.559 MB / 344.6 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00274/0.523, allocations: 1.063 MB / 443.8 MB, free: 6.477 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5231, allocations: 8 kB / 443.8 MB, free: 6.469 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.5232, allocations: 24.58 kB / 443.8 MB, free: 6.445 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005338/0.5238, allocations: 114.5 kB / 443.9 MB, free: 6.324 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.5252, allocations: 271.5 kB / 444.2 MB, free: 6.059 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.5291, allocations: 4.04 MB / 448.2 MB, free: 1.668 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.5307, allocations: 39.95 kB / 448.3 MB, free: 1.629 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.531, allocations: 59.98 kB / 448.3 MB, free: 1.57 MB / 344.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.5312, allocations: 83.22 kB / 448.4 MB, free: 1.488 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.5316, allocations: 126.4 kB / 448.5 MB, free: 1.363 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5338, allocations: 0.71 MB / 449.3 MB, free: 0.6328 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.5339, allocations: 4 kB / 449.3 MB, free: 0.6289 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/0.5339, allocations: 4 kB / 449.3 MB, free: 0.625 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.534, allocations: 7.891 kB / 449.3 MB, free: 0.6172 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/0.5394, allocations: 2.011 MB / 451.3 MB, free: 14.5 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5395, allocations: 4 kB / 451.3 MB, free: 14.5 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.5404, allocations: 140.2 kB / 451.4 MB, free: 14.36 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/0.541, allocations: 114.5 kB / 451.5 MB, free: 14.24 MB / 360.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.5412, allocations: 15.92 kB / 451.6 MB, free: 14.23 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/0.5453, allocations: 4.138 MB / 455.7 MB, free: 9.742 MB / 360.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/0.5454, allocations: 11.94 kB / 455.7 MB, free: 9.73 MB / 360.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002613/0.5481, allocations: 1.354 MB / 457.1 MB, free: 8.238 MB / 360.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.5489, allocations: 263.4 kB / 457.3 MB, free: 7.961 MB / 360.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.5492, allocations: 8 kB / 457.3 MB, free: 7.953 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5503, allocations: 35.97 kB / 457.4 MB, free: 7.918 MB / 360.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5505, allocations: 48.34 kB / 457.4 MB, free: 7.871 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.5506, allocations: 20 kB / 457.4 MB, free: 7.852 MB / 360.6 MB Notification: Performance of sort global known variables: time 0.001227/0.5519, allocations: 0.6673 MB / 458.1 MB, free: 7.18 MB / 360.6 MB Notification: Performance of remove unused functions: time 0.001948/0.5539, allocations: 304 kB / 458.4 MB, free: 6.883 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000588/0.5546, allocations: 312.7 kB / 458.7 MB, free: 6.578 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.5566, allocations: 0.9593 MB / 459.7 MB, free: 5.59 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5567, allocations: 0 / 459.7 MB, free: 5.59 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5578, allocations: 0.5943 MB / 460.2 MB, free: 4.969 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.5601, allocations: 292.5 kB / 460.5 MB, free: 4.68 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.5669, allocations: 2.284 MB / 462.8 MB, free: 2.305 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.5682, allocations: 1.345 MB / 464.2 MB, free: 0.9297 MB / 360.6 MB Notification: Performance of SimCode: time 2.305e-06/0.5683, allocations: 0 / 464.2 MB, free: 0.9297 MB / 360.6 MB Notification: Performance of Templates: time 0.07902/0.6474, allocations: 15.35 MB / 479.5 MB, free: 1.656 MB / 376.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:333:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_183(DATA*,threadData_t*); ^ 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_withLosses.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o] Error 1