Notification: Performance of loadModel(Modelica): time 1.493/1.493, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.194e-05, allocations: 1.938 kB / 247.6 MB, free: 4.434 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06508/0.06517, allocations: 44.36 MB / 292 MB, free: 9.027 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.3045, allocations: 89.58 MB / 381.6 MB, free: 4.234 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.3049, allocations: 94.56 kB / 381.6 MB, free: 4.219 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3937/0.6986, allocations: 104.2 MB / 485.8 MB, free: 12.66 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002317/0.6989, allocations: 104 kB / 485.9 MB, free: 12.55 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0309/0.7299, allocations: 5.987 MB / 491.9 MB, free: 6.5 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7301, allocations: 8.031 kB / 491.9 MB, free: 6.492 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.7506, allocations: 2.832 MB / 494.7 MB, free: 3.645 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1455/0.8962, allocations: 7.533 MB / 0.4905 GB, free: 109.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.8966, allocations: 173.9 kB / 0.4907 GB, free: 109.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.8987, allocations: 328.8 kB / 0.491 GB, free: 109.7 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/0.9156, allocations: 8.694 MB / 0.4995 GB, free: 109.6 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.9401, allocations: 12.48 MB / 0.5117 GB, free: 106.4 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/0.9405, allocations: 75.3 kB / 0.5117 GB, free: 106.4 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.9424, allocations: 40.03 kB / 0.5118 GB, free: 106.4 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003267/0.9457, allocations: 1.569 MB / 0.5133 GB, free: 106.4 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08276/1.029, allocations: 64 MB / 0.5758 GB, free: 65.13 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/1.035, allocations: 4.137 MB / 0.5798 GB, free: 63.08 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005199/1.041, allocations: 3.277 MB / 0.583 GB, free: 61.72 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02676/1.067, allocations: 13.43 MB / 0.5961 GB, free: 55.13 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/1.068, allocations: 53.62 kB / 0.5962 GB, free: 55.08 MB / 392.6 MB Notification: Performance of pre-optimization done (n=238): time 9.08e-06/1.068, allocations: 2.906 kB / 0.5962 GB, free: 55.08 MB / 392.6 MB Notification: Performance of matching and sorting (n=267): time 0.06301/1.131, allocations: 19.11 MB / 0.6149 GB, free: 39.96 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.131, allocations: 154.5 kB / 0.615 GB, free: 39.78 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006327/1.137, allocations: 3.697 MB / 0.6186 GB, free: 36.52 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005349/1.138, allocations: 29.7 kB / 0.6186 GB, free: 36.48 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.14, allocations: 3.62 MB / 0.6222 GB, free: 33.21 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.141, allocations: 1.035 MB / 0.6232 GB, free: 32.29 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/1.142, allocations: 4 kB / 0.6232 GB, free: 32.28 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004118/1.142, allocations: 0.6456 MB / 0.6238 GB, free: 31.73 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005369/1.148, allocations: 3.209 MB / 0.627 GB, free: 28.88 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007493/1.155, allocations: 7.853 MB / 0.6346 GB, free: 19.28 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008539/1.164, allocations: 4.927 MB / 0.6394 GB, free: 15.07 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-05/1.164, allocations: 47.94 kB / 0.6395 GB, free: 15.02 MB / 392.6 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03261/1.197, allocations: 12.12 MB / 0.6513 GB, free: 4.781 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.197, allocations: 4 kB / 0.6513 GB, free: 4.777 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1434/1.34, allocations: 6.205 MB / 0.6574 GB, free: 94.34 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0128/1.353, allocations: 2.671 MB / 0.66 GB, free: 94.24 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008826/1.362, allocations: 1.898 MB / 0.6618 GB, free: 94.24 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.377, allocations: 11.96 MB / 0.6735 GB, free: 86.99 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/1.388, allocations: 0.5067 MB / 0.674 GB, free: 86.99 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.39, allocations: 0.4889 MB / 0.6745 GB, free: 86.99 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003812/1.39, allocations: 80.44 kB / 0.6746 GB, free: 86.92 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009677/1.391, allocations: 415.1 kB / 0.675 GB, free: 86.92 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/1.41, allocations: 6.55 MB / 0.6814 GB, free: 86.71 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01674/1.427, allocations: 5.88 MB / 0.6871 GB, free: 86.54 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-05/1.427, allocations: 7.156 kB / 0.6871 GB, free: 86.54 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/1.427, allocations: 15.48 kB / 0.6871 GB, free: 86.54 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03623/1.463, allocations: 14.3 MB / 0.7011 GB, free: 85.81 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/1.464, allocations: 7.094 kB / 0.7011 GB, free: 85.81 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/1.467, allocations: 476.9 kB / 0.7016 GB, free: 85.81 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/1.481, allocations: 2.671 MB / 0.7042 GB, free: 85.72 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007233/1.481, allocations: 57.31 kB / 0.7042 GB, free: 85.72 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/1.5, allocations: 13.13 MB / 0.717 GB, free: 78.46 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002858/1.503, allocations: 4.159 MB / 0.7211 GB, free: 74.59 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02345/1.526, allocations: 10.78 MB / 0.7316 GB, free: 71.77 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.528, allocations: 467.4 kB / 0.7321 GB, free: 71.44 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.529, allocations: 33.39 kB / 0.7321 GB, free: 71.43 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00477/1.534, allocations: 209.2 kB / 0.7323 GB, free: 71.43 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007941/1.535, allocations: 134.3 kB / 0.7324 GB, free: 71.41 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003732/1.535, allocations: 91.41 kB / 0.7325 GB, free: 71.39 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.005131/1.541, allocations: 2.457 MB / 0.7349 GB, free: 70.51 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.009219/1.55, allocations: 1.445 MB / 0.7363 GB, free: 70.51 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/1.55, allocations: 100.6 kB / 0.7364 GB, free: 70.46 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.02095/1.571, allocations: 9.389 MB / 0.7456 GB, free: 67.17 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.73e-06/1.571, allocations: 0 / 0.7456 GB, free: 67.17 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01261/1.584, allocations: 4.555 MB / 0.75 GB, free: 65.07 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.588, allocations: 419.6 kB / 0.7504 GB, free: 64.89 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/1.616, allocations: 12.23 MB / 0.7624 GB, free: 54.46 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009717/1.626, allocations: 4.402 MB / 0.7667 GB, free: 51.13 MB / 392.6 MB Notification: Performance of SimCode: time 2.654e-06/1.626, allocations: 0 / 0.7667 GB, free: 51.13 MB / 392.6 MB Notification: Performance of Templates: time 0.2936/1.92, allocations: 58.26 MB / 0.8236 GB, free: 77.12 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:766:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1107(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:766:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1107(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:767:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1106(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:767:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses_eqFunction_1106(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.c:768:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.o] Error 1