Notification: Performance of loadModel(Modelica): time 1.484/1.484, allocations: 194.5 MB / 200.7 MB, free: 15.3 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.359e-06, allocations: 0 / 247.4 MB, free: 14.9 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08026/0.08034, allocations: 44.36 MB / 291.7 MB, free: 2.469 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/0.6462, allocations: 315.8 MB / 0.5933 GB, free: 50.13 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.6466, allocations: 84.27 kB / 0.5934 GB, free: 50.09 MB / 402.8 MB Notification: Performance of FrontEnd: time 1.181/1.828, allocations: 266.4 MB / 0.8535 GB, free: 48.46 MB / 402.8 MB Notification: Performance of Transformations before backend: time 0.0001451/1.828, allocations: 33.44 kB / 0.8535 GB, free: 48.46 MB / 402.8 MB Notification: Performance of Generate backend data structure: time 0.006363/1.834, allocations: 1.841 MB / 0.8553 GB, free: 47.54 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.835, allocations: 9.656 kB / 0.8554 GB, free: 47.54 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.836, allocations: 182.7 kB / 0.8555 GB, free: 47.45 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/1.84, allocations: 1.115 MB / 0.8566 GB, free: 47.12 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/1.84, allocations: 142.2 kB / 0.8568 GB, free: 47.02 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/1.84, allocations: 59.75 kB / 0.8568 GB, free: 47.02 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003947/1.844, allocations: 1.632 MB / 0.8584 GB, free: 47.01 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/1.848, allocations: 1.639 MB / 0.86 GB, free: 46.84 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/1.849, allocations: 6.125 kB / 0.86 GB, free: 46.84 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/1.849, allocations: 0 / 0.86 GB, free: 46.84 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/1.849, allocations: 118.6 kB / 0.8601 GB, free: 46.84 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/1.865, allocations: 6.201 MB / 0.8662 GB, free: 44.89 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.867, allocations: 0.8856 MB / 0.867 GB, free: 44.87 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.868, allocations: 0.7038 MB / 0.8677 GB, free: 44.86 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007598/1.876, allocations: 4.175 MB / 0.8718 GB, free: 42.52 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.876, allocations: 53.02 kB / 0.8719 GB, free: 42.48 MB / 402.8 MB Notification: Performance of pre-optimization done (n=97): time 5.796e-06/1.876, allocations: 0 / 0.8719 GB, free: 42.48 MB / 402.8 MB Notification: Performance of matching and sorting (n=112): time 0.01855/1.895, allocations: 4.295 MB / 0.8761 GB, free: 41.91 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/1.895, allocations: 140 kB / 0.8762 GB, free: 41.75 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.896, allocations: 0.8189 MB / 0.877 GB, free: 41.59 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/1.897, allocations: 25.7 kB / 0.877 GB, free: 41.56 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/1.897, allocations: 481 kB / 0.8775 GB, free: 41.27 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/1.897, allocations: 373 kB / 0.8778 GB, free: 41.03 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.898, allocations: 0 / 0.8778 GB, free: 41.03 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001053/1.898, allocations: 361.5 kB / 0.8782 GB, free: 40.73 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.899, allocations: 0.63 MB / 0.8788 GB, free: 40.72 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/1.901, allocations: 0.9539 MB / 0.8797 GB, free: 40.36 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/1.915, allocations: 2.474 MB / 0.8821 GB, free: 40.35 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.915, allocations: 3.719 kB / 0.8821 GB, free: 40.35 MB / 402.8 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01792/1.933, allocations: 3.743 MB / 0.8858 GB, free: 40.21 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006764/1.934, allocations: 3.484 MB / 0.8892 GB, free: 36.59 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.934, allocations: 11.66 kB / 0.8892 GB, free: 36.59 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00828/1.943, allocations: 1.112 MB / 0.8903 GB, free: 36.58 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.945, allocations: 295.1 kB / 0.8906 GB, free: 36.58 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/1.95, allocations: 1.98 MB / 0.8925 GB, free: 36.03 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.953, allocations: 61.89 kB / 0.8926 GB, free: 36.02 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/1.953, allocations: 70.8 kB / 0.8926 GB, free: 36.02 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.953, allocations: 4.594 kB / 0.8926 GB, free: 36.02 MB / 402.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01726/1.97, allocations: 3.115 MB / 0.8957 GB, free: 35.68 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/1.971, allocations: 9.156 kB / 0.8957 GB, free: 35.68 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00844/1.979, allocations: 0.9445 MB / 0.8966 GB, free: 35.58 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.981, allocations: 304.5 kB / 0.8969 GB, free: 35.55 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.984, allocations: 1.33 MB / 0.8982 GB, free: 34.74 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/1.986, allocations: 58.09 kB / 0.8983 GB, free: 34.73 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.986, allocations: 73.41 kB / 0.8983 GB, free: 34.72 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/1.987, allocations: 80.78 kB / 0.8984 GB, free: 34.64 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/1.987, allocations: 127.3 kB / 0.8985 GB, free: 34.58 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009393/1.997, allocations: 2.267 MB / 0.9007 GB, free: 33.91 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.997, allocations: 12.16 kB / 0.9008 GB, free: 33.91 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.997, allocations: 4.562 kB / 0.9008 GB, free: 33.91 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/1.997, allocations: 8.656 kB / 0.9008 GB, free: 33.91 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/2.008, allocations: 3.546 MB / 0.9042 GB, free: 32.61 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/2.008, allocations: 1.062 kB / 0.9042 GB, free: 32.61 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/2.01, allocations: 193.5 kB / 0.9044 GB, free: 32.59 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/2.015, allocations: 0.8203 MB / 0.9052 GB, free: 32.44 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/2.016, allocations: 20.17 kB / 0.9052 GB, free: 32.44 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005546/2.021, allocations: 1.962 MB / 0.9071 GB, free: 30.78 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.311e-06/2.022, allocations: 7.438 kB / 0.9072 GB, free: 30.78 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008739/2.03, allocations: 2.978 MB / 0.9101 GB, free: 28.18 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/2.032, allocations: 371.6 kB / 0.9104 GB, free: 27.85 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/2.032, allocations: 4.516 kB / 0.9104 GB, free: 27.85 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/2.034, allocations: 66.03 kB / 0.9105 GB, free: 27.8 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/2.035, allocations: 95.61 kB / 0.9106 GB, free: 27.75 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/2.035, allocations: 50.27 kB / 0.9106 GB, free: 27.71 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.001142/2.036, allocations: 0.605 MB / 0.9112 GB, free: 27.15 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.004684/2.041, allocations: 1.166 MB / 0.9124 GB, free: 26.02 MB / 402.8 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002784/2.044, allocations: 0.9991 MB / 0.9133 GB, free: 25.24 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.006956/2.051, allocations: 2.501 MB / 0.9158 GB, free: 22.97 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.051, allocations: 3.859 kB / 0.9158 GB, free: 22.97 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/2.054, allocations: 0.8168 MB / 0.9166 GB, free: 22.16 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/2.057, allocations: 0.4955 MB / 0.9171 GB, free: 21.7 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/2.065, allocations: 2.472 MB / 0.9195 GB, free: 19.26 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/2.067, allocations: 1.472 MB / 0.9209 GB, free: 17.75 MB / 402.8 MB Notification: Performance of SimCode: time 2.235e-06/2.067, allocations: 0 / 0.9209 GB, free: 17.75 MB / 402.8 MB Notification: Performance of Templates: time 0.297/2.364, allocations: 44.28 MB / 0.9642 GB, free: 106.8 MB / 418.8 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Fluid_Examples_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:598:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_638(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:598:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_638(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:599:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_639(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:599:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_ThreeTanks_eqFunction_639(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.c:600:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.ThreeTanks.o] Error 1