Notification: Performance of loadModel(Modelica): time 1.538/1.538, allocations: 194.5 MB / 200.7 MB, free: 5.141 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.289e-06, allocations: 1.125 kB / 247.6 MB, free: 4.523 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06282/0.06289, allocations: 44.36 MB / 291.9 MB, free: 9.066 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/0.6257, allocations: 276.4 MB / 0.555 GB, free: 86.86 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.626, allocations: 82.67 kB / 0.5551 GB, free: 86.79 MB / 392.6 MB Notification: Performance of FrontEnd: time 9.392/10.02, allocations: 2.193 GB / 2.748 GB, free: 26.77 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.0007812/10.02, allocations: 192.6 kB / 2.748 GB, free: 26.74 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.03738/10.06, allocations: 10.19 MB / 2.758 GB, free: 21.8 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/10.06, allocations: 10.66 kB / 2.758 GB, free: 21.8 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/10.07, allocations: 1.308 MB / 2.759 GB, free: 21.39 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/10.1, allocations: 6.556 MB / 2.766 GB, free: 20.34 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/10.1, allocations: 182.9 kB / 2.766 GB, free: 20.34 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/10.1, allocations: 324.5 kB / 2.766 GB, free: 20.34 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01969/10.12, allocations: 7.88 MB / 2.774 GB, free: 20.32 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/10.14, allocations: 8.864 MB / 2.782 GB, free: 18.89 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/10.14, allocations: 18.41 kB / 2.782 GB, free: 18.89 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/10.15, allocations: 24.59 kB / 2.783 GB, free: 18.89 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007849/10.15, allocations: 0.6304 MB / 2.783 GB, free: 18.88 MB / 0.4928 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07419/10.22, allocations: 34.47 MB / 2.817 GB, free: 3.062 MB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/10.24, allocations: 5.688 MB / 2.822 GB, free: 1.223 MB / 0.4928 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008866/10.24, allocations: 3.669 MB / 2.826 GB, free: 15.99 MB / 0.5084 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008545/10.25, allocations: 5.7 MB / 2.831 GB, free: 10.07 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/10.25, allocations: 95.08 kB / 2.832 GB, free: 9.984 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=500): time 1.299e-05/10.25, allocations: 0 / 2.832 GB, free: 9.984 MB / 0.5084 GB Notification: Performance of matching and sorting (n=632): time 0.4993/10.75, allocations: 39.82 MB / 2.87 GB, free: 72.59 MB / 0.5241 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/10.75, allocations: 170.9 kB / 2.871 GB, free: 72.46 MB / 0.5241 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/10.76, allocations: 3.255 MB / 2.874 GB, free: 72.14 MB / 0.5241 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/10.76, allocations: 29.42 kB / 2.874 GB, free: 72.11 MB / 0.5241 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/10.76, allocations: 2.125 MB / 2.876 GB, free: 71.22 MB / 0.5241 GB Notification: Performance of collectInitialBindings (initialization): time 0.003584/10.77, allocations: 2.085 MB / 2.878 GB, free: 70.12 MB / 0.5241 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/10.77, allocations: 0 / 2.878 GB, free: 70.12 MB / 0.5241 GB Notification: Performance of setup shared object (initialization): time 0.0005864/10.77, allocations: 0.5949 MB / 2.879 GB, free: 69.8 MB / 0.5241 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009334/10.78, allocations: 3.955 MB / 2.882 GB, free: 69.79 MB / 0.5241 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/10.79, allocations: 5.595 MB / 2.888 GB, free: 68.12 MB / 0.5241 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06063/10.85, allocations: 8.769 MB / 2.896 GB, free: 68.03 MB / 0.5241 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.089e-05/10.85, allocations: 11.09 kB / 2.896 GB, free: 68.03 MB / 0.5241 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.08584/10.94, allocations: 16.22 MB / 2.912 GB, free: 67.33 MB / 0.5241 GB Notification: Performance of prepare postOptimizeDAE: time 0.003822/10.94, allocations: 20.61 MB / 2.932 GB, free: 45.74 MB / 0.5241 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/10.94, allocations: 48.97 kB / 2.932 GB, free: 45.74 MB / 0.5241 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01394/10.95, allocations: 3.48 MB / 2.936 GB, free: 45.55 MB / 0.5241 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008617/10.96, allocations: 1.459 MB / 2.937 GB, free: 45.55 MB / 0.5241 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03821/11, allocations: 18.99 MB / 2.956 GB, free: 33.56 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01421/11.02, allocations: 360.8 kB / 2.956 GB, free: 33.54 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002731/11.02, allocations: 0.6899 MB / 2.957 GB, free: 33.54 MB / 0.5241 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/11.02, allocations: 6.656 kB / 2.957 GB, free: 33.54 MB / 0.5241 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08558/11.1, allocations: 15.09 MB / 2.972 GB, free: 33.16 MB / 0.5241 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/11.11, allocations: 47.22 kB / 2.972 GB, free: 33.16 MB / 0.5241 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/11.12, allocations: 3.085 MB / 2.975 GB, free: 32.98 MB / 0.5241 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00957/11.13, allocations: 1.489 MB / 2.976 GB, free: 32.98 MB / 0.5241 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03479/11.16, allocations: 21.99 MB / 2.998 GB, free: 36.11 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0099/11.17, allocations: 355.4 kB / 2.998 GB, free: 36.09 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002643/11.18, allocations: 0.6604 MB / 2.999 GB, free: 36.09 MB / 0.5397 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.001761/11.18, allocations: 80.34 kB / 2.999 GB, free: 36.02 MB / 0.5397 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003116/11.18, allocations: 0.5936 MB / 2.999 GB, free: 35.71 MB / 0.5397 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1043/11.28, allocations: 22.6 MB / 3.021 GB, free: 33.96 MB / 0.5397 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000376/11.29, allocations: 118.6 kB / 3.021 GB, free: 33.96 MB / 0.5397 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/11.29, allocations: 9.891 kB / 3.021 GB, free: 33.96 MB / 0.5397 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06812/11.35, allocations: 14.2 MB / 3.035 GB, free: 32.5 MB / 0.5397 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.107/11.46, allocations: 29.58 MB / 3.064 GB, free: 21.04 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-05/11.46, allocations: 17.75 kB / 3.064 GB, free: 21.03 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005867/11.47, allocations: 0.8468 MB / 3.065 GB, free: 20.34 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02383/11.49, allocations: 4.336 MB / 3.069 GB, free: 16.95 MB / 0.5397 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001795/11.49, allocations: 167 kB / 3.069 GB, free: 16.82 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3014/11.79, allocations: 18.97 MB / 3.088 GB, free: 85.87 MB / 0.5397 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/11.79, allocations: 22.69 kB / 3.088 GB, free: 85.87 MB / 0.5397 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08375/11.88, allocations: 24.59 MB / 3.112 GB, free: 81.81 MB / 0.5397 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006349/11.88, allocations: 1.747 MB / 3.114 GB, free: 81.44 MB / 0.5397 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003111/11.89, allocations: 63.02 kB / 3.114 GB, free: 81.44 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008663/11.9, allocations: 202.8 kB / 3.114 GB, free: 81.43 MB / 0.5397 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/11.9, allocations: 457.5 kB / 3.114 GB, free: 81.41 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001755/11.9, allocations: 392.9 kB / 3.115 GB, free: 81.41 MB / 0.5397 GB Notification: Performance of sort global known variables: time 0.005849/11.91, allocations: 2.345 MB / 3.117 GB, free: 81.23 MB / 0.5397 GB Notification: Performance of remove unused functions: time 0.02792/11.93, allocations: 5.943 MB / 3.123 GB, free: 81.23 MB / 0.5397 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01515/11.95, allocations: 4.187 MB / 3.127 GB, free: 81.12 MB / 0.5397 GB Notification: Performance of simCode: created initialization part: time 0.04048/11.99, allocations: 16.47 MB / 3.143 GB, free: 80.77 MB / 0.5397 GB Notification: Performance of simCode: created event and clocks part: time 2.598e-05/11.99, allocations: 10.44 kB / 3.143 GB, free: 80.77 MB / 0.5397 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/12, allocations: 5.574 MB / 3.148 GB, free: 80.71 MB / 0.5397 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01657/12.02, allocations: 2.104 MB / 3.15 GB, free: 80.68 MB / 0.5397 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/12.07, allocations: 16.02 MB / 3.166 GB, free: 77.88 MB / 0.5397 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01611/12.08, allocations: 5.71 MB / 3.172 GB, free: 76.89 MB / 0.5397 GB Notification: Performance of SimCode: time 2.515e-06/12.08, allocations: 0 / 3.172 GB, free: 76.89 MB / 0.5397 GB Notification: Performance of Templates: time 0.8788/12.96, allocations: 232.4 MB / 3.399 GB, free: 70.83 MB / 0.5397 GB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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_IncompressibleFluidNetwork -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=68 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_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.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_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.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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.IncompressibleFluidNetwork.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_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.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3712:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3287(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3712:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3287(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3713:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3288(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3713:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3288(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3714:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3289(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.IncompressibleFluidNetwork.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.o] Error 1