Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 1.094 kB / 247.6 MB, free: 4.438 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06182/0.0619, allocations: 44.36 MB / 292 MB, free: 9.012 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.3053, allocations: 89.58 MB / 381.6 MB, free: 4.492 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.3057, allocations: 89.75 kB / 381.7 MB, free: 4.477 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3876/0.6934, allocations: 104.2 MB / 485.8 MB, free: 12.72 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002314/0.6937, allocations: 104 kB / 485.9 MB, free: 12.62 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.03023/0.724, allocations: 5.987 MB / 491.9 MB, free: 6.559 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7242, allocations: 12.03 kB / 491.9 MB, free: 6.547 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/0.7444, allocations: 2.828 MB / 494.8 MB, free: 3.707 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1452/0.8897, allocations: 7.53 MB / 0.4905 GB, free: 109.3 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.8901, allocations: 174.2 kB / 0.4907 GB, free: 109.3 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/0.8925, allocations: 331.8 kB / 0.491 GB, free: 109.3 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01775/0.9104, allocations: 8.693 MB / 0.4995 GB, free: 109.3 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.9356, allocations: 12.48 MB / 0.5117 GB, free: 106 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.936, allocations: 71.12 kB / 0.5117 GB, free: 106 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.9377, allocations: 40.42 kB / 0.5118 GB, free: 106 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00332/0.9411, allocations: 1.576 MB / 0.5133 GB, free: 106 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0841/1.025, allocations: 64 MB / 0.5758 GB, free: 64.84 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006371/1.032, allocations: 4.13 MB / 0.5798 GB, free: 62.79 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/1.037, allocations: 3.278 MB / 0.583 GB, free: 61.43 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02733/1.064, allocations: 13.42 MB / 0.5962 GB, free: 54.84 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.065, allocations: 65.47 kB / 0.5962 GB, free: 54.78 MB / 392.6 MB Notification: Performance of pre-optimization done (n=238): time 9.219e-06/1.065, allocations: 0 / 0.5962 GB, free: 54.78 MB / 392.6 MB Notification: Performance of matching and sorting (n=267): time 0.06465/1.129, allocations: 19.09 MB / 0.6149 GB, free: 40.06 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.13, allocations: 161.9 kB / 0.615 GB, free: 39.88 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006798/1.136, allocations: 3.697 MB / 0.6186 GB, free: 36.62 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005652/1.137, allocations: 25.7 kB / 0.6186 GB, free: 36.59 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.139, allocations: 3.621 MB / 0.6222 GB, free: 33.32 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001388/1.141, allocations: 1.035 MB / 0.6232 GB, free: 32.39 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007013/1.141, allocations: 5.781 kB / 0.6232 GB, free: 32.38 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004341/1.142, allocations: 0.6513 MB / 0.6238 GB, free: 31.83 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/1.148, allocations: 3.207 MB / 0.627 GB, free: 28.98 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008229/1.157, allocations: 7.855 MB / 0.6346 GB, free: 19.39 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008772/1.166, allocations: 4.926 MB / 0.6394 GB, free: 15.18 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.166, allocations: 44 kB / 0.6395 GB, free: 15.13 MB / 392.6 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03328/1.199, allocations: 12.12 MB / 0.6513 GB, free: 4.898 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.199, allocations: 4 kB / 0.6513 GB, free: 4.895 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.148/1.347, allocations: 6.203 MB / 0.6574 GB, free: 93.85 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/1.361, allocations: 2.666 MB / 0.66 GB, free: 93.75 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00916/1.37, allocations: 1.909 MB / 0.6619 GB, free: 93.75 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.385, allocations: 11.93 MB / 0.6735 GB, free: 86.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.396, allocations: 0.5059 MB / 0.674 GB, free: 86.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.397, allocations: 499 kB / 0.6745 GB, free: 86.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000419/1.398, allocations: 79.09 kB / 0.6746 GB, free: 86.43 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.399, allocations: 409.9 kB / 0.6749 GB, free: 86.43 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/1.418, allocations: 6.549 MB / 0.6813 GB, free: 86.22 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01697/1.435, allocations: 5.879 MB / 0.6871 GB, free: 86.05 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.569e-05/1.435, allocations: 5.375 kB / 0.6871 GB, free: 86.05 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/1.435, allocations: 19.92 kB / 0.6871 GB, free: 86.05 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03687/1.472, allocations: 14.31 MB / 0.7011 GB, free: 85.32 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/1.472, allocations: 3.969 kB / 0.7011 GB, free: 85.32 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/1.476, allocations: 472.8 kB / 0.7015 GB, free: 85.32 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/1.488, allocations: 2.68 MB / 0.7041 GB, free: 85.23 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007244/1.489, allocations: 51 kB / 0.7042 GB, free: 85.23 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/1.507, allocations: 13.06 MB / 0.717 GB, free: 77.97 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002706/1.51, allocations: 4.15 MB / 0.721 GB, free: 74.1 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0239/1.534, allocations: 10.79 MB / 0.7315 GB, free: 71.41 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.535, allocations: 459.3 kB / 0.732 GB, free: 71.08 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.537, allocations: 38.47 kB / 0.732 GB, free: 71.07 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004734/1.542, allocations: 208.2 kB / 0.7322 GB, free: 71.07 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007978/1.543, allocations: 138.3 kB / 0.7323 GB, free: 71.05 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003777/1.543, allocations: 79.56 kB / 0.7324 GB, free: 71.04 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00512/1.548, allocations: 2.461 MB / 0.7348 GB, free: 70.15 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.009592/1.558, allocations: 1.444 MB / 0.7362 GB, free: 70.15 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/1.558, allocations: 109.7 kB / 0.7363 GB, free: 70.09 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.02061/1.579, allocations: 9.387 MB / 0.7455 GB, free: 66.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.66e-06/1.579, allocations: 0 / 0.7455 GB, free: 66.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01224/1.591, allocations: 4.558 MB / 0.75 GB, free: 64.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.595, allocations: 420 kB / 0.7504 GB, free: 64.53 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.624, allocations: 12.24 MB / 0.7623 GB, free: 54.57 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009726/1.634, allocations: 4.404 MB / 0.7666 GB, free: 51.24 MB / 392.6 MB Notification: Performance of SimCode: time 2.723e-06/1.634, allocations: 0 / 0.7666 GB, free: 51.24 MB / 392.6 MB Notification: Performance of Templates: time 0.2637/1.898, allocations: 58.26 MB / 0.8235 GB, free: 79.72 MB / 392.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