Notification: Performance of loadModel(Modelica): time 1.515/1.515, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.062e-05, allocations: 2.188 kB / 247.4 MB, free: 4.652 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06395/0.06403, allocations: 44.35 MB / 291.8 MB, free: 9.242 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.3113, allocations: 89.38 MB / 381.2 MB, free: 4.781 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.3117, allocations: 85.38 kB / 381.2 MB, free: 4.766 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1824/0.4941, allocations: 43.93 MB / 425.2 MB, free: 9.957 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001154/0.4944, allocations: 47.94 kB / 425.2 MB, free: 9.91 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.004073/0.4985, allocations: 1.619 MB / 426.8 MB, free: 8.238 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4987, allocations: 8.031 kB / 426.8 MB, free: 8.23 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.5005, allocations: 293.4 kB / 427.1 MB, free: 7.941 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.5044, allocations: 1.22 MB / 428.3 MB, free: 6.664 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.5046, allocations: 52 kB / 428.4 MB, free: 6.613 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/0.5051, allocations: 99.78 kB / 428.5 MB, free: 6.516 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003097/0.5082, allocations: 0.881 MB / 429.4 MB, free: 5.633 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.5119, allocations: 1.213 MB / 430.6 MB, free: 4.359 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-05/0.5121, allocations: 4 kB / 430.6 MB, free: 4.355 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.5123, allocations: 3.906 kB / 430.6 MB, free: 4.352 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.5124, allocations: 40 kB / 430.6 MB, free: 4.312 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.5244, allocations: 6.136 MB / 436.8 MB, free: 13.88 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.5253, allocations: 315 kB / 437.1 MB, free: 13.57 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/0.5264, allocations: 399.3 kB / 437.5 MB, free: 13.18 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.5265, allocations: 12.64 kB / 437.5 MB, free: 13.17 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.5268, allocations: 47.16 kB / 437.5 MB, free: 13.11 MB / 344.6 MB Notification: Performance of pre-optimization done (n=66): time 6.914e-06/0.5269, allocations: 0 / 437.5 MB, free: 13.11 MB / 344.6 MB Notification: Performance of matching and sorting (n=72): time 0.004393/0.5313, allocations: 1.657 MB / 439.2 MB, free: 11.39 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.5315, allocations: 115.5 kB / 439.3 MB, free: 11.25 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5335, allocations: 0.8975 MB / 440.2 MB, free: 10.35 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.5338, allocations: 25.7 kB / 440.2 MB, free: 10.32 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.5342, allocations: 0.6878 MB / 440.9 MB, free: 9.617 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.5345, allocations: 248.3 kB / 441.1 MB, free: 9.371 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.5346, allocations: 0 / 441.1 MB, free: 9.371 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.535, allocations: 349.9 kB / 441.5 MB, free: 9.023 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.5356, allocations: 234.5 kB / 441.7 MB, free: 8.797 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000829/0.5365, allocations: 0.6658 MB / 442.4 MB, free: 7.918 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.5374, allocations: 350.9 kB / 442.7 MB, free: 7.574 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5375, allocations: 4 kB / 442.7 MB, free: 7.57 MB / 344.6 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003132/0.5407, allocations: 1.067 MB / 443.8 MB, free: 6.484 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.5408, allocations: 4 kB / 443.8 MB, free: 6.48 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.5409, allocations: 16 kB / 443.8 MB, free: 6.465 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.5415, allocations: 123.1 kB / 443.9 MB, free: 6.336 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.5429, allocations: 259.6 kB / 444.2 MB, free: 6.082 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.547, allocations: 4.052 MB / 448.2 MB, free: 1.68 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5487, allocations: 39.89 kB / 448.3 MB, free: 1.641 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.549, allocations: 60.06 kB / 448.3 MB, free: 1.582 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.0001523/0.5492, allocations: 79.27 kB / 448.4 MB, free: 1.504 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.5496, allocations: 126.4 kB / 448.5 MB, free: 1.379 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.5518, allocations: 0.71 MB / 449.3 MB, free: 0.6484 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5519, allocations: 11.94 kB / 449.3 MB, free: 0.6367 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.552, allocations: 3.906 kB / 449.3 MB, free: 0.6328 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5521, allocations: 3.984 kB / 449.3 MB, free: 0.6289 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.5574, allocations: 2.003 MB / 451.3 MB, free: 14.52 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5575, allocations: 7.906 kB / 451.3 MB, free: 14.52 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.5584, allocations: 140.3 kB / 451.4 MB, free: 14.38 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000539/0.5591, allocations: 114.5 kB / 451.5 MB, free: 14.26 MB / 360.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.5592, allocations: 11.92 kB / 451.5 MB, free: 14.25 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.5636, allocations: 4.15 MB / 455.7 MB, free: 9.75 MB / 360.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.94e-06/0.5638, allocations: 4 kB / 455.7 MB, free: 9.746 MB / 360.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002486/0.5663, allocations: 1.358 MB / 457.1 MB, free: 8.25 MB / 360.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/0.5673, allocations: 263.4 kB / 457.3 MB, free: 7.973 MB / 360.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.5677, allocations: 4 kB / 457.3 MB, free: 7.969 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.569, allocations: 39.97 kB / 457.4 MB, free: 7.93 MB / 360.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5693, allocations: 52.28 kB / 457.4 MB, free: 7.879 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.5694, allocations: 24.19 kB / 457.4 MB, free: 7.855 MB / 360.6 MB Notification: Performance of sort global known variables: time 0.001303/0.5707, allocations: 0.6634 MB / 458.1 MB, free: 7.188 MB / 360.6 MB Notification: Performance of remove unused functions: time 0.00201/0.5728, allocations: 300 kB / 458.4 MB, free: 6.895 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/0.5734, allocations: 308.4 kB / 458.7 MB, free: 6.594 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.5756, allocations: 0.9593 MB / 459.6 MB, free: 5.605 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 9.289e-06/0.5757, allocations: 8.438 kB / 459.7 MB, free: 5.598 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5768, allocations: 0.589 MB / 460.2 MB, free: 4.98 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.5789, allocations: 289.5 kB / 460.5 MB, free: 4.695 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.5856, allocations: 2.292 MB / 462.8 MB, free: 2.312 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.5871, allocations: 1.341 MB / 464.2 MB, free: 0.9453 MB / 360.6 MB Notification: Performance of SimCode: time 2.444e-06/0.5872, allocations: 0 / 464.2 MB, free: 0.9453 MB / 360.6 MB Notification: Performance of Templates: time 0.1322/0.7195, allocations: 15.36 MB / 479.5 MB, free: 1.68 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