Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.013e-05, allocations: 2.312 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06388/0.06396, allocations: 44.35 MB / 291.7 MB, free: 9.27 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5838/0.6479, allocations: 315.8 MB / 0.5933 GB, free: 34.96 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.6482, allocations: 87.12 kB / 0.5934 GB, free: 34.92 MB / 392.6 MB Notification: Performance of FrontEnd: time 1.211/1.859, allocations: 266.4 MB / 0.8535 GB, free: 62.74 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001723/1.859, allocations: 42.48 kB / 0.8535 GB, free: 62.73 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.007104/1.866, allocations: 1.839 MB / 0.8553 GB, free: 61.73 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.867, allocations: 7.156 kB / 0.8553 GB, free: 61.73 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/1.868, allocations: 176.3 kB / 0.8555 GB, free: 61.65 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/1.872, allocations: 1.125 MB / 0.8566 GB, free: 61.31 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/1.872, allocations: 140 kB / 0.8567 GB, free: 61.21 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005355/1.873, allocations: 56.72 kB / 0.8568 GB, free: 61.21 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004384/1.877, allocations: 1.636 MB / 0.8584 GB, free: 61.21 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/1.883, allocations: 1.64 MB / 0.86 GB, free: 61.04 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/1.883, allocations: 2.156 kB / 0.86 GB, free: 61.04 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/1.884, allocations: 4.453 kB / 0.86 GB, free: 61.04 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/1.884, allocations: 119.1 kB / 0.8601 GB, free: 61.03 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/1.902, allocations: 6.199 MB / 0.8662 GB, free: 57.96 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/1.905, allocations: 0.8932 MB / 0.867 GB, free: 57.53 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/1.906, allocations: 0.6946 MB / 0.8677 GB, free: 57.2 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009058/1.916, allocations: 4.191 MB / 0.8718 GB, free: 53.58 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.916, allocations: 45.44 kB / 0.8719 GB, free: 53.54 MB / 392.6 MB Notification: Performance of pre-optimization done (n=97): time 8.032e-06/1.916, allocations: 0 / 0.8719 GB, free: 53.54 MB / 392.6 MB Notification: Performance of matching and sorting (n=112): time 0.02043/1.936, allocations: 4.299 MB / 0.8761 GB, free: 50.5 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.936, allocations: 145.5 kB / 0.8762 GB, free: 50.33 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.938, allocations: 0.8235 MB / 0.877 GB, free: 49.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003392/1.938, allocations: 25.7 kB / 0.877 GB, free: 49.46 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/1.939, allocations: 470.7 kB / 0.8775 GB, free: 49 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/1.939, allocations: 374.5 kB / 0.8778 GB, free: 48.62 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.94, allocations: 2.156 kB / 0.8778 GB, free: 48.62 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001097/1.94, allocations: 357.9 kB / 0.8782 GB, free: 48.27 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/1.941, allocations: 0.6326 MB / 0.8788 GB, free: 47.64 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/1.943, allocations: 0.9466 MB / 0.8797 GB, free: 46.57 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.958, allocations: 2.476 MB / 0.8821 GB, free: 44.15 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/1.958, allocations: 7.906 kB / 0.8821 GB, free: 44.14 MB / 392.6 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01823/1.977, allocations: 3.739 MB / 0.8858 GB, free: 40.45 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006895/1.977, allocations: 3.482 MB / 0.8892 GB, free: 36.72 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.977, allocations: 8 kB / 0.8892 GB, free: 36.71 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008554/1.986, allocations: 1.118 MB / 0.8903 GB, free: 35.64 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.988, allocations: 303.4 kB / 0.8906 GB, free: 35.35 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/1.994, allocations: 1.979 MB / 0.8925 GB, free: 33.35 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.997, allocations: 59.11 kB / 0.8926 GB, free: 33.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003885/1.997, allocations: 75.14 kB / 0.8926 GB, free: 33.23 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.997, allocations: 4 kB / 0.8927 GB, free: 33.22 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/2.012, allocations: 3.112 MB / 0.8957 GB, free: 30.15 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/2.012, allocations: 8 kB / 0.8957 GB, free: 30.14 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007863/2.02, allocations: 0.9496 MB / 0.8966 GB, free: 29.24 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/2.022, allocations: 303.5 kB / 0.8969 GB, free: 28.94 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/2.024, allocations: 1.33 MB / 0.8982 GB, free: 27.59 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/2.026, allocations: 62.36 kB / 0.8983 GB, free: 27.54 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/2.027, allocations: 67.84 kB / 0.8983 GB, free: 27.47 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/2.027, allocations: 83.19 kB / 0.8984 GB, free: 27.39 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/2.027, allocations: 126.5 kB / 0.8985 GB, free: 27.27 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008285/2.036, allocations: 2.264 MB / 0.9007 GB, free: 25.05 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/2.036, allocations: 16 kB / 0.9008 GB, free: 25.04 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.987e-06/2.036, allocations: 3.375 kB / 0.9008 GB, free: 25.04 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/2.036, allocations: 7.969 kB / 0.9008 GB, free: 25.03 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/2.047, allocations: 3.539 MB / 0.9042 GB, free: 21.48 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/2.047, allocations: 4 kB / 0.9042 GB, free: 21.48 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/2.049, allocations: 191.7 kB / 0.9044 GB, free: 21.29 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004213/2.053, allocations: 0.8146 MB / 0.9052 GB, free: 20.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/2.053, allocations: 15.98 kB / 0.9052 GB, free: 20.49 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/2.059, allocations: 1.973 MB / 0.9072 GB, free: 18.49 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.94e-06/2.059, allocations: 3.75 kB / 0.9072 GB, free: 18.49 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008649/2.068, allocations: 2.986 MB / 0.9101 GB, free: 15.49 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/2.069, allocations: 379.3 kB / 0.9104 GB, free: 15.1 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005761/2.07, allocations: 4 kB / 0.9104 GB, free: 15.09 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/2.072, allocations: 63.84 kB / 0.9105 GB, free: 15.03 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/2.072, allocations: 96.91 kB / 0.9106 GB, free: 14.94 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/2.073, allocations: 51.97 kB / 0.9106 GB, free: 14.89 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001194/2.074, allocations: 0.6045 MB / 0.9112 GB, free: 14.28 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004668/2.079, allocations: 1.163 MB / 0.9124 GB, free: 13.11 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002768/2.082, allocations: 0.9887 MB / 0.9133 GB, free: 12.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00678/2.089, allocations: 2.501 MB / 0.9158 GB, free: 9.707 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.149e-06/2.089, allocations: 8 kB / 0.9158 GB, free: 9.699 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/2.091, allocations: 0.8015 MB / 0.9166 GB, free: 8.898 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/2.095, allocations: 0.5084 MB / 0.9171 GB, free: 8.406 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/2.103, allocations: 2.458 MB / 0.9195 GB, free: 5.961 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/2.105, allocations: 1.479 MB / 0.9209 GB, free: 4.453 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/2.105, allocations: 0 / 0.9209 GB, free: 4.453 MB / 392.6 MB Notification: Performance of Templates: time 0.3633/2.469, allocations: 44.29 MB / 0.9642 GB, free: 103.8 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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_Tanks_ThreeTanks -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.Tanks.ThreeTanks.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_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.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_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.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_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.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:598:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_638(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:598:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_638(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:599:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_639(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:599:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_639(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:600:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_640(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.Tanks.ThreeTanks.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.ThreeTanks.o] Error 1