Notification: Performance of loadModel(Modelica): time 1.552/1.552, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.048e-05, allocations: 1.469 kB / 247.6 MB, free: 4.449 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06245/0.06253, allocations: 44.35 MB / 292 MB, free: 9.02 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.3028, allocations: 89.58 MB / 381.6 MB, free: 4.594 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3032, allocations: 92.81 kB / 381.7 MB, free: 4.578 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4006/0.7038, allocations: 104.2 MB / 485.8 MB, free: 12.74 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.000241/0.7041, allocations: 111.9 kB / 485.9 MB, free: 12.63 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.03091/0.7351, allocations: 5.995 MB / 491.9 MB, free: 6.562 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7353, allocations: 8.031 kB / 491.9 MB, free: 6.555 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/0.7558, allocations: 2.836 MB / 494.8 MB, free: 3.707 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.178/0.9339, allocations: 7.519 MB / 0.4905 GB, free: 60.87 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.9343, allocations: 176.8 kB / 0.4907 GB, free: 60.87 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.9364, allocations: 326.2 kB / 0.491 GB, free: 60.87 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01656/0.953, allocations: 8.695 MB / 0.4995 GB, free: 60.84 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.977, allocations: 12.48 MB / 0.5117 GB, free: 57.59 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.9773, allocations: 79.5 kB / 0.5117 GB, free: 57.59 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/0.9789, allocations: 40.08 kB / 0.5118 GB, free: 57.59 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003132/0.9821, allocations: 1.565 MB / 0.5133 GB, free: 57.59 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08121/1.063, allocations: 64.01 MB / 0.5758 GB, free: 34.5 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/1.07, allocations: 4.124 MB / 0.5798 GB, free: 32.45 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005646/1.076, allocations: 3.284 MB / 0.5831 GB, free: 31.09 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02872/1.105, allocations: 13.42 MB / 0.5962 GB, free: 22.77 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.105, allocations: 60.12 kB / 0.5962 GB, free: 22.7 MB / 408.6 MB Notification: Performance of pre-optimization done (n=238): time 9.848e-06/1.105, allocations: 0 / 0.5962 GB, free: 22.7 MB / 408.6 MB Notification: Performance of matching and sorting (n=267): time 0.06741/1.173, allocations: 19.09 MB / 0.6149 GB, free: 6.992 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.173, allocations: 154.5 kB / 0.615 GB, free: 6.812 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/1.18, allocations: 3.711 MB / 0.6186 GB, free: 3.535 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000578/1.181, allocations: 29.33 kB / 0.6187 GB, free: 3.504 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002762/1.184, allocations: 3.609 MB / 0.6222 GB, free: 252 kB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.185, allocations: 1.032 MB / 0.6232 GB, free: 15.32 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000721/1.186, allocations: 0 / 0.6232 GB, free: 15.32 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0007318/1.187, allocations: 0.6505 MB / 0.6238 GB, free: 14.76 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006564/1.194, allocations: 3.213 MB / 0.627 GB, free: 11.9 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009483/1.203, allocations: 7.864 MB / 0.6346 GB, free: 2.277 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.169/1.372, allocations: 4.936 MB / 0.6395 GB, free: 81.14 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.373, allocations: 46.47 kB / 0.6395 GB, free: 81.14 MB / 424.6 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03395/1.407, allocations: 12.11 MB / 0.6513 GB, free: 80.86 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.407, allocations: 7.375 kB / 0.6513 GB, free: 80.86 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01819/1.425, allocations: 6.198 MB / 0.6574 GB, free: 80.67 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.438, allocations: 2.669 MB / 0.66 GB, free: 80.57 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00926/1.447, allocations: 1.904 MB / 0.6619 GB, free: 80.41 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/1.461, allocations: 11.96 MB / 0.6735 GB, free: 73.05 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.472, allocations: 0.5154 MB / 0.674 GB, free: 73.05 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.474, allocations: 0.4907 MB / 0.6745 GB, free: 73.05 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/1.474, allocations: 78.44 kB / 0.6746 GB, free: 72.97 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/1.475, allocations: 415 kB / 0.675 GB, free: 72.97 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.494, allocations: 6.557 MB / 0.6814 GB, free: 72.75 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01626/1.51, allocations: 5.87 MB / 0.6871 GB, free: 72.58 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/1.51, allocations: 7.562 kB / 0.6871 GB, free: 72.58 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.51, allocations: 13.78 kB / 0.6871 GB, free: 72.58 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03728/1.548, allocations: 14.31 MB / 0.7011 GB, free: 71.81 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/1.548, allocations: 3.906 kB / 0.7011 GB, free: 71.81 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004367/1.552, allocations: 477.5 kB / 0.7016 GB, free: 71.79 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/1.566, allocations: 2.682 MB / 0.7042 GB, free: 71.69 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007085/1.567, allocations: 53.8 kB / 0.7042 GB, free: 71.69 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/1.587, allocations: 13.13 MB / 0.7171 GB, free: 63.18 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00281/1.59, allocations: 4.167 MB / 0.7211 GB, free: 58.86 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02306/1.613, allocations: 10.77 MB / 0.7317 GB, free: 49.49 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.614, allocations: 473.8 kB / 0.7321 GB, free: 49.03 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/1.616, allocations: 25.53 kB / 0.7321 GB, free: 49.01 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00481/1.621, allocations: 203.9 kB / 0.7323 GB, free: 48.89 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008363/1.622, allocations: 145.4 kB / 0.7325 GB, free: 48.8 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/1.622, allocations: 79.2 kB / 0.7325 GB, free: 48.74 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.005063/1.627, allocations: 2.461 MB / 0.7349 GB, free: 46.59 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.00887/1.636, allocations: 1.442 MB / 0.7363 GB, free: 45.16 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/1.636, allocations: 111.5 kB / 0.7365 GB, free: 45.06 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.02193/1.658, allocations: 9.376 MB / 0.7456 GB, free: 36.57 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.032e-06/1.659, allocations: 384 / 0.7456 GB, free: 36.57 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01199/1.671, allocations: 4.564 MB / 0.7501 GB, free: 32.41 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.674, allocations: 412.5 kB / 0.7505 GB, free: 32.06 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/1.702, allocations: 12.24 MB / 0.7624 GB, free: 21.32 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00999/1.713, allocations: 4.398 MB / 0.7667 GB, free: 17.99 MB / 424.6 MB Notification: Performance of SimCode: time 2.724e-06/1.713, allocations: 4 kB / 0.7667 GB, free: 17.99 MB / 424.6 MB Notification: Performance of Templates: time 0.3864/2.099, allocations: 58.25 MB / 0.8236 GB, free: 88.12 MB / 440.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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_Mechanics_MultiBody_Examples_Elementary_HeatLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:766:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1107(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:766:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1107(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:767:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1106(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:767:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1106(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:768:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1105(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.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o] Error 1