Notification: Performance of loadModel(Modelica): time 1.564/1.564, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.117e-05, allocations: 1.344 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07582/0.07589, allocations: 44.36 MB / 291.8 MB, free: 9.246 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5798/0.6559, allocations: 321.4 MB / 0.5988 GB, free: 29.38 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.6563, allocations: 97.86 kB / 0.5989 GB, free: 29.32 MB / 392.6 MB Notification: Performance of FrontEnd: time 1.279/1.935, allocations: 321.3 MB / 0.9127 GB, free: 16.26 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001444/1.935, allocations: 46.97 kB / 0.9127 GB, free: 16.22 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005995/1.941, allocations: 2.047 MB / 0.9147 GB, free: 14.14 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.941, allocations: 8.031 kB / 0.9147 GB, free: 14.13 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.943, allocations: 197.8 kB / 0.9149 GB, free: 13.93 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/1.946, allocations: 1.256 MB / 0.9161 GB, free: 12.64 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/1.947, allocations: 52 kB / 0.9162 GB, free: 12.59 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/1.947, allocations: 68 kB / 0.9163 GB, free: 12.53 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003655/1.951, allocations: 1.801 MB / 0.918 GB, free: 10.72 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/1.954, allocations: 1.796 MB / 0.9198 GB, free: 8.824 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/1.954, allocations: 0 / 0.9198 GB, free: 8.824 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/1.954, allocations: 4 kB / 0.9198 GB, free: 8.82 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.955, allocations: 126.2 kB / 0.9199 GB, free: 8.695 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/1.969, allocations: 7.369 MB / 0.9271 GB, free: 0.9922 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/1.97, allocations: 0.8904 MB / 0.928 GB, free: 96 kB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.139/2.109, allocations: 0.7211 MB / 0.9287 GB, free: 69.78 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00586/2.115, allocations: 3.282 MB / 0.9319 GB, free: 68.28 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/2.116, allocations: 50.44 kB / 0.9319 GB, free: 68.24 MB / 392.6 MB Notification: Performance of pre-optimization done (n=119): time 6.635e-06/2.116, allocations: 3.703 kB / 0.9319 GB, free: 68.24 MB / 392.6 MB Notification: Performance of matching and sorting (n=134): time 0.02498/2.141, allocations: 4.808 MB / 0.9366 GB, free: 67.75 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/2.141, allocations: 171.8 kB / 0.9368 GB, free: 67.57 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/2.142, allocations: 0.9406 MB / 0.9377 GB, free: 67.41 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003207/2.143, allocations: 37.14 kB / 0.9377 GB, free: 67.38 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/2.143, allocations: 0.5482 MB / 0.9383 GB, free: 67.11 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/2.144, allocations: 451.3 kB / 0.9387 GB, free: 66.88 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/2.144, allocations: 0 / 0.9387 GB, free: 66.88 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001248/2.144, allocations: 385.1 kB / 0.9391 GB, free: 66.58 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/2.146, allocations: 0.7291 MB / 0.9398 GB, free: 66.58 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/2.148, allocations: 1.182 MB / 0.9409 GB, free: 66.07 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01667/2.165, allocations: 2.694 MB / 0.9436 GB, free: 66.05 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/2.165, allocations: 5.562 kB / 0.9436 GB, free: 66.05 MB / 392.6 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.02067/2.185, allocations: 4.101 MB / 0.9476 GB, free: 65.87 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001001/2.187, allocations: 5.149 MB / 0.9526 GB, free: 60.52 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/2.187, allocations: 11.34 kB / 0.9526 GB, free: 60.52 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/2.189, allocations: 469 kB / 0.9531 GB, free: 60.49 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/2.191, allocations: 357.1 kB / 0.9534 GB, free: 60.49 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/2.198, allocations: 3.378 MB / 0.9567 GB, free: 58.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/2.201, allocations: 107.8 kB / 0.9568 GB, free: 58.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004181/2.202, allocations: 86.03 kB / 0.9569 GB, free: 58.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/2.202, allocations: 3.844 kB / 0.9569 GB, free: 58.4 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01966/2.221, allocations: 3.725 MB / 0.9605 GB, free: 58.32 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/2.222, allocations: 18.84 kB / 0.9605 GB, free: 58.32 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/2.223, allocations: 335.8 kB / 0.9609 GB, free: 58.29 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/2.226, allocations: 366.1 kB / 0.9612 GB, free: 58.29 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/2.232, allocations: 3.03 MB / 0.9642 GB, free: 56.21 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/2.234, allocations: 101.2 kB / 0.9643 GB, free: 56.21 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/2.235, allocations: 84.89 kB / 0.9643 GB, free: 56.21 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/2.235, allocations: 82.62 kB / 0.9644 GB, free: 56.13 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/2.235, allocations: 152.2 kB / 0.9646 GB, free: 56.05 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/2.245, allocations: 2.504 MB / 0.967 GB, free: 55.91 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/2.245, allocations: 16 kB / 0.967 GB, free: 55.91 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/2.245, allocations: 0 / 0.967 GB, free: 55.91 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/2.245, allocations: 13.22 kB / 0.967 GB, free: 55.91 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/2.258, allocations: 3.911 MB / 0.9709 GB, free: 55.51 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/2.258, allocations: 0 / 0.9709 GB, free: 55.51 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/2.259, allocations: 243.2 kB / 0.9711 GB, free: 55.51 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/2.261, allocations: 450.8 kB / 0.9715 GB, free: 55.48 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002578/2.262, allocations: 27.7 kB / 0.9716 GB, free: 55.48 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00526/2.267, allocations: 3.098 MB / 0.9746 GB, free: 53.39 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.521e-06/2.267, allocations: 3.719 kB / 0.9746 GB, free: 53.39 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009338/2.277, allocations: 3.312 MB / 0.9778 GB, free: 52.93 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/2.277, allocations: 243 kB / 0.978 GB, free: 52.75 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/2.278, allocations: 8.969 kB / 0.9781 GB, free: 52.75 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/2.28, allocations: 84.31 kB / 0.9781 GB, free: 52.75 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/2.28, allocations: 143.5 kB / 0.9783 GB, free: 52.75 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/2.281, allocations: 55.28 kB / 0.9783 GB, free: 52.75 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001204/2.282, allocations: 0.6959 MB / 0.979 GB, free: 52.64 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005067/2.287, allocations: 1.265 MB / 0.9802 GB, free: 52.64 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003093/2.29, allocations: 1.155 MB / 0.9814 GB, free: 52.56 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007142/2.297, allocations: 2.963 MB / 0.9843 GB, free: 52.52 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.521e-06/2.298, allocations: 0 / 0.9843 GB, free: 52.52 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/2.3, allocations: 1.049 MB / 0.9853 GB, free: 52.51 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/2.305, allocations: 0.5834 MB / 0.9859 GB, free: 52.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/2.312, allocations: 2.829 MB / 0.9886 GB, free: 51.93 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.314, allocations: 1.602 MB / 0.9902 GB, free: 51.21 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/2.314, allocations: 2.5 kB / 0.9902 GB, free: 51.21 MB / 392.6 MB Notification: Performance of Templates: time 0.1349/2.449, allocations: 51.18 MB / 1.04 GB, free: 46.24 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:488:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_770(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:488:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_770(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:489:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_771(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:489:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_771(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:490:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_772(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.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o] Error 1