Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.076e-05, allocations: 1.656 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0665/0.06658, allocations: 44.37 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7131/0.7798, allocations: 315.6 MB / 0.5931 GB, free: 32.72 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.7801, allocations: 86.31 kB / 0.5932 GB, free: 32.68 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.597/1.377, allocations: 129.9 MB / 0.72 GB, free: 50.5 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.572e-05/1.377, allocations: 20 kB / 0.7201 GB, free: 50.48 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.002815/1.38, allocations: 1.088 MB / 0.7211 GB, free: 49.36 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.38, allocations: 12.03 kB / 0.7211 GB, free: 49.35 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/1.381, allocations: 90.97 kB / 0.7212 GB, free: 49.26 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/1.383, allocations: 0.663 MB / 0.7219 GB, free: 48.56 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/1.383, allocations: 80.72 kB / 0.7219 GB, free: 48.47 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.383, allocations: 32 kB / 0.722 GB, free: 48.44 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/1.385, allocations: 0.7717 MB / 0.7227 GB, free: 47.66 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/1.387, allocations: 0.8244 MB / 0.7235 GB, free: 46.82 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/1.387, allocations: 4 kB / 0.7235 GB, free: 46.81 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.387, allocations: 3.984 kB / 0.7235 GB, free: 46.81 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.18e-05/1.387, allocations: 53.28 kB / 0.7236 GB, free: 46.75 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/1.394, allocations: 3.197 MB / 0.7267 GB, free: 43.45 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/1.395, allocations: 0.5028 MB / 0.7272 GB, free: 42.94 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/1.396, allocations: 366.2 kB / 0.7275 GB, free: 42.58 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003528/1.399, allocations: 2.042 MB / 0.7295 GB, free: 40.36 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.4, allocations: 43.06 kB / 0.7296 GB, free: 40.3 MB / 392.6 MB Notification: Performance of pre-optimization done (n=56): time 6.006e-06/1.4, allocations: 0 / 0.7296 GB, free: 40.3 MB / 392.6 MB Notification: Performance of matching and sorting (n=66): time 0.01071/1.41, allocations: 2.571 MB / 0.7321 GB, free: 37.68 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.411, allocations: 85.77 kB / 0.7322 GB, free: 37.58 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/1.411, allocations: 450.1 kB / 0.7326 GB, free: 37.13 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.412, allocations: 25.7 kB / 0.7326 GB, free: 37.1 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.412, allocations: 272 kB / 0.7329 GB, free: 36.83 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/1.412, allocations: 220.7 kB / 0.7331 GB, free: 36.61 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/1.412, allocations: 0 / 0.7331 GB, free: 36.61 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001245/1.412, allocations: 379.2 kB / 0.7335 GB, free: 36.23 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/1.413, allocations: 349.4 kB / 0.7338 GB, free: 35.89 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/1.414, allocations: 0.4912 MB / 0.7343 GB, free: 35.34 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005915/1.42, allocations: 1.06 MB / 0.7353 GB, free: 34.29 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.42, allocations: 3.984 kB / 0.7353 GB, free: 34.29 MB / 392.6 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.008298/1.428, allocations: 1.761 MB / 0.737 GB, free: 32.51 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003183/1.429, allocations: 1.567 MB / 0.7386 GB, free: 30.82 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.429, allocations: 7.906 kB / 0.7386 GB, free: 30.81 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.43, allocations: 368.6 kB / 0.7389 GB, free: 30.45 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.431, allocations: 167.7 kB / 0.7391 GB, free: 30.29 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/1.434, allocations: 1.266 MB / 0.7403 GB, free: 28.99 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.435, allocations: 35.91 kB / 0.7403 GB, free: 28.96 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.435, allocations: 31.98 kB / 0.7404 GB, free: 28.93 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.436, allocations: 4 kB / 0.7404 GB, free: 28.92 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006/1.442, allocations: 1.369 MB / 0.7417 GB, free: 27.55 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.442, allocations: 4 kB / 0.7417 GB, free: 27.54 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/1.443, allocations: 244.9 kB / 0.742 GB, free: 27.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.444, allocations: 159.7 kB / 0.7421 GB, free: 27.14 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009883/1.445, allocations: 0.8606 MB / 0.743 GB, free: 26.26 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/1.446, allocations: 27.92 kB / 0.743 GB, free: 26.23 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.446, allocations: 35.98 kB / 0.743 GB, free: 26.2 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.446, allocations: 79.19 kB / 0.7431 GB, free: 26.12 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.447, allocations: 71.16 kB / 0.7432 GB, free: 26.05 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/1.451, allocations: 1.253 MB / 0.7444 GB, free: 24.78 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.451, allocations: 12 kB / 0.7444 GB, free: 24.77 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/1.451, allocations: 0 / 0.7444 GB, free: 24.77 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.451, allocations: 7.891 kB / 0.7444 GB, free: 24.76 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/1.457, allocations: 2.077 MB / 0.7464 GB, free: 22.65 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.753e-06/1.457, allocations: 4 kB / 0.7464 GB, free: 22.65 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/1.458, allocations: 115.9 kB / 0.7465 GB, free: 22.54 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/1.46, allocations: 377.2 kB / 0.7469 GB, free: 22.16 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.46, allocations: 11.98 kB / 0.7469 GB, free: 22.15 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/1.463, allocations: 1.255 MB / 0.7481 GB, free: 20.87 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/1.463, allocations: 0 / 0.7481 GB, free: 20.87 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00479/1.468, allocations: 1.751 MB / 0.7498 GB, free: 19.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/1.468, allocations: 232.1 kB / 0.7501 GB, free: 18.85 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.469, allocations: 4 kB / 0.7501 GB, free: 18.85 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.47, allocations: 36.05 kB / 0.7501 GB, free: 18.81 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.47, allocations: 60.56 kB / 0.7502 GB, free: 18.75 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.47, allocations: 27.98 kB / 0.7502 GB, free: 18.73 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0005271/1.471, allocations: 346.9 kB / 0.7505 GB, free: 18.39 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002377/1.473, allocations: 0.5894 MB / 0.7511 GB, free: 17.8 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/1.475, allocations: 0.5399 MB / 0.7516 GB, free: 17.29 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003287/1.478, allocations: 1.331 MB / 0.7529 GB, free: 15.96 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.478, allocations: 6.062 kB / 0.7529 GB, free: 15.96 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.479, allocations: 450.1 kB / 0.7534 GB, free: 15.52 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.482, allocations: 311.5 kB / 0.7537 GB, free: 15.22 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/1.486, allocations: 1.35 MB / 0.755 GB, free: 13.84 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/1.487, allocations: 1.104 MB / 0.7561 GB, free: 12.71 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/1.487, allocations: 0 / 0.7561 GB, free: 12.71 MB / 392.6 MB Notification: Performance of Templates: time 0.1638/1.651, allocations: 23.67 MB / 0.7792 GB, free: 5.16 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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_EmptyTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_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.EmptyTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_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.EmptyTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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_EmptyTanks_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.EmptyTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:420:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_eqFunction_346(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:420:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_eqFunction_346(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:421:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_eqFunction_347(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:421:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_eqFunction_347(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.c:422:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Tanks_EmptyTanks_eqFunction_348(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.EmptyTanks.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Tanks.EmptyTanks.o] Error 1