Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.498e-06, allocations: 1.438 kB / 247.4 MB, free: 4.652 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06453/0.06461, allocations: 44.35 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8106/0.8754, allocations: 404.1 MB / 0.6795 GB, free: 91.5 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.8757, allocations: 97.23 kB / 0.6796 GB, free: 91.45 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.8632/1.739, allocations: 209.5 MB / 0.8842 GB, free: 29.3 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001185/1.739, allocations: 36 kB / 0.8843 GB, free: 29.27 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.006334/1.746, allocations: 1.807 MB / 0.886 GB, free: 27.42 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.746, allocations: 8.031 kB / 0.886 GB, free: 27.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.747, allocations: 166.2 kB / 0.8862 GB, free: 27.25 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/1.75, allocations: 0.9922 MB / 0.8872 GB, free: 26.23 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/1.751, allocations: 198.5 kB / 0.8873 GB, free: 26.01 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005073/1.751, allocations: 67.84 kB / 0.8874 GB, free: 25.94 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004087/1.755, allocations: 1.656 MB / 0.889 GB, free: 24.28 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/1.76, allocations: 1.681 MB / 0.8907 GB, free: 22.54 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/1.76, allocations: 3.938 kB / 0.8907 GB, free: 22.53 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/1.76, allocations: 0 / 0.8907 GB, free: 22.53 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.761, allocations: 106 kB / 0.8908 GB, free: 22.43 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/1.778, allocations: 6.647 MB / 0.8973 GB, free: 15.59 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/1.78, allocations: 0.978 MB / 0.8982 GB, free: 14.61 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/1.782, allocations: 0.8358 MB / 0.899 GB, free: 13.77 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008438/1.791, allocations: 3.914 MB / 0.9029 GB, free: 9.617 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.791, allocations: 47.56 kB / 0.9029 GB, free: 9.562 MB / 392.6 MB Notification: Performance of pre-optimization done (n=110): time 5.796e-06/1.791, allocations: 4 kB / 0.9029 GB, free: 9.559 MB / 392.6 MB Notification: Performance of matching and sorting (n=122): time 0.02917/1.82, allocations: 6.491 MB / 0.9092 GB, free: 3.008 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.82, allocations: 179.1 kB / 0.9094 GB, free: 2.793 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.822, allocations: 0.6605 MB / 0.9101 GB, free: 2.121 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003699/1.822, allocations: 37.64 kB / 0.9101 GB, free: 2.078 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/1.822, allocations: 423.4 kB / 0.9105 GB, free: 1.656 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/1.823, allocations: 401.8 kB / 0.9109 GB, free: 1.262 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.823, allocations: 0 / 0.9109 GB, free: 1.262 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001316/1.824, allocations: 357.9 kB / 0.9112 GB, free: 0.9062 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.825, allocations: 0.7614 MB / 0.912 GB, free: 148 kB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.828, allocations: 0.9996 MB / 0.9129 GB, free: 15.05 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/1.843, allocations: 2.445 MB / 0.9153 GB, free: 12.6 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.843, allocations: 0 / 0.9153 GB, free: 12.6 MB / 408.6 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01948/1.862, allocations: 3.99 MB / 0.9192 GB, free: 8.594 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006608/1.863, allocations: 2.352 MB / 0.9215 GB, free: 6.055 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.863, allocations: 11.92 kB / 0.9215 GB, free: 6.043 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/1.867, allocations: 0.9995 MB / 0.9225 GB, free: 5.027 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.869, allocations: 219.6 kB / 0.9227 GB, free: 4.812 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1783/2.047, allocations: 6.667 MB / 0.9292 GB, free: 59.66 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/2.05, allocations: 65.16 kB / 0.9293 GB, free: 59.66 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/2.05, allocations: 64.91 kB / 0.9294 GB, free: 59.66 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/2.05, allocations: 3.906 kB / 0.9294 GB, free: 59.66 MB / 408.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0141/2.064, allocations: 3.105 MB / 0.9324 GB, free: 59.61 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/2.064, allocations: 13.19 kB / 0.9324 GB, free: 59.61 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/2.067, allocations: 0.7135 MB / 0.9331 GB, free: 59.57 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/2.069, allocations: 228.6 kB / 0.9333 GB, free: 59.57 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00802/2.077, allocations: 6.546 MB / 0.9397 GB, free: 54.79 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/2.079, allocations: 73.55 kB / 0.9398 GB, free: 54.79 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/2.08, allocations: 62.05 kB / 0.9398 GB, free: 54.79 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/2.08, allocations: 77.41 kB / 0.9399 GB, free: 54.71 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000473/2.081, allocations: 112.4 kB / 0.94 GB, free: 54.71 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/2.093, allocations: 3.257 MB / 0.9432 GB, free: 54.59 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/2.093, allocations: 15.38 kB / 0.9432 GB, free: 54.59 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/2.093, allocations: 0 / 0.9432 GB, free: 54.59 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/2.093, allocations: 13.38 kB / 0.9432 GB, free: 54.59 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/2.108, allocations: 4.657 MB / 0.9478 GB, free: 54.25 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/2.108, allocations: 3.406 kB / 0.9478 GB, free: 54.25 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/2.11, allocations: 153 kB / 0.9479 GB, free: 54.25 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/2.113, allocations: 1.015 MB / 0.9489 GB, free: 54.21 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/2.114, allocations: 22.7 kB / 0.9489 GB, free: 54.21 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/2.125, allocations: 6.655 MB / 0.9554 GB, free: 50.08 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/2.125, allocations: 0 / 0.9554 GB, free: 50.08 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01307/2.138, allocations: 4.211 MB / 0.9596 GB, free: 49.8 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/2.139, allocations: 398.4 kB / 0.9599 GB, free: 49.65 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/2.14, allocations: 0 / 0.9599 GB, free: 49.65 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/2.142, allocations: 76.91 kB / 0.96 GB, free: 49.65 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/2.142, allocations: 126.5 kB / 0.9601 GB, free: 49.65 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/2.143, allocations: 49.16 kB / 0.9602 GB, free: 49.65 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0008605/2.144, allocations: 0.5002 MB / 0.9607 GB, free: 49.56 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.004824/2.149, allocations: 1.04 MB / 0.9617 GB, free: 49.56 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/2.151, allocations: 0.7508 MB / 0.9624 GB, free: 49.49 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.008603/2.16, allocations: 3.45 MB / 0.9658 GB, free: 48.93 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 8.311e-06/2.16, allocations: 0 / 0.9658 GB, free: 48.93 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/2.163, allocations: 1.271 MB / 0.967 GB, free: 48.72 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/2.167, allocations: 474.8 kB / 0.9675 GB, free: 48.7 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/2.177, allocations: 2.578 MB / 0.97 GB, free: 48.27 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/2.178, allocations: 1.428 MB / 0.9714 GB, free: 47.55 MB / 408.6 MB Notification: Performance of SimCode: time 2.165e-06/2.178, allocations: 3.188 kB / 0.9714 GB, free: 47.55 MB / 408.6 MB Notification: Performance of Templates: time 0.1355/2.314, allocations: 45.08 MB / 1.015 GB, free: 44.46 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:702:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_620(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:702:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_620(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:703:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_621(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:703:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Tanks_TanksWithOverflow_eqFunction_621(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.c:704:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.o] Error 1