Notification: Performance of loadModel(Modelica): time 1.533/1.533, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.208e-05, allocations: 1.219 kB / 247.4 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06646/0.06655, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5937/0.6604, allocations: 315.8 MB / 0.5933 GB, free: 35.02 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.6608, allocations: 87.8 kB / 0.5934 GB, free: 34.98 MB / 392.6 MB Notification: Performance of FrontEnd: time 1.2/1.861, allocations: 266.4 MB / 0.8535 GB, free: 62.05 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001541/1.861, allocations: 41.78 kB / 0.8536 GB, free: 62.04 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.006496/1.868, allocations: 1.839 MB / 0.8553 GB, free: 61.04 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.868, allocations: 9.562 kB / 0.8554 GB, free: 61.04 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.869, allocations: 177.7 kB / 0.8555 GB, free: 60.96 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/1.873, allocations: 1.124 MB / 0.8566 GB, free: 60.62 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/1.873, allocations: 138.8 kB / 0.8568 GB, free: 60.52 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/1.874, allocations: 61.06 kB / 0.8568 GB, free: 60.52 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003934/1.878, allocations: 1.632 MB / 0.8584 GB, free: 60.52 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004618/1.883, allocations: 1.634 MB / 0.86 GB, free: 60.34 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/1.883, allocations: 3.094 kB / 0.86 GB, free: 60.34 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/1.883, allocations: 2.469 kB / 0.86 GB, free: 60.34 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.884, allocations: 123.6 kB / 0.8601 GB, free: 60.34 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/1.903, allocations: 6.195 MB / 0.8662 GB, free: 58.32 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/1.905, allocations: 0.8853 MB / 0.867 GB, free: 57.93 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/1.907, allocations: 0.7012 MB / 0.8677 GB, free: 57.59 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009069/1.916, allocations: 4.187 MB / 0.8718 GB, free: 53.97 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.917, allocations: 48.12 kB / 0.8719 GB, free: 53.93 MB / 392.6 MB Notification: Performance of pre-optimization done (n=97): time 7.753e-06/1.917, allocations: 0 / 0.8719 GB, free: 53.93 MB / 392.6 MB Notification: Performance of matching and sorting (n=112): time 0.02088/1.938, allocations: 4.292 MB / 0.8761 GB, free: 51.19 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.938, allocations: 141.5 kB / 0.8762 GB, free: 51.02 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.939, allocations: 0.8236 MB / 0.877 GB, free: 50.18 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/1.94, allocations: 25.7 kB / 0.877 GB, free: 50.15 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/1.94, allocations: 478.2 kB / 0.8775 GB, free: 49.68 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/1.941, allocations: 374.4 kB / 0.8778 GB, free: 49.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.941, allocations: 0 / 0.8778 GB, free: 49.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001168/1.941, allocations: 361.9 kB / 0.8782 GB, free: 48.95 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/1.943, allocations: 0.6287 MB / 0.8788 GB, free: 48.32 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.945, allocations: 0.9523 MB / 0.8797 GB, free: 47.24 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/1.961, allocations: 2.478 MB / 0.8821 GB, free: 44.82 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.961, allocations: 7.906 kB / 0.8821 GB, free: 44.82 MB / 392.6 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01956/1.981, allocations: 3.738 MB / 0.8858 GB, free: 41.12 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007183/1.982, allocations: 3.48 MB / 0.8892 GB, free: 37.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/1.982, allocations: 8 kB / 0.8892 GB, free: 37.39 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008552/1.99, allocations: 1.119 MB / 0.8903 GB, free: 36.32 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.992, allocations: 294.6 kB / 0.8906 GB, free: 36.03 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.998, allocations: 1.987 MB / 0.8925 GB, free: 34.03 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/2.001, allocations: 58.8 kB / 0.8926 GB, free: 33.97 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004654/2.002, allocations: 77.39 kB / 0.8926 GB, free: 33.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/2.002, allocations: 4 kB / 0.8927 GB, free: 33.9 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01544/2.017, allocations: 3.112 MB / 0.8957 GB, free: 30.83 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/2.017, allocations: 8 kB / 0.8957 GB, free: 30.82 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007986/2.025, allocations: 0.9562 MB / 0.8966 GB, free: 29.91 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/2.027, allocations: 299.5 kB / 0.8969 GB, free: 29.62 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/2.03, allocations: 1.335 MB / 0.8982 GB, free: 28.26 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/2.032, allocations: 59.02 kB / 0.8983 GB, free: 28.21 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/2.033, allocations: 63.22 kB / 0.8983 GB, free: 28.15 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/2.033, allocations: 87.19 kB / 0.8984 GB, free: 28.06 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/2.033, allocations: 130.5 kB / 0.8985 GB, free: 27.93 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009046/2.042, allocations: 2.252 MB / 0.9007 GB, free: 25.73 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/2.043, allocations: 16 kB / 0.9008 GB, free: 25.71 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/2.043, allocations: 0 / 0.9008 GB, free: 25.71 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/2.043, allocations: 7.969 kB / 0.9008 GB, free: 25.71 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/2.054, allocations: 3.541 MB / 0.9042 GB, free: 22.16 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/2.054, allocations: 4 kB / 0.9042 GB, free: 22.16 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/2.055, allocations: 191.8 kB / 0.9044 GB, free: 21.97 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/2.06, allocations: 0.8146 MB / 0.9052 GB, free: 21.19 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/2.06, allocations: 23.91 kB / 0.9052 GB, free: 21.17 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/2.065, allocations: 1.968 MB / 0.9072 GB, free: 19.18 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/2.065, allocations: 0 / 0.9072 GB, free: 19.18 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008555/2.074, allocations: 2.981 MB / 0.9101 GB, free: 16.2 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/2.075, allocations: 371.3 kB / 0.9104 GB, free: 15.81 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/2.076, allocations: 11.48 kB / 0.9104 GB, free: 15.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/2.078, allocations: 73.44 kB / 0.9105 GB, free: 15.74 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/2.078, allocations: 93.11 kB / 0.9106 GB, free: 15.65 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/2.078, allocations: 55.95 kB / 0.9106 GB, free: 15.6 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001077/2.08, allocations: 0.6006 MB / 0.9112 GB, free: 14.99 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004502/2.084, allocations: 1.159 MB / 0.9124 GB, free: 13.83 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002713/2.087, allocations: 1.001 MB / 0.9133 GB, free: 12.93 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006679/2.094, allocations: 2.505 MB / 0.9158 GB, free: 10.43 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.079e-06/2.094, allocations: 4 kB / 0.9158 GB, free: 10.43 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/2.096, allocations: 0.8017 MB / 0.9166 GB, free: 9.625 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/2.1, allocations: 0.5056 MB / 0.9171 GB, free: 9.137 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/2.108, allocations: 2.462 MB / 0.9195 GB, free: 6.688 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/2.109, allocations: 1.479 MB / 0.9209 GB, free: 5.18 MB / 392.6 MB Notification: Performance of SimCode: time 2.723e-06/2.109, allocations: 0 / 0.9209 GB, free: 5.18 MB / 392.6 MB Notification: Performance of Templates: time 0.3533/2.463, allocations: 44.28 MB / 0.9642 GB, free: 103.5 MB / 408.6 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