Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.848e-06, allocations: 1 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06676/0.06685, allocations: 44.36 MB / 291.7 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8091/0.8761, allocations: 404.1 MB / 0.6795 GB, free: 91.52 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.8764, allocations: 83.64 kB / 0.6796 GB, free: 91.48 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.8662/1.743, allocations: 209.5 MB / 0.8842 GB, free: 29.29 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001247/1.743, allocations: 31.36 kB / 0.8842 GB, free: 29.27 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.006578/1.75, allocations: 1.803 MB / 0.886 GB, free: 27.42 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.75, allocations: 8.031 kB / 0.886 GB, free: 27.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.751, allocations: 170.2 kB / 0.8862 GB, free: 27.25 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/1.755, allocations: 0.9956 MB / 0.8871 GB, free: 26.23 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/1.755, allocations: 202.4 kB / 0.8873 GB, free: 26 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005737/1.756, allocations: 59.91 kB / 0.8874 GB, free: 25.94 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004284/1.76, allocations: 1.66 MB / 0.889 GB, free: 24.28 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004944/1.765, allocations: 1.681 MB / 0.8907 GB, free: 22.53 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/1.765, allocations: 0 / 0.8907 GB, free: 22.53 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/1.766, allocations: 7.984 kB / 0.8907 GB, free: 22.52 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/1.766, allocations: 114 kB / 0.8908 GB, free: 22.41 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/1.783, allocations: 6.64 MB / 0.8973 GB, free: 15.59 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/1.785, allocations: 0.9703 MB / 0.8982 GB, free: 14.61 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/1.787, allocations: 0.8397 MB / 0.899 GB, free: 13.77 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008593/1.796, allocations: 3.929 MB / 0.9029 GB, free: 9.598 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.796, allocations: 43.56 kB / 0.9029 GB, free: 9.547 MB / 392.6 MB Notification: Performance of pre-optimization done (n=110): time 5.447e-06/1.796, allocations: 0 / 0.9029 GB, free: 9.547 MB / 392.6 MB Notification: Performance of matching and sorting (n=122): time 0.02856/1.824, allocations: 6.498 MB / 0.9093 GB, free: 2.988 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.825, allocations: 171.1 kB / 0.9094 GB, free: 2.781 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.826, allocations: 0.6605 MB / 0.9101 GB, free: 2.109 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/1.826, allocations: 29.7 kB / 0.9101 GB, free: 2.074 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/1.827, allocations: 427.4 kB / 0.9105 GB, free: 1.648 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005858/1.827, allocations: 400.8 kB / 0.9109 GB, free: 1.254 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.827, allocations: 4 kB / 0.9109 GB, free: 1.25 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.828, allocations: 361.9 kB / 0.9112 GB, free: 0.8906 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/1.829, allocations: 0.7536 MB / 0.912 GB, free: 140 kB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/1.832, allocations: 1.007 MB / 0.9129 GB, free: 15.04 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.846, allocations: 2.441 MB / 0.9153 GB, free: 12.59 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.846, allocations: 0 / 0.9153 GB, free: 12.59 MB / 408.6 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01856/1.864, allocations: 3.984 MB / 0.9192 GB, free: 8.59 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006252/1.865, allocations: 2.363 MB / 0.9215 GB, free: 6.039 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.865, allocations: 8 kB / 0.9215 GB, free: 6.031 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.869, allocations: 1.003 MB / 0.9225 GB, free: 5.016 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.87, allocations: 219.6 kB / 0.9227 GB, free: 4.801 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1754/2.046, allocations: 6.653 MB / 0.9292 GB, free: 59.74 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/2.048, allocations: 70.39 kB / 0.9293 GB, free: 59.74 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/2.049, allocations: 62.12 kB / 0.9294 GB, free: 59.74 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/2.049, allocations: 3.656 kB / 0.9294 GB, free: 59.74 MB / 408.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01515/2.064, allocations: 3.106 MB / 0.9324 GB, free: 59.68 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/2.064, allocations: 7.219 kB / 0.9324 GB, free: 59.68 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/2.067, allocations: 0.7191 MB / 0.9331 GB, free: 59.64 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/2.069, allocations: 229 kB / 0.9333 GB, free: 59.64 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/2.076, allocations: 6.552 MB / 0.9397 GB, free: 54.86 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/2.078, allocations: 67.61 kB / 0.9398 GB, free: 54.86 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/2.079, allocations: 56.56 kB / 0.9398 GB, free: 54.86 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/2.079, allocations: 83.16 kB / 0.9399 GB, free: 54.79 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/2.079, allocations: 118.3 kB / 0.94 GB, free: 54.79 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/2.091, allocations: 3.25 MB / 0.9432 GB, free: 54.67 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/2.091, allocations: 17.5 kB / 0.9432 GB, free: 54.67 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/2.091, allocations: 3.938 kB / 0.9432 GB, free: 54.67 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/2.091, allocations: 10.77 kB / 0.9432 GB, free: 54.67 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/2.105, allocations: 4.662 MB / 0.9478 GB, free: 54.33 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/2.106, allocations: 3.5 kB / 0.9478 GB, free: 54.33 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/2.107, allocations: 141.3 kB / 0.9479 GB, free: 54.33 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/2.111, allocations: 1.017 MB / 0.9489 GB, free: 54.29 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/2.111, allocations: 21.59 kB / 0.9489 GB, free: 54.29 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/2.122, allocations: 6.654 MB / 0.9554 GB, free: 50.16 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/2.122, allocations: 3.562 kB / 0.9554 GB, free: 50.16 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01293/2.135, allocations: 4.214 MB / 0.9596 GB, free: 49.89 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/2.137, allocations: 399.2 kB / 0.9599 GB, free: 49.73 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/2.137, allocations: 3.906 kB / 0.9599 GB, free: 49.73 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/2.139, allocations: 75.81 kB / 0.96 GB, free: 49.73 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/2.14, allocations: 127.5 kB / 0.9601 GB, free: 49.73 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/2.14, allocations: 48.06 kB / 0.9602 GB, free: 49.73 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0008483/2.141, allocations: 0.4935 MB / 0.9607 GB, free: 49.64 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.004667/2.145, allocations: 1.043 MB / 0.9617 GB, free: 49.64 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002212/2.148, allocations: 0.7514 MB / 0.9624 GB, free: 49.57 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.008686/2.157, allocations: 3.445 MB / 0.9658 GB, free: 49.02 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 8.241e-06/2.157, allocations: 0 / 0.9658 GB, free: 49.02 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/2.16, allocations: 1.268 MB / 0.967 GB, free: 48.8 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/2.164, allocations: 474.9 kB / 0.9675 GB, free: 48.79 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00977/2.174, allocations: 2.577 MB / 0.97 GB, free: 48.36 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/2.176, allocations: 1.439 MB / 0.9714 GB, free: 47.63 MB / 408.6 MB Notification: Performance of SimCode: time 2.304e-06/2.176, allocations: 0 / 0.9714 GB, free: 47.63 MB / 408.6 MB Notification: Performance of Templates: time 0.1919/2.368, allocations: 45.08 MB / 1.015 GB, free: 44.48 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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_TanksWithOverflow -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=9 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_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.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_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.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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_TanksWithOverflow_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.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:702:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_620(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:702:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_620(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:703:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_621(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:703:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_621(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:704:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_622(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.TanksWithOverflow.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.o] Error 1