Notification: Performance of loadModel(Modelica): time 1.479/1.479, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.987e-06, allocations: 1.281 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05981/0.05989, allocations: 44.36 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5711/0.6311, allocations: 321.4 MB / 0.5988 GB, free: 28.85 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6315, allocations: 98.36 kB / 0.5989 GB, free: 28.8 MB / 392.6 MB Notification: Performance of FrontEnd: time 1.299/1.93, allocations: 321.3 MB / 0.9127 GB, free: 16.12 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001455/1.931, allocations: 46.97 kB / 0.9127 GB, free: 16.07 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.006337/1.937, allocations: 2.054 MB / 0.9147 GB, free: 13.98 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.937, allocations: 8.031 kB / 0.9147 GB, free: 13.98 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/1.938, allocations: 201.8 kB / 0.9149 GB, free: 13.78 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/1.942, allocations: 1.257 MB / 0.9162 GB, free: 12.49 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/1.943, allocations: 47.98 kB / 0.9162 GB, free: 12.44 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/1.943, allocations: 72 kB / 0.9163 GB, free: 12.37 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004131/1.947, allocations: 1.793 MB / 0.918 GB, free: 10.57 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/1.952, allocations: 1.794 MB / 0.9198 GB, free: 8.676 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/1.952, allocations: 3.938 kB / 0.9198 GB, free: 8.672 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/1.952, allocations: 4 kB / 0.9198 GB, free: 8.668 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/1.952, allocations: 122.2 kB / 0.9199 GB, free: 8.547 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/1.967, allocations: 7.361 MB / 0.9271 GB, free: 0.8516 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1392/2.107, allocations: 0.8941 MB / 0.928 GB, free: 68.68 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/2.108, allocations: 0.7162 MB / 0.9287 GB, free: 68.67 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005747/2.114, allocations: 3.283 MB / 0.9319 GB, free: 67.17 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/2.114, allocations: 48.31 kB / 0.9319 GB, free: 67.13 MB / 392.6 MB Notification: Performance of pre-optimization done (n=119): time 6.146e-06/2.114, allocations: 0 / 0.9319 GB, free: 67.13 MB / 392.6 MB Notification: Performance of matching and sorting (n=134): time 0.02477/2.139, allocations: 4.812 MB / 0.9366 GB, free: 66.64 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/2.139, allocations: 175.8 kB / 0.9368 GB, free: 66.46 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/2.141, allocations: 0.9332 MB / 0.9377 GB, free: 66.3 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/2.141, allocations: 37.11 kB / 0.9377 GB, free: 66.27 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/2.142, allocations: 0.5474 MB / 0.9383 GB, free: 66 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/2.142, allocations: 457.1 kB / 0.9387 GB, free: 65.77 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/2.142, allocations: 3.062 kB / 0.9387 GB, free: 65.77 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001166/2.142, allocations: 379.3 kB / 0.9391 GB, free: 65.47 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/2.144, allocations: 0.7265 MB / 0.9398 GB, free: 65.47 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/2.146, allocations: 1.186 MB / 0.9409 GB, free: 64.96 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/2.164, allocations: 2.694 MB / 0.9436 GB, free: 64.95 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/2.165, allocations: 3.531 kB / 0.9436 GB, free: 64.95 MB / 392.6 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.02066/2.185, allocations: 4.106 MB / 0.9476 GB, free: 64.76 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.00101/2.186, allocations: 5.143 MB / 0.9526 GB, free: 59.41 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/2.187, allocations: 17.19 kB / 0.9526 GB, free: 59.41 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/2.189, allocations: 477 kB / 0.9531 GB, free: 59.38 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/2.191, allocations: 353.9 kB / 0.9534 GB, free: 59.38 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/2.198, allocations: 3.377 MB / 0.9567 GB, free: 57.29 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/2.201, allocations: 105.5 kB / 0.9568 GB, free: 57.29 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/2.201, allocations: 86.02 kB / 0.9569 GB, free: 57.29 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/2.202, allocations: 6.312 kB / 0.9569 GB, free: 57.29 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02124/2.223, allocations: 3.723 MB / 0.9605 GB, free: 57.21 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/2.223, allocations: 13.31 kB / 0.9605 GB, free: 57.21 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/2.225, allocations: 345.5 kB / 0.9609 GB, free: 57.18 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/2.227, allocations: 367.4 kB / 0.9612 GB, free: 57.18 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/2.233, allocations: 3.024 MB / 0.9642 GB, free: 55.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/2.236, allocations: 100 kB / 0.9643 GB, free: 55.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/2.236, allocations: 81.3 kB / 0.9643 GB, free: 55.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/2.236, allocations: 88.61 kB / 0.9644 GB, free: 55.02 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/2.237, allocations: 147.2 kB / 0.9646 GB, free: 54.95 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/2.246, allocations: 2.514 MB / 0.967 GB, free: 54.8 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/2.246, allocations: 16.53 kB / 0.967 GB, free: 54.8 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/2.246, allocations: 0 / 0.967 GB, free: 54.8 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/2.246, allocations: 7.594 kB / 0.967 GB, free: 54.8 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/2.258, allocations: 3.912 MB / 0.9709 GB, free: 54.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/2.258, allocations: 3.812 kB / 0.9709 GB, free: 54.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/2.26, allocations: 236.7 kB / 0.9711 GB, free: 54.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/2.262, allocations: 448.8 kB / 0.9715 GB, free: 54.37 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/2.262, allocations: 31.52 kB / 0.9716 GB, free: 54.37 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/2.267, allocations: 3.104 MB / 0.9746 GB, free: 52.28 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.149e-06/2.268, allocations: 8.75 kB / 0.9746 GB, free: 52.28 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008969/2.277, allocations: 3.303 MB / 0.9778 GB, free: 51.82 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006096/2.277, allocations: 253.2 kB / 0.9781 GB, free: 51.64 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/2.278, allocations: 10.19 kB / 0.9781 GB, free: 51.64 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/2.28, allocations: 88.5 kB / 0.9782 GB, free: 51.64 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/2.28, allocations: 129.7 kB / 0.9783 GB, free: 51.64 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/2.28, allocations: 58.98 kB / 0.9783 GB, free: 51.64 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001187/2.282, allocations: 0.7013 MB / 0.979 GB, free: 51.53 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00484/2.286, allocations: 1.255 MB / 0.9802 GB, free: 51.53 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002859/2.289, allocations: 1.144 MB / 0.9814 GB, free: 51.45 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006844/2.296, allocations: 2.96 MB / 0.9843 GB, free: 51.41 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.009e-06/2.297, allocations: 3.281 kB / 0.9843 GB, free: 51.41 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002564/2.299, allocations: 1.056 MB / 0.9853 GB, free: 51.4 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/2.304, allocations: 0.5891 MB / 0.9859 GB, free: 51.39 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/2.311, allocations: 2.826 MB / 0.9886 GB, free: 50.82 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/2.313, allocations: 1.604 MB / 0.9902 GB, free: 50.1 MB / 392.6 MB Notification: Performance of SimCode: time 2.515e-06/2.313, allocations: 3.688 kB / 0.9902 GB, free: 50.1 MB / 392.6 MB Notification: Performance of Templates: time 0.1563/2.47, allocations: 51.19 MB / 1.04 GB, free: 45.79 MB / 392.6 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