Notification: Performance of loadModel(Modelica): time 1.496/1.496, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.006e-05, allocations: 1.625 kB / 247.6 MB, free: 4.5 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06654/0.06662, allocations: 44.36 MB / 291.9 MB, free: 9.055 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5452/0.612, allocations: 276.4 MB / 0.555 GB, free: 87.19 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.6123, allocations: 87.94 kB / 0.5551 GB, free: 87.11 MB / 392.6 MB Notification: Performance of FrontEnd: time 9.105/9.717, allocations: 2.193 GB / 2.748 GB, free: 30.43 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.0007751/9.718, allocations: 197.5 kB / 2.748 GB, free: 30.4 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.03699/9.755, allocations: 10.18 MB / 2.758 GB, free: 25.43 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/9.755, allocations: 9.688 kB / 2.758 GB, free: 25.43 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/9.771, allocations: 1.319 MB / 2.759 GB, free: 25.02 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02409/9.795, allocations: 6.551 MB / 2.766 GB, free: 23.88 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/9.795, allocations: 185.7 kB / 2.766 GB, free: 23.88 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002596/9.798, allocations: 326.8 kB / 2.766 GB, free: 23.88 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0192/9.817, allocations: 7.879 MB / 2.774 GB, free: 23.85 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/9.84, allocations: 8.862 MB / 2.782 GB, free: 22.33 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/9.84, allocations: 16.28 kB / 2.782 GB, free: 22.32 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/9.842, allocations: 23.44 kB / 2.783 GB, free: 22.32 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007041/9.843, allocations: 0.6353 MB / 2.783 GB, free: 22.29 MB / 0.4928 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0742/9.917, allocations: 34.45 MB / 2.817 GB, free: 16 kB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/9.938, allocations: 6.159 MB / 2.823 GB, free: 12.23 MB / 0.5084 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007411/9.946, allocations: 3.658 MB / 2.826 GB, free: 8.98 MB / 0.5084 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008097/9.954, allocations: 5.702 MB / 2.832 GB, free: 2.355 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/9.954, allocations: 98.42 kB / 2.832 GB, free: 2.25 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=500): time 1.299e-05/9.954, allocations: 0 / 2.832 GB, free: 2.25 MB / 0.5084 GB Notification: Performance of matching and sorting (n=632): time 0.477/10.43, allocations: 39.74 MB / 2.871 GB, free: 60.22 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/10.43, allocations: 167.8 kB / 2.871 GB, free: 60.09 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/10.44, allocations: 3.254 MB / 2.874 GB, free: 59.78 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.001554/10.44, allocations: 29.42 kB / 2.874 GB, free: 59.75 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/10.44, allocations: 2.129 MB / 2.876 GB, free: 58.86 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.003202/10.44, allocations: 2.083 MB / 2.878 GB, free: 57.7 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/10.45, allocations: 0 / 2.878 GB, free: 57.7 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.0004443/10.45, allocations: 0.5973 MB / 2.879 GB, free: 57.38 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008173/10.45, allocations: 3.958 MB / 2.883 GB, free: 57.37 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009784/10.46, allocations: 5.592 MB / 2.888 GB, free: 55.7 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06236/10.53, allocations: 8.769 MB / 2.897 GB, free: 55.61 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/10.53, allocations: 14.22 kB / 2.897 GB, free: 55.61 MB / 0.5084 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.08512/10.61, allocations: 16.22 MB / 2.913 GB, free: 54.91 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003797/10.62, allocations: 20.62 MB / 2.933 GB, free: 33.32 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/10.62, allocations: 43.5 kB / 2.933 GB, free: 33.32 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/10.63, allocations: 3.479 MB / 2.936 GB, free: 33.14 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009478/10.64, allocations: 1.459 MB / 2.938 GB, free: 33.14 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03057/10.67, allocations: 19 MB / 2.956 GB, free: 21.14 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/10.68, allocations: 364.2 kB / 2.957 GB, free: 21.11 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002677/10.69, allocations: 0.6849 MB / 2.957 GB, free: 21.11 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/10.69, allocations: 3.094 kB / 2.957 GB, free: 21.11 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07597/10.76, allocations: 15.09 MB / 2.972 GB, free: 20.73 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/10.76, allocations: 49.53 kB / 2.972 GB, free: 20.73 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/10.77, allocations: 3.078 MB / 2.975 GB, free: 20.55 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008484/10.78, allocations: 1.489 MB / 2.976 GB, free: 20.55 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0334/10.82, allocations: 22.02 MB / 2.998 GB, free: 23.66 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009327/10.83, allocations: 352.6 kB / 2.998 GB, free: 23.64 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/10.83, allocations: 0.6617 MB / 2.999 GB, free: 23.64 MB / 0.5241 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.000996/10.83, allocations: 83.06 kB / 2.999 GB, free: 23.56 MB / 0.5241 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/10.83, allocations: 0.5869 MB / 3 GB, free: 23.26 MB / 0.5241 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1002/10.93, allocations: 22.61 MB / 3.022 GB, free: 17.93 MB / 0.5241 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003404/10.93, allocations: 117.2 kB / 3.022 GB, free: 17.93 MB / 0.5241 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/10.93, allocations: 0 / 3.022 GB, free: 17.93 MB / 0.5241 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06431/11, allocations: 14.21 MB / 3.036 GB, free: 6.496 MB / 0.5241 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3625/11.36, allocations: 29.78 MB / 3.065 GB, free: 73.77 MB / 0.5241 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-05/11.36, allocations: 17.72 kB / 3.065 GB, free: 73.77 MB / 0.5241 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005425/11.36, allocations: 0.8484 MB / 3.066 GB, free: 73.77 MB / 0.5241 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02568/11.39, allocations: 4.335 MB / 3.07 GB, free: 73.58 MB / 0.5241 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/11.39, allocations: 170.2 kB / 3.07 GB, free: 73.58 MB / 0.5241 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02616/11.42, allocations: 18.97 MB / 3.089 GB, free: 61.71 MB / 0.5241 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/11.42, allocations: 24.25 kB / 3.089 GB, free: 61.71 MB / 0.5241 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0805/11.5, allocations: 24.59 MB / 3.113 GB, free: 57.66 MB / 0.5241 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005723/11.5, allocations: 1.747 MB / 3.114 GB, free: 57.49 MB / 0.5241 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002844/11.51, allocations: 61.27 kB / 3.114 GB, free: 57.49 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008012/11.52, allocations: 202.5 kB / 3.115 GB, free: 57.48 MB / 0.5241 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/11.52, allocations: 458.4 kB / 3.115 GB, free: 57.46 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001554/11.52, allocations: 392.5 kB / 3.115 GB, free: 57.46 MB / 0.5241 GB Notification: Performance of sort global known variables: time 0.005593/11.52, allocations: 2.346 MB / 3.118 GB, free: 57.28 MB / 0.5241 GB Notification: Performance of remove unused functions: time 0.0265/11.55, allocations: 5.945 MB / 3.123 GB, free: 57.28 MB / 0.5241 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01501/11.57, allocations: 4.193 MB / 3.128 GB, free: 57.17 MB / 0.5241 GB Notification: Performance of simCode: created initialization part: time 0.04057/11.61, allocations: 16.47 MB / 3.144 GB, free: 56.82 MB / 0.5241 GB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/11.61, allocations: 7.219 kB / 3.144 GB, free: 56.82 MB / 0.5241 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/11.62, allocations: 5.578 MB / 3.149 GB, free: 56.76 MB / 0.5241 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01583/11.64, allocations: 2.12 MB / 3.151 GB, free: 56.73 MB / 0.5241 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/11.68, allocations: 16.01 MB / 3.167 GB, free: 53.82 MB / 0.5241 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01563/11.7, allocations: 5.708 MB / 3.172 GB, free: 52.68 MB / 0.5241 GB Notification: Performance of SimCode: time 2.654e-06/11.7, allocations: 0 / 3.172 GB, free: 52.68 MB / 0.5241 GB Notification: Performance of Templates: time 0.781/12.48, allocations: 232.6 MB / 3.399 GB, free: 27.13 MB / 0.5241 GB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3712:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3287(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3712:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3287(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3713:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3288(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3713:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_IncompressibleFluidNetwork_eqFunction_3288(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.c:3714:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.o] Error 1