Notification: Performance of loadModel(Modelica): time 1.491/1.491, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.201e-05, allocations: 1.312 kB / 247.4 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07062/0.07072, allocations: 44.36 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3454, allocations: 93.59 MB / 385.3 MB, free: 3.578 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.3457, allocations: 88.69 kB / 385.4 MB, free: 3.562 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1254/0.4712, allocations: 29.87 MB / 415.3 MB, free: 1.754 MB / 312.6 MB Notification: Performance of Transformations before backend: time 7.885e-05/0.4714, allocations: 24 kB / 415.3 MB, free: 1.73 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002939/0.4744, allocations: 1.383 MB / 416.7 MB, free: 376 kB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4746, allocations: 8.031 kB / 416.7 MB, free: 368 kB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4757, allocations: 198.2 kB / 416.9 MB, free: 168 kB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.4785, allocations: 0.8489 MB / 417.7 MB, free: 15.45 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.4787, allocations: 79.83 kB / 417.8 MB, free: 15.36 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.4791, allocations: 67 kB / 417.9 MB, free: 15.3 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001862/0.481, allocations: 0.6333 MB / 418.5 MB, free: 14.91 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.4833, allocations: 0.9304 MB / 419.4 MB, free: 14.14 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.4834, allocations: 7.438 kB / 419.5 MB, free: 14.14 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4836, allocations: 0 / 419.5 MB, free: 14.14 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.4837, allocations: 28 kB / 419.5 MB, free: 14.11 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007736/0.4914, allocations: 3.728 MB / 423.2 MB, free: 11.05 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.4924, allocations: 326.9 kB / 423.5 MB, free: 10.83 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.4929, allocations: 219.8 kB / 423.7 MB, free: 10.7 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.727e-05/0.493, allocations: 13.11 kB / 423.8 MB, free: 10.69 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.4936, allocations: 244.5 kB / 424 MB, free: 10.5 MB / 328.6 MB Notification: Performance of pre-optimization done (n=63): time 5.517e-06/0.4937, allocations: 3.938 kB / 424 MB, free: 10.5 MB / 328.6 MB Notification: Performance of matching and sorting (n=66): time 0.003761/0.4975, allocations: 1.384 MB / 425.4 MB, free: 9.312 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.4977, allocations: 481.4 kB / 425.9 MB, free: 8.734 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4991, allocations: 0.7254 MB / 426.6 MB, free: 8.082 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.4992, allocations: 33.64 kB / 426.6 MB, free: 8.043 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.4998, allocations: 0.5132 MB / 427.1 MB, free: 7.52 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.5001, allocations: 220.7 kB / 427.3 MB, free: 7.301 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5002, allocations: 4 kB / 427.3 MB, free: 7.297 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.5003, allocations: 345.8 kB / 427.7 MB, free: 6.953 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.5009, allocations: 202.6 kB / 427.9 MB, free: 6.754 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.5016, allocations: 0.6368 MB / 428.5 MB, free: 5.906 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.5023, allocations: 306.9 kB / 428.8 MB, free: 5.605 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.032e-06/0.5024, allocations: 8 kB / 428.8 MB, free: 5.598 MB / 328.6 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002581/0.505, allocations: 0.9186 MB / 429.7 MB, free: 4.668 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5051, allocations: 7.906 kB / 429.8 MB, free: 4.66 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5052, allocations: 15.94 kB / 429.8 MB, free: 4.645 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009262/0.5062, allocations: 181.8 kB / 429.9 MB, free: 4.461 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5073, allocations: 219.6 kB / 430.2 MB, free: 4.246 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.5124, allocations: 3.374 MB / 433.5 MB, free: 0.6406 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.514, allocations: 52.03 kB / 433.6 MB, free: 0.5898 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5142, allocations: 48 kB / 433.6 MB, free: 0.543 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5144, allocations: 83.28 kB / 433.7 MB, free: 472 kB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.5146, allocations: 106.7 kB / 433.8 MB, free: 364 kB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.5167, allocations: 0.621 MB / 434.4 MB, free: 15.72 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.5168, allocations: 4 kB / 434.4 MB, free: 15.71 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/0.5169, allocations: 8 kB / 434.4 MB, free: 15.71 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/0.5185, allocations: 0.8757 MB / 435.3 MB, free: 14.72 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.5222, allocations: 1.577 MB / 436.9 MB, free: 13.07 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-06/0.5223, allocations: 4 kB / 436.9 MB, free: 13.07 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.5231, allocations: 115.8 kB / 437 MB, free: 12.95 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006351/0.5238, allocations: 125.8 kB / 437.1 MB, free: 12.82 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.5239, allocations: 12 kB / 437.2 MB, free: 12.81 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.5279, allocations: 3.113 MB / 440.3 MB, free: 9.461 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-06/0.528, allocations: 4 kB / 440.3 MB, free: 9.457 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002226/0.5303, allocations: 1.029 MB / 441.3 MB, free: 8.344 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.5309, allocations: 235.7 kB / 441.5 MB, free: 8.094 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.5312, allocations: 4 kB / 441.5 MB, free: 8.09 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.5321, allocations: 35.97 kB / 441.6 MB, free: 8.055 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5323, allocations: 48.44 kB / 441.6 MB, free: 8.008 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.5325, allocations: 19.98 kB / 441.6 MB, free: 7.988 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0009155/0.5334, allocations: 0.5365 MB / 442.2 MB, free: 7.441 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001515/0.535, allocations: 288.2 kB / 442.5 MB, free: 7.16 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003771/0.5354, allocations: 282.8 kB / 442.7 MB, free: 6.883 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.5379, allocations: 0.8811 MB / 443.6 MB, free: 5.973 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 8.101e-06/0.538, allocations: 5.062 kB / 443.6 MB, free: 5.969 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009696/0.5391, allocations: 473.8 kB / 444.1 MB, free: 5.488 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5408, allocations: 219.4 kB / 444.3 MB, free: 5.273 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.5451, allocations: 1.595 MB / 445.9 MB, free: 3.621 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.5463, allocations: 1.17 MB / 447.1 MB, free: 2.422 MB / 344.6 MB Notification: Performance of SimCode: time 2.304e-06/0.5464, allocations: 0 / 447.1 MB, free: 2.422 MB / 344.6 MB Notification: Performance of Templates: time 0.08634/0.6328, allocations: 14.82 MB / 461.9 MB, free: 3.684 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