Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.219e-06, allocations: 2.25 kB / 247.4 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0623/0.06238, allocations: 44.36 MB / 291.7 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/0.3127, allocations: 93.58 MB / 385.3 MB, free: 3.324 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.3131, allocations: 88.16 kB / 385.4 MB, free: 3.309 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1219/0.4351, allocations: 29.85 MB / 415.3 MB, free: 1.438 MB / 312.6 MB Notification: Performance of Transformations before backend: time 7.501e-05/0.4353, allocations: 31.98 kB / 415.3 MB, free: 1.406 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003195/0.4385, allocations: 1.38 MB / 416.7 MB, free: 48 kB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4387, allocations: 8.031 kB / 416.7 MB, free: 40 kB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.4398, allocations: 202.7 kB / 416.9 MB, free: 15.84 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.4423, allocations: 0.8489 MB / 417.7 MB, free: 15.12 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4425, allocations: 75.84 kB / 417.8 MB, free: 15.04 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.4428, allocations: 71.17 kB / 417.9 MB, free: 14.97 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/0.4447, allocations: 0.6304 MB / 418.5 MB, free: 14.58 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.447, allocations: 0.9379 MB / 419.4 MB, free: 13.81 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.4472, allocations: 6.562 kB / 419.4 MB, free: 13.81 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.4473, allocations: 0 / 419.4 MB, free: 13.81 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.4474, allocations: 28 kB / 419.5 MB, free: 13.78 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007676/0.4552, allocations: 3.724 MB / 423.2 MB, free: 10.73 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000973/0.4562, allocations: 326.3 kB / 423.5 MB, free: 10.52 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.4568, allocations: 223.9 kB / 423.7 MB, free: 10.38 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.4569, allocations: 12.48 kB / 423.7 MB, free: 10.37 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.4574, allocations: 244.2 kB / 424 MB, free: 10.18 MB / 328.6 MB Notification: Performance of pre-optimization done (n=63): time 4.75e-06/0.4575, allocations: 0 / 424 MB, free: 10.18 MB / 328.6 MB Notification: Performance of matching and sorting (n=66): time 0.003576/0.4611, allocations: 1.382 MB / 425.4 MB, free: 8.996 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002653/0.4615, allocations: 477.8 kB / 425.8 MB, free: 8.422 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.4628, allocations: 0.7284 MB / 426.6 MB, free: 7.875 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.463, allocations: 25.7 kB / 426.6 MB, free: 7.844 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.4634, allocations: 0.5172 MB / 427.1 MB, free: 7.383 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.4637, allocations: 228.1 kB / 427.3 MB, free: 7.184 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4638, allocations: 4 kB / 427.3 MB, free: 7.18 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.4639, allocations: 347.5 kB / 427.7 MB, free: 6.844 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.4645, allocations: 198.6 kB / 427.9 MB, free: 6.648 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/0.4654, allocations: 0.6407 MB / 428.5 MB, free: 5.797 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.4661, allocations: 306.9 kB / 428.8 MB, free: 5.496 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.102e-06/0.4662, allocations: 4 kB / 428.8 MB, free: 5.492 MB / 328.6 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002372/0.4686, allocations: 0.9187 MB / 429.7 MB, free: 4.562 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4687, allocations: 4 kB / 429.7 MB, free: 4.559 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.469, allocations: 12 kB / 429.7 MB, free: 4.547 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009424/0.47, allocations: 193.7 kB / 429.9 MB, free: 4.352 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4711, allocations: 219.7 kB / 430.1 MB, free: 4.133 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.476, allocations: 3.359 MB / 433.5 MB, free: 0.543 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4774, allocations: 63.86 kB / 433.6 MB, free: 492 kB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4776, allocations: 44 kB / 433.6 MB, free: 448 kB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4778, allocations: 79.28 kB / 433.7 MB, free: 368 kB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.478, allocations: 110.7 kB / 433.8 MB, free: 256 kB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.48, allocations: 0.6172 MB / 434.4 MB, free: 15.62 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.4801, allocations: 8 kB / 434.4 MB, free: 15.61 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.4802, allocations: 7.984 kB / 434.4 MB, free: 15.6 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/0.4818, allocations: 0.8718 MB / 435.3 MB, free: 14.62 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.4854, allocations: 1.584 MB / 436.9 MB, free: 12.96 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-06/0.4855, allocations: 8.031 kB / 436.9 MB, free: 12.95 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.4863, allocations: 111.9 kB / 437 MB, free: 12.84 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/0.487, allocations: 137.7 kB / 437.1 MB, free: 12.7 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.4872, allocations: 8 kB / 437.1 MB, free: 12.7 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.4909, allocations: 3.105 MB / 440.3 MB, free: 9.352 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.171e-06/0.491, allocations: 4 kB / 440.3 MB, free: 9.348 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002061/0.4931, allocations: 1.026 MB / 441.3 MB, free: 8.238 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.4938, allocations: 235.8 kB / 441.5 MB, free: 7.988 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.4941, allocations: 11.89 kB / 441.5 MB, free: 7.977 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/0.495, allocations: 35.97 kB / 441.6 MB, free: 7.941 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4952, allocations: 48.42 kB / 441.6 MB, free: 7.895 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.4953, allocations: 19.98 kB / 441.6 MB, free: 7.875 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001078/0.4964, allocations: 0.5326 MB / 442.2 MB, free: 7.332 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001617/0.4981, allocations: 292.2 kB / 442.4 MB, free: 7.047 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.4986, allocations: 270.9 kB / 442.7 MB, free: 6.781 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.5009, allocations: 0.8855 MB / 443.6 MB, free: 5.867 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 8.241e-06/0.501, allocations: 4 kB / 443.6 MB, free: 5.863 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.5023, allocations: 470.2 kB / 444.1 MB, free: 5.387 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.504, allocations: 231.3 kB / 444.3 MB, free: 5.16 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.5083, allocations: 1.588 MB / 445.9 MB, free: 3.516 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/0.5093, allocations: 1.178 MB / 447 MB, free: 2.309 MB / 344.6 MB Notification: Performance of SimCode: time 2.095e-06/0.5094, allocations: 0 / 447 MB, free: 2.309 MB / 344.6 MB Notification: Performance of Templates: time 0.08384/0.5932, allocations: 14.81 MB / 461.9 MB, free: 3.566 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_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_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_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_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling_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_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:394:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_189(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:394:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_189(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:395:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_190(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:395:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_190(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:396:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_191(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_Cooling.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.o] Error 1