Notification: Performance of loadModel(Modelica): time 1.486/1.486, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.08e-06/9.219e-06, allocations: 1.625 kB / 247.4 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06146/0.06153, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5729/0.6345, allocations: 315.8 MB / 0.5933 GB, free: 34.96 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.6348, allocations: 86.75 kB / 0.5934 GB, free: 34.92 MB / 392.6 MB Notification: Performance of FrontEnd: time 1.139/1.774, allocations: 266.4 MB / 0.8535 GB, free: 62.43 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001175/1.774, allocations: 40.52 kB / 0.8536 GB, free: 62.42 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005957/1.78, allocations: 1.832 MB / 0.8553 GB, free: 61.41 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.78, allocations: 11.34 kB / 0.8554 GB, free: 61.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/1.781, allocations: 182.8 kB / 0.8555 GB, free: 61.33 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/1.785, allocations: 1.118 MB / 0.8566 GB, free: 60.99 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.785, allocations: 138.5 kB / 0.8567 GB, free: 60.89 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/1.786, allocations: 61.84 kB / 0.8568 GB, free: 60.89 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003516/1.789, allocations: 1.641 MB / 0.8584 GB, free: 60.89 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/1.793, allocations: 1.629 MB / 0.86 GB, free: 60.72 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/1.793, allocations: 7.156 kB / 0.86 GB, free: 60.72 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/1.793, allocations: 0 / 0.86 GB, free: 60.72 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/1.794, allocations: 118.8 kB / 0.8601 GB, free: 60.71 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/1.811, allocations: 6.202 MB / 0.8662 GB, free: 57.91 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/1.813, allocations: 0.8854 MB / 0.867 GB, free: 57.48 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.815, allocations: 0.7028 MB / 0.8677 GB, free: 57.14 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007962/1.823, allocations: 4.186 MB / 0.8718 GB, free: 53.53 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1.823, allocations: 45.19 kB / 0.8719 GB, free: 53.48 MB / 392.6 MB Notification: Performance of pre-optimization done (n=97): time 5.099e-06/1.823, allocations: 0.5312 kB / 0.8719 GB, free: 53.48 MB / 392.6 MB Notification: Performance of matching and sorting (n=112): time 0.01892/1.842, allocations: 4.3 MB / 0.8761 GB, free: 50.55 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.842, allocations: 141.5 kB / 0.8762 GB, free: 50.38 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.844, allocations: 0.8198 MB / 0.877 GB, free: 49.54 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.844, allocations: 29.64 kB / 0.877 GB, free: 49.51 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/1.845, allocations: 478.2 kB / 0.8775 GB, free: 49.04 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/1.845, allocations: 374.5 kB / 0.8778 GB, free: 48.66 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.845, allocations: 0 / 0.8778 GB, free: 48.66 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001002/1.845, allocations: 361.9 kB / 0.8782 GB, free: 48.3 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.847, allocations: 0.6287 MB / 0.8788 GB, free: 47.68 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.848, allocations: 0.9454 MB / 0.8797 GB, free: 46.61 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.863, allocations: 2.478 MB / 0.8821 GB, free: 44.19 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/1.863, allocations: 7.156 kB / 0.8821 GB, free: 44.18 MB / 392.6 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01799/1.881, allocations: 3.739 MB / 0.8858 GB, free: 40.48 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006983/1.882, allocations: 3.484 MB / 0.8892 GB, free: 36.76 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.882, allocations: 8 kB / 0.8892 GB, free: 36.75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/1.89, allocations: 1.121 MB / 0.8903 GB, free: 35.68 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.892, allocations: 293.8 kB / 0.8906 GB, free: 35.39 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/1.898, allocations: 1.987 MB / 0.8925 GB, free: 33.39 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.9, allocations: 63.61 kB / 0.8926 GB, free: 33.33 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.9, allocations: 67.97 kB / 0.8926 GB, free: 33.27 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.9, allocations: 8.609 kB / 0.8927 GB, free: 33.26 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01459/1.915, allocations: 3.105 MB / 0.8957 GB, free: 30.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.915, allocations: 11.98 kB / 0.8957 GB, free: 30.18 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007767/1.923, allocations: 0.9473 MB / 0.8966 GB, free: 29.28 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.925, allocations: 303.5 kB / 0.8969 GB, free: 28.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.927, allocations: 1.324 MB / 0.8982 GB, free: 27.63 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.929, allocations: 61.58 kB / 0.8983 GB, free: 27.58 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.929, allocations: 67.03 kB / 0.8983 GB, free: 27.52 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.93, allocations: 83.19 kB / 0.8984 GB, free: 27.43 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.93, allocations: 129.7 kB / 0.8985 GB, free: 27.31 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/1.939, allocations: 2.264 MB / 0.9007 GB, free: 25.09 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.939, allocations: 16 kB / 0.9008 GB, free: 25.07 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.219e-06/1.939, allocations: 0 / 0.9008 GB, free: 25.07 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.939, allocations: 7.969 kB / 0.9008 GB, free: 25.07 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.949, allocations: 3.543 MB / 0.9042 GB, free: 21.52 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.949, allocations: 3.875 kB / 0.9042 GB, free: 21.52 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.951, allocations: 191.8 kB / 0.9044 GB, free: 21.33 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004147/1.955, allocations: 0.8174 MB / 0.9052 GB, free: 20.55 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.956, allocations: 19.97 kB / 0.9052 GB, free: 20.53 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/1.961, allocations: 1.971 MB / 0.9072 GB, free: 18.53 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-06/1.961, allocations: 0 / 0.9072 GB, free: 18.53 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008586/1.97, allocations: 2.971 MB / 0.9101 GB, free: 15.54 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.971, allocations: 379.3 kB / 0.9104 GB, free: 15.15 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.971, allocations: 4 kB / 0.9104 GB, free: 15.14 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.973, allocations: 63.84 kB / 0.9105 GB, free: 15.08 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/1.973, allocations: 97.09 kB / 0.9106 GB, free: 14.99 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.974, allocations: 55.95 kB / 0.9106 GB, free: 14.93 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001035/1.975, allocations: 0.6045 MB / 0.9112 GB, free: 14.32 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00406/1.979, allocations: 1.159 MB / 0.9124 GB, free: 13.16 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/1.982, allocations: 1.007 MB / 0.9133 GB, free: 12.23 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006634/1.988, allocations: 2.501 MB / 0.9158 GB, free: 9.738 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.87e-06/1.988, allocations: 4 kB / 0.9158 GB, free: 9.734 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.991, allocations: 0.8014 MB / 0.9166 GB, free: 8.934 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.994, allocations: 0.5102 MB / 0.9171 GB, free: 8.441 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/2.002, allocations: 2.46 MB / 0.9195 GB, free: 5.992 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/2.004, allocations: 1.468 MB / 0.9209 GB, free: 4.496 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/2.004, allocations: 4 kB / 0.9209 GB, free: 4.492 MB / 392.6 MB Notification: Performance of Templates: time 0.2875/2.291, allocations: 44.28 MB / 0.9641 GB, free: 103.2 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