Notification: Performance of loadModel(Modelica): time 1.505/1.505, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.208e-05/1.222e-05, allocations: 2.312 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06051/0.06059, allocations: 44.37 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5705/0.6312, allocations: 316.4 MB / 0.5938 GB, free: 32.14 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.6315, allocations: 100.6 kB / 0.5939 GB, free: 32.08 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.5834/1.215, allocations: 135.6 MB / 0.7263 GB, free: 46.43 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.027e-05/1.215, allocations: 16 kB / 0.7263 GB, free: 46.42 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.00243/1.218, allocations: 1.037 MB / 0.7273 GB, free: 45.34 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.218, allocations: 8.031 kB / 0.7273 GB, free: 45.34 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/1.218, allocations: 90.98 kB / 0.7274 GB, free: 45.25 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.22, allocations: 0.5753 MB / 0.728 GB, free: 44.64 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/1.22, allocations: 23.94 kB / 0.728 GB, free: 44.62 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.22, allocations: 35.91 kB / 0.7281 GB, free: 44.58 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/1.222, allocations: 0.6189 MB / 0.7287 GB, free: 43.96 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/1.223, allocations: 0.6699 MB / 0.7293 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.223, allocations: 0 / 0.7293 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/1.223, allocations: 0 / 0.7293 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/1.223, allocations: 44.97 kB / 0.7294 GB, free: 43.22 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/1.228, allocations: 2.745 MB / 0.732 GB, free: 40.33 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/1.229, allocations: 370.8 kB / 0.7324 GB, free: 39.96 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/1.23, allocations: 254.1 kB / 0.7326 GB, free: 39.71 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/1.23, allocations: 336.8 kB / 0.733 GB, free: 39.31 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.23, allocations: 42.94 kB / 0.733 GB, free: 39.26 MB / 392.6 MB Notification: Performance of pre-optimization done (n=48): time 3.911e-06/1.23, allocations: 0 / 0.733 GB, free: 39.26 MB / 392.6 MB Notification: Performance of matching and sorting (n=58): time 0.008134/1.238, allocations: 1.874 MB / 0.7348 GB, free: 37.33 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.238, allocations: 89.59 kB / 0.7349 GB, free: 37.23 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/1.239, allocations: 442.2 kB / 0.7353 GB, free: 36.79 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/1.239, allocations: 25.7 kB / 0.7354 GB, free: 36.76 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.24, allocations: 260.2 kB / 0.7356 GB, free: 36.5 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.24, allocations: 201 kB / 0.7358 GB, free: 36.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/1.24, allocations: 4 kB / 0.7358 GB, free: 36.29 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001039/1.24, allocations: 374.8 kB / 0.7362 GB, free: 35.92 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/1.241, allocations: 277.5 kB / 0.7364 GB, free: 35.65 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/1.241, allocations: 433.3 kB / 0.7368 GB, free: 35.16 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/1.247, allocations: 0.8927 MB / 0.7377 GB, free: 34.27 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.661e-06/1.247, allocations: 0 / 0.7377 GB, free: 34.27 MB / 392.6 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007543/1.255, allocations: 1.436 MB / 0.7391 GB, free: 32.82 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003399/1.255, allocations: 1.745 MB / 0.7408 GB, free: 30.94 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.255, allocations: 4 kB / 0.7408 GB, free: 30.94 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/1.256, allocations: 172.7 kB / 0.741 GB, free: 30.77 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/1.257, allocations: 151.7 kB / 0.7411 GB, free: 30.62 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.259, allocations: 0.9892 MB / 0.7421 GB, free: 29.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/1.261, allocations: 43.88 kB / 0.7421 GB, free: 29.56 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.261, allocations: 28 kB / 0.7422 GB, free: 29.53 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.261, allocations: 4 kB / 0.7422 GB, free: 29.53 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006371/1.267, allocations: 1.271 MB / 0.7434 GB, free: 28.25 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.267, allocations: 4 kB / 0.7434 GB, free: 28.25 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/1.268, allocations: 113.4 kB / 0.7435 GB, free: 28.14 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/1.269, allocations: 151.8 kB / 0.7437 GB, free: 27.99 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.271, allocations: 0.8292 MB / 0.7445 GB, free: 27.13 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/1.272, allocations: 27.97 kB / 0.7445 GB, free: 27.11 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/1.272, allocations: 32.12 kB / 0.7445 GB, free: 27.07 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.272, allocations: 79.19 kB / 0.7446 GB, free: 27 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/1.272, allocations: 67.25 kB / 0.7447 GB, free: 26.93 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.275, allocations: 0.8514 MB / 0.7455 GB, free: 26.07 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.275, allocations: 8.062 kB / 0.7455 GB, free: 26.07 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.66e-06/1.275, allocations: 4 kB / 0.7455 GB, free: 26.06 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.275, allocations: 3.984 kB / 0.7455 GB, free: 26.06 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/1.28, allocations: 1.596 MB / 0.7471 GB, free: 24.42 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.28, allocations: 0 / 0.7471 GB, free: 24.42 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/1.281, allocations: 111.9 kB / 0.7472 GB, free: 24.31 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.281, allocations: 176.8 kB / 0.7474 GB, free: 24.13 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/1.281, allocations: 4 kB / 0.7474 GB, free: 24.13 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.283, allocations: 0.8879 MB / 0.7482 GB, free: 23.21 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.283, allocations: 3.938 kB / 0.7482 GB, free: 23.21 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003269/1.287, allocations: 1.281 MB / 0.7495 GB, free: 21.89 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/1.287, allocations: 148.2 kB / 0.7496 GB, free: 21.73 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.287, allocations: 4.094 kB / 0.7496 GB, free: 21.73 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/1.288, allocations: 39.81 kB / 0.7497 GB, free: 21.69 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.288, allocations: 52.56 kB / 0.7497 GB, free: 21.64 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/1.288, allocations: 27.98 kB / 0.7497 GB, free: 21.61 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0005077/1.289, allocations: 346.9 kB / 0.7501 GB, free: 21.27 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0019/1.291, allocations: 0.5504 MB / 0.7506 GB, free: 20.72 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/1.292, allocations: 0.531 MB / 0.7511 GB, free: 20.22 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.002461/1.295, allocations: 1.091 MB / 0.7522 GB, free: 19.13 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.704e-06/1.295, allocations: 0 / 0.7522 GB, free: 19.13 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007822/1.296, allocations: 374.9 kB / 0.7525 GB, free: 18.77 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.297, allocations: 283.6 kB / 0.7528 GB, free: 18.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.3, allocations: 1.187 MB / 0.754 GB, free: 17.27 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/1.301, allocations: 1.054 MB / 0.755 GB, free: 16.19 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/1.301, allocations: 0 / 0.755 GB, free: 16.19 MB / 392.6 MB Notification: Performance of Templates: time 0.07917/1.38, allocations: 21.55 MB / 0.7761 GB, free: 10.75 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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_Fluid_Examples_AST_BatchPlant_Test_TwoTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:448:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_eqFunction_339(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:448:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_eqFunction_339(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:449:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_eqFunction_340(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:449:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_eqFunction_340(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.c:450:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TwoTanks_eqFunction_341(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.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.o] Error 1