Notification: Performance of loadModel(Modelica): time 1.513/1.513, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.59e-06/8.731e-06, allocations: 1.219 kB / 247.4 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06184/0.06192, allocations: 44.35 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/0.3136, allocations: 93.59 MB / 385.3 MB, free: 3.258 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.314, allocations: 89.31 kB / 385.4 MB, free: 3.242 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1239/0.4379, allocations: 29.86 MB / 415.3 MB, free: 1.461 MB / 312.6 MB Notification: Performance of Transformations before backend: time 8.451e-05/0.4381, allocations: 28 kB / 415.3 MB, free: 1.434 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003156/0.4413, allocations: 1.379 MB / 416.7 MB, free: 76 kB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4415, allocations: 8.031 kB / 416.7 MB, free: 68 kB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.4426, allocations: 198.2 kB / 416.9 MB, free: 15.87 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.4451, allocations: 0.8441 MB / 417.7 MB, free: 15.16 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4454, allocations: 87.77 kB / 417.8 MB, free: 15.06 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.4456, allocations: 63.44 kB / 417.9 MB, free: 15 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/0.4475, allocations: 0.6332 MB / 418.5 MB, free: 14.61 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.4498, allocations: 0.9323 MB / 419.4 MB, free: 13.85 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.45, allocations: 7.984 kB / 419.4 MB, free: 13.84 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.4501, allocations: 0 / 419.4 MB, free: 13.84 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.4502, allocations: 28 kB / 419.5 MB, free: 13.81 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.4578, allocations: 3.728 MB / 423.2 MB, free: 10.76 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.4587, allocations: 325.5 kB / 423.5 MB, free: 10.54 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.4592, allocations: 227.5 kB / 423.7 MB, free: 10.41 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.4593, allocations: 12.44 kB / 423.8 MB, free: 10.39 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006719/0.46, allocations: 241 kB / 424 MB, free: 10.21 MB / 328.6 MB Notification: Performance of pre-optimization done (n=63): time 4.749e-06/0.4601, allocations: 0 / 424 MB, free: 10.21 MB / 328.6 MB Notification: Performance of matching and sorting (n=66): time 0.003673/0.4638, allocations: 1.392 MB / 425.4 MB, free: 9.016 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.464, allocations: 477.5 kB / 425.8 MB, free: 8.441 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.4657, allocations: 0.7234 MB / 426.6 MB, free: 7.898 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4659, allocations: 33.69 kB / 426.6 MB, free: 7.859 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.4663, allocations: 0.5045 MB / 427.1 MB, free: 7.41 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.4666, allocations: 230.9 kB / 427.3 MB, free: 7.211 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.4667, allocations: 3.938 kB / 427.3 MB, free: 7.207 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4668, allocations: 351 kB / 427.7 MB, free: 6.875 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.4674, allocations: 196.8 kB / 427.9 MB, free: 6.684 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/0.4683, allocations: 0.6407 MB / 428.5 MB, free: 5.832 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.469, allocations: 302.9 kB / 428.8 MB, free: 5.535 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.962e-06/0.4691, allocations: 4 kB / 428.8 MB, free: 5.531 MB / 328.6 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002434/0.4716, allocations: 0.9265 MB / 429.7 MB, free: 4.594 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4717, allocations: 11.91 kB / 429.7 MB, free: 4.582 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.4718, allocations: 12 kB / 429.8 MB, free: 4.57 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009243/0.4728, allocations: 189.8 kB / 429.9 MB, free: 4.379 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4741, allocations: 211.7 kB / 430.2 MB, free: 4.172 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.479, allocations: 3.366 MB / 433.5 MB, free: 0.5742 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4805, allocations: 55.97 kB / 433.6 MB, free: 0.5195 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.4807, allocations: 48 kB / 433.6 MB, free: 484 kB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.4808, allocations: 83.27 kB / 433.7 MB, free: 400 kB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.4811, allocations: 106.7 kB / 433.8 MB, free: 292 kB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.483, allocations: 0.6133 MB / 434.4 MB, free: 15.66 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4831, allocations: 8 kB / 434.4 MB, free: 15.65 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.4832, allocations: 4 kB / 434.4 MB, free: 15.64 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001744/0.485, allocations: 0.8834 MB / 435.3 MB, free: 14.65 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.4888, allocations: 1.581 MB / 436.9 MB, free: 13 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.683e-06/0.4889, allocations: 0 / 436.9 MB, free: 13 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/0.4898, allocations: 111.9 kB / 437 MB, free: 12.89 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/0.4905, allocations: 133.6 kB / 437.1 MB, free: 12.75 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.4906, allocations: 15.98 kB / 437.2 MB, free: 12.73 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.4943, allocations: 3.101 MB / 440.3 MB, free: 9.395 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.4944, allocations: 8.016 kB / 440.3 MB, free: 9.387 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002285/0.4968, allocations: 1.033 MB / 441.3 MB, free: 8.27 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.4975, allocations: 231.7 kB / 441.5 MB, free: 8.023 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.4978, allocations: 4 kB / 441.5 MB, free: 8.02 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/0.4987, allocations: 35.97 kB / 441.6 MB, free: 7.984 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4989, allocations: 48.42 kB / 441.6 MB, free: 7.938 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.4991, allocations: 20.12 kB / 441.6 MB, free: 7.918 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0009218/0.5, allocations: 0.5403 MB / 442.2 MB, free: 7.367 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.0018/0.5019, allocations: 292.2 kB / 442.5 MB, free: 7.082 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.5023, allocations: 274.8 kB / 442.7 MB, free: 6.812 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.5047, allocations: 0.8816 MB / 443.6 MB, free: 5.902 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 7.822e-06/0.5048, allocations: 4 kB / 443.6 MB, free: 5.898 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.5059, allocations: 474.2 kB / 444.1 MB, free: 5.418 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.5077, allocations: 223.4 kB / 444.3 MB, free: 5.199 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.5119, allocations: 1.588 MB / 445.9 MB, free: 3.555 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.513, allocations: 1.17 MB / 447 MB, free: 2.355 MB / 344.6 MB Notification: Performance of SimCode: time 2.305e-06/0.5131, allocations: 0 / 447 MB, free: 2.355 MB / 344.6 MB Notification: Performance of Templates: time 0.07974/0.5929, allocations: 14.81 MB / 461.9 MB, free: 3.605 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:394:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_189(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:394:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_189(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:395:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_190(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:395:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_eqFunction_190(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.c:396:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.o] Error 1