Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.041e-05, allocations: 1.188 kB / 247.6 MB, free: 4.438 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06439/0.06447, allocations: 44.37 MB / 292 MB, free: 9.035 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/0.3077, allocations: 89.58 MB / 381.6 MB, free: 4.383 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.308, allocations: 92.86 kB / 381.7 MB, free: 4.363 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4109/0.719, allocations: 104.2 MB / 485.8 MB, free: 12.76 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002442/0.7194, allocations: 104 kB / 485.9 MB, free: 12.66 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0326/0.752, allocations: 5.995 MB / 491.9 MB, free: 6.594 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7522, allocations: 8.031 kB / 491.9 MB, free: 6.586 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.7735, allocations: 2.832 MB / 494.8 MB, free: 3.738 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1835/0.9572, allocations: 7.523 MB / 0.4905 GB, free: 60.76 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.9576, allocations: 176.8 kB / 0.4907 GB, free: 60.76 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.9601, allocations: 324.6 kB / 0.491 GB, free: 60.76 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01796/0.9781, allocations: 8.692 MB / 0.4995 GB, free: 60.73 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02597/1.004, allocations: 12.48 MB / 0.5117 GB, free: 57.48 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/1.005, allocations: 71.47 kB / 0.5117 GB, free: 57.48 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/1.007, allocations: 39.16 kB / 0.5118 GB, free: 57.48 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/1.011, allocations: 1.574 MB / 0.5133 GB, free: 57.47 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08629/1.097, allocations: 64.01 MB / 0.5758 GB, free: 34.38 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/1.105, allocations: 4.123 MB / 0.5798 GB, free: 32.34 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006017/1.111, allocations: 3.283 MB / 0.583 GB, free: 30.97 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02986/1.141, allocations: 13.42 MB / 0.5961 GB, free: 22.8 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.141, allocations: 58.94 kB / 0.5962 GB, free: 22.74 MB / 408.6 MB Notification: Performance of pre-optimization done (n=238): time 9.149e-06/1.141, allocations: 3.406 kB / 0.5962 GB, free: 22.74 MB / 408.6 MB Notification: Performance of matching and sorting (n=267): time 0.06904/1.21, allocations: 19.09 MB / 0.6148 GB, free: 7.016 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/1.21, allocations: 150.5 kB / 0.615 GB, free: 6.84 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007861/1.218, allocations: 3.708 MB / 0.6186 GB, free: 3.566 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006094/1.219, allocations: 29.7 kB / 0.6186 GB, free: 3.531 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002917/1.222, allocations: 3.617 MB / 0.6222 GB, free: 276 kB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.224, allocations: 1.03 MB / 0.6232 GB, free: 15.34 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009973/1.225, allocations: 1.781 kB / 0.6232 GB, free: 15.34 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0006698/1.226, allocations: 0.6496 MB / 0.6238 GB, free: 14.78 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006687/1.233, allocations: 3.208 MB / 0.6269 GB, free: 11.93 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009568/1.242, allocations: 7.868 MB / 0.6346 GB, free: 2.312 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1722/1.415, allocations: 4.925 MB / 0.6394 GB, free: 81.07 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.415, allocations: 48.25 kB / 0.6395 GB, free: 81.07 MB / 424.6 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03444/1.449, allocations: 12.11 MB / 0.6513 GB, free: 80.79 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.449, allocations: 3.844 kB / 0.6513 GB, free: 80.79 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01859/1.468, allocations: 6.208 MB / 0.6574 GB, free: 80.59 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/1.482, allocations: 2.668 MB / 0.66 GB, free: 80.5 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/1.492, allocations: 1.903 MB / 0.6618 GB, free: 80.34 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.507, allocations: 11.93 MB / 0.6735 GB, free: 72.98 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/1.519, allocations: 0.5081 MB / 0.674 GB, free: 72.98 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.52, allocations: 0.4899 MB / 0.6745 GB, free: 72.97 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000428/1.521, allocations: 80.81 kB / 0.6745 GB, free: 72.9 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.522, allocations: 409.3 kB / 0.6749 GB, free: 72.9 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.541, allocations: 6.555 MB / 0.6813 GB, free: 72.68 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01797/1.559, allocations: 5.876 MB / 0.6871 GB, free: 72.5 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/1.559, allocations: 10.19 kB / 0.6871 GB, free: 72.5 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.097e-05/1.56, allocations: 13.27 kB / 0.6871 GB, free: 72.5 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04001/1.6, allocations: 14.31 MB / 0.7011 GB, free: 71.73 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/1.6, allocations: 3.875 kB / 0.7011 GB, free: 71.73 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004512/1.604, allocations: 477.4 kB / 0.7015 GB, free: 71.71 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/1.619, allocations: 2.68 MB / 0.7042 GB, free: 71.62 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007275/1.62, allocations: 55.89 kB / 0.7042 GB, free: 71.62 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/1.64, allocations: 13.06 MB / 0.717 GB, free: 63.38 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002838/1.643, allocations: 4.158 MB / 0.721 GB, free: 59.07 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02476/1.667, allocations: 10.77 MB / 0.7315 GB, free: 49.71 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.669, allocations: 467.5 kB / 0.732 GB, free: 49.25 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/1.67, allocations: 25.58 kB / 0.732 GB, free: 49.23 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/1.676, allocations: 213 kB / 0.7322 GB, free: 49.09 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008938/1.677, allocations: 140.4 kB / 0.7323 GB, free: 49.02 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005402/1.678, allocations: 87.33 kB / 0.7324 GB, free: 48.95 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.005279/1.683, allocations: 2.45 MB / 0.7348 GB, free: 46.8 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.009683/1.693, allocations: 1.453 MB / 0.7362 GB, free: 45.36 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/1.693, allocations: 101 kB / 0.7363 GB, free: 45.28 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.02054/1.714, allocations: 9.384 MB / 0.7455 GB, free: 36.78 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.94e-06/1.714, allocations: 0 / 0.7455 GB, free: 36.78 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01169/1.726, allocations: 4.56 MB / 0.75 GB, free: 32.62 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/1.729, allocations: 417.3 kB / 0.7504 GB, free: 32.27 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.759, allocations: 12.23 MB / 0.7623 GB, free: 21.53 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009667/1.769, allocations: 4.408 MB / 0.7666 GB, free: 18.2 MB / 424.6 MB Notification: Performance of SimCode: time 2.234e-06/1.769, allocations: 0 / 0.7666 GB, free: 18.2 MB / 424.6 MB Notification: Performance of Templates: time 0.3828/2.152, allocations: 58.25 MB / 0.8235 GB, free: 87.34 MB / 440.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