Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.138e-05, allocations: 2.406 kB / 247.4 MB, free: 4.664 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06394/0.06402, allocations: 44.37 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.3049, allocations: 89.38 MB / 381.1 MB, free: 4.629 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.3053, allocations: 91.38 kB / 381.2 MB, free: 4.613 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.175/0.4804, allocations: 43.93 MB / 425.2 MB, free: 9.891 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.128e-05/0.4806, allocations: 47.94 kB / 425.2 MB, free: 9.844 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003122/0.4838, allocations: 1.619 MB / 426.8 MB, free: 8.172 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4839, allocations: 8.031 kB / 426.8 MB, free: 8.164 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.4853, allocations: 289.4 kB / 427.1 MB, free: 7.879 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.4886, allocations: 1.22 MB / 428.3 MB, free: 6.598 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.4887, allocations: 56 kB / 428.4 MB, free: 6.543 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.489, allocations: 103.8 kB / 428.5 MB, free: 6.441 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/0.4914, allocations: 0.8731 MB / 429.4 MB, free: 5.566 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.4943, allocations: 1.217 MB / 430.6 MB, free: 4.289 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.4945, allocations: 7.938 kB / 430.6 MB, free: 4.281 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4947, allocations: 7.891 kB / 430.6 MB, free: 4.273 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.4948, allocations: 40 kB / 430.7 MB, free: 4.234 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.5056, allocations: 6.128 MB / 436.8 MB, free: 13.81 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.5064, allocations: 315 kB / 437.1 MB, free: 13.5 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.5073, allocations: 407.4 kB / 437.5 MB, free: 13.1 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.5074, allocations: 8.656 kB / 437.5 MB, free: 13.09 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5075, allocations: 47.16 kB / 437.5 MB, free: 13.04 MB / 344.6 MB Notification: Performance of pre-optimization done (n=66): time 6.146e-06/0.5076, allocations: 0 / 437.5 MB, free: 13.04 MB / 344.6 MB Notification: Performance of matching and sorting (n=72): time 0.003817/0.5115, allocations: 1.653 MB / 439.2 MB, free: 11.32 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.5116, allocations: 115.5 kB / 439.3 MB, free: 11.18 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.5134, allocations: 0.9014 MB / 440.2 MB, free: 10.27 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.5135, allocations: 25.7 kB / 440.2 MB, free: 10.24 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.5139, allocations: 0.6839 MB / 440.9 MB, free: 9.547 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5141, allocations: 252.3 kB / 441.2 MB, free: 9.297 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.5142, allocations: 0 / 441.2 MB, free: 9.297 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.5143, allocations: 353.9 kB / 441.5 MB, free: 8.945 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/0.5151, allocations: 226.6 kB / 441.7 MB, free: 8.727 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.5158, allocations: 0.6736 MB / 442.4 MB, free: 7.84 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.5166, allocations: 342.9 kB / 442.7 MB, free: 7.504 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.5166, allocations: 4 kB / 442.7 MB, free: 7.5 MB / 344.6 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002728/0.5194, allocations: 1.067 MB / 443.8 MB, free: 6.414 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5195, allocations: 4 kB / 443.8 MB, free: 6.41 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5196, allocations: 19.98 kB / 443.8 MB, free: 6.391 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.5201, allocations: 119.1 kB / 443.9 MB, free: 6.266 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5214, allocations: 263.6 kB / 444.2 MB, free: 6.008 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/0.5251, allocations: 4.056 MB / 448.3 MB, free: 1.602 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5266, allocations: 39.89 kB / 448.3 MB, free: 1.562 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.5267, allocations: 60.05 kB / 448.4 MB, free: 1.504 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.0001203/0.5269, allocations: 75.28 kB / 448.4 MB, free: 1.43 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.5272, allocations: 130.4 kB / 448.6 MB, free: 1.301 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.5291, allocations: 0.7061 MB / 449.3 MB, free: 0.5742 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5292, allocations: 8 kB / 449.3 MB, free: 0.5664 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.5292, allocations: 0 / 449.3 MB, free: 0.5664 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.5293, allocations: 7.891 kB / 449.3 MB, free: 0.5586 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.5338, allocations: 2.011 MB / 451.3 MB, free: 14.45 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5339, allocations: 4 kB / 451.3 MB, free: 14.44 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.5348, allocations: 144.2 kB / 451.4 MB, free: 14.3 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.5354, allocations: 106.5 kB / 451.5 MB, free: 14.19 MB / 360.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.5355, allocations: 15.92 kB / 451.6 MB, free: 14.17 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/0.5396, allocations: 4.154 MB / 455.7 MB, free: 9.672 MB / 360.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.87e-06/0.5397, allocations: 4 kB / 455.7 MB, free: 9.668 MB / 360.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002324/0.5421, allocations: 1.354 MB / 457.1 MB, free: 8.176 MB / 360.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.5427, allocations: 263.4 kB / 457.3 MB, free: 7.898 MB / 360.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.543, allocations: 8 kB / 457.3 MB, free: 7.891 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.544, allocations: 35.97 kB / 457.4 MB, free: 7.855 MB / 360.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5441, allocations: 52.28 kB / 457.4 MB, free: 7.805 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.5443, allocations: 24 kB / 457.4 MB, free: 7.781 MB / 360.6 MB Notification: Performance of sort global known variables: time 0.001316/0.5456, allocations: 0.6595 MB / 458.1 MB, free: 7.117 MB / 360.6 MB Notification: Performance of remove unused functions: time 0.001654/0.5473, allocations: 304 kB / 458.4 MB, free: 6.82 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003906/0.5478, allocations: 308.6 kB / 458.7 MB, free: 6.52 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.5498, allocations: 0.9635 MB / 459.7 MB, free: 5.527 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 6.007e-06/0.5499, allocations: 4.125 kB / 459.7 MB, free: 5.523 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.5508, allocations: 0.5892 MB / 460.3 MB, free: 4.906 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.5528, allocations: 285.3 kB / 460.5 MB, free: 4.625 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.5587, allocations: 2.296 MB / 462.8 MB, free: 2.238 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.5601, allocations: 1.341 MB / 464.2 MB, free: 0.8711 MB / 360.6 MB Notification: Performance of SimCode: time 2.235e-06/0.5602, allocations: 0 / 464.2 MB, free: 0.8711 MB / 360.6 MB Notification: Performance of Templates: time 0.09273/0.653, allocations: 15.36 MB / 479.5 MB, free: 1.609 MB / 376.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:333:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o] Error 1