Notification: Performance of loadModel(Modelica): time 1.591/1.591, allocations: 194.5 MB / 200.7 MB, free: 7.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 1.938 kB / 247.4 MB, free: 5.488 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0622/0.06229, allocations: 44.36 MB / 291.7 MB, free: 11.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5941/0.6565, allocations: 321.4 MB / 0.5988 GB, free: 32.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6568, allocations: 94.78 kB / 0.5989 GB, free: 32.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.37/2.027, allocations: 321.3 MB / 0.9127 GB, free: 25.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001585/2.027, allocations: 42.08 kB / 0.9127 GB, free: 25.24 MB / 410.7 MB Notification: Performance of Generate backend data structure: time 0.006603/2.034, allocations: 2.051 MB / 0.9147 GB, free: 23.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/2.034, allocations: 12.03 kB / 0.9147 GB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/2.035, allocations: 197.8 kB / 0.9149 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/2.039, allocations: 1.26 MB / 0.9162 GB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/2.039, allocations: 44 kB / 0.9162 GB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/2.04, allocations: 72 kB / 0.9163 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004393/2.044, allocations: 1.797 MB / 0.918 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/2.049, allocations: 1.79 MB / 0.9198 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/2.049, allocations: 4 kB / 0.9198 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/2.05, allocations: 7.984 kB / 0.9198 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/2.05, allocations: 122.2 kB / 0.9199 GB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/2.066, allocations: 7.373 MB / 0.9271 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/2.068, allocations: 0.8865 MB / 0.928 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/2.07, allocations: 0.7188 MB / 0.9287 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006849/2.077, allocations: 3.285 MB / 0.9319 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/2.077, allocations: 51.38 kB / 0.9319 GB, free: 4.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 7.962e-06/2.077, allocations: 0 / 0.9319 GB, free: 4.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=134): time 0.02589/2.103, allocations: 4.822 MB / 0.9366 GB, free: 15.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.103, allocations: 171.5 kB / 0.9368 GB, free: 15.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/2.105, allocations: 0.9285 MB / 0.9377 GB, free: 14.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/2.106, allocations: 45.62 kB / 0.9377 GB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/2.106, allocations: 0.5453 MB / 0.9383 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006822/2.107, allocations: 457.4 kB / 0.9387 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/2.107, allocations: 0 / 0.9387 GB, free: 13.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003532/2.108, allocations: 377.9 kB / 0.9391 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/2.11, allocations: 0.7302 MB / 0.9398 GB, free: 12.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/2.112, allocations: 1.183 MB / 0.9409 GB, free: 11.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/2.13, allocations: 2.693 MB / 0.9436 GB, free: 8.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/2.13, allocations: 4 kB / 0.9436 GB, free: 8.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.02161/2.151, allocations: 4.105 MB / 0.9476 GB, free: 4.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1807/2.332, allocations: 5.148 MB / 0.9526 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/2.333, allocations: 11.34 kB / 0.9526 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/2.335, allocations: 463.7 kB / 0.9531 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/2.337, allocations: 356.1 kB / 0.9534 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/2.345, allocations: 3.38 MB / 0.9567 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/2.348, allocations: 104.7 kB / 0.9568 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/2.348, allocations: 85.36 kB / 0.9569 GB, free: 55.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/2.348, allocations: 3.094 kB / 0.9569 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01989/2.368, allocations: 3.728 MB / 0.9605 GB, free: 55.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/2.369, allocations: 11.41 kB / 0.9605 GB, free: 55.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/2.37, allocations: 352.9 kB / 0.9609 GB, free: 55.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/2.373, allocations: 368.7 kB / 0.9612 GB, free: 55.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/2.379, allocations: 3.023 MB / 0.9642 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/2.381, allocations: 100.9 kB / 0.9643 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/2.382, allocations: 84.62 kB / 0.9644 GB, free: 53.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/2.382, allocations: 82.5 kB / 0.9644 GB, free: 53.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/2.383, allocations: 148.1 kB / 0.9646 GB, free: 53.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/2.393, allocations: 2.504 MB / 0.967 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/2.393, allocations: 17.66 kB / 0.967 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/2.393, allocations: 0 / 0.967 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/2.394, allocations: 7.219 kB / 0.967 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/2.407, allocations: 3.914 MB / 0.9709 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/2.407, allocations: 3.891 kB / 0.9709 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/2.409, allocations: 238.8 kB / 0.9711 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/2.411, allocations: 449.9 kB / 0.9715 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/2.412, allocations: 31.95 kB / 0.9716 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005411/2.417, allocations: 3.092 MB / 0.9746 GB, free: 50.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/2.417, allocations: 3.594 kB / 0.9746 GB, free: 50.46 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009702/2.427, allocations: 3.323 MB / 0.9778 GB, free: 50.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/2.428, allocations: 236.6 kB / 0.9781 GB, free: 49.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006829/2.429, allocations: 12.75 kB / 0.9781 GB, free: 49.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/2.431, allocations: 85.55 kB / 0.9781 GB, free: 49.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/2.431, allocations: 134.2 kB / 0.9783 GB, free: 49.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/2.432, allocations: 57.61 kB / 0.9783 GB, free: 49.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001355/2.433, allocations: 0.6967 MB / 0.979 GB, free: 49.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005631/2.439, allocations: 1.258 MB / 0.9802 GB, free: 49.81 MB / 426.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/2.442, allocations: 1.154 MB / 0.9814 GB, free: 49.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007335/2.45, allocations: 2.97 MB / 0.9843 GB, free: 49.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.45, allocations: 5.531 kB / 0.9843 GB, free: 49.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002566/2.453, allocations: 1.049 MB / 0.9853 GB, free: 49.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/2.457, allocations: 0.5798 MB / 0.9859 GB, free: 49.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/2.464, allocations: 2.834 MB / 0.9886 GB, free: 49.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/2.467, allocations: 1.601 MB / 0.9902 GB, free: 48.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.305e-06/2.467, allocations: 2.125 kB / 0.9902 GB, free: 48.36 MB / 426.7 MB Notification: Performance of Templates: time 0.1767/2.643, allocations: 51.18 MB / 1.04 GB, free: 45.1 MB / 426.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.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_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:488:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_770(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:488:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_770(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:489:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_771(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:489:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_AST_BatchPlant_Test_TanksWithEmptyingPipe2_eqFunction_771(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.c:490:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.o] Error 1