Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 1.375 kB / 247.6 MB, free: 4.516 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06339/0.06347, allocations: 44.37 MB / 291.9 MB, free: 9.055 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.6241, allocations: 276.4 MB / 0.555 GB, free: 87.23 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6245, allocations: 83.95 kB / 0.5551 GB, free: 87.15 MB / 392.6 MB Notification: Performance of FrontEnd: time 9.385/10.01, allocations: 2.193 GB / 2.748 GB, free: 30.49 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.000736/10.01, allocations: 192.8 kB / 2.748 GB, free: 30.46 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.03762/10.05, allocations: 10.19 MB / 2.758 GB, free: 25.47 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/10.05, allocations: 8.625 kB / 2.758 GB, free: 25.47 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/10.06, allocations: 1.31 MB / 2.759 GB, free: 25.06 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/10.09, allocations: 6.553 MB / 2.766 GB, free: 23.88 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/10.09, allocations: 185.9 kB / 2.766 GB, free: 23.88 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/10.09, allocations: 321.8 kB / 2.766 GB, free: 23.87 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01997/10.11, allocations: 7.878 MB / 2.774 GB, free: 23.84 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/10.14, allocations: 8.87 MB / 2.782 GB, free: 22.32 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/10.14, allocations: 17.75 kB / 2.782 GB, free: 22.31 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/10.14, allocations: 20.59 kB / 2.782 GB, free: 22.31 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008558/10.14, allocations: 0.6338 MB / 2.783 GB, free: 22.29 MB / 0.4928 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07472/10.22, allocations: 34.47 MB / 2.817 GB, free: 172 kB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02174/10.24, allocations: 6.141 MB / 2.823 GB, free: 12.33 MB / 0.5084 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007724/10.25, allocations: 3.657 MB / 2.826 GB, free: 9.082 MB / 0.5084 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007985/10.25, allocations: 5.694 MB / 2.832 GB, free: 2.465 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/10.25, allocations: 102.4 kB / 2.832 GB, free: 2.355 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=500): time 1.278e-05/10.25, allocations: 0 / 2.832 GB, free: 2.355 MB / 0.5084 GB Notification: Performance of matching and sorting (n=632): time 0.4988/10.75, allocations: 39.74 MB / 2.871 GB, free: 60.09 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/10.75, allocations: 171.9 kB / 2.871 GB, free: 59.96 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007753/10.76, allocations: 3.247 MB / 2.874 GB, free: 59.64 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.001798/10.76, allocations: 30.42 kB / 2.874 GB, free: 59.61 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/10.77, allocations: 2.131 MB / 2.876 GB, free: 58.72 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.003995/10.77, allocations: 2.079 MB / 2.878 GB, free: 57.57 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/10.77, allocations: 0 / 2.878 GB, free: 57.57 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.0006643/10.77, allocations: 0.5956 MB / 2.879 GB, free: 57.26 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009231/10.78, allocations: 3.96 MB / 2.883 GB, free: 57.24 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/10.79, allocations: 5.589 MB / 2.888 GB, free: 55.58 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06131/10.85, allocations: 8.777 MB / 2.897 GB, free: 55.49 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/10.85, allocations: 12.47 kB / 2.897 GB, free: 55.49 MB / 0.5084 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.08655/10.94, allocations: 16.21 MB / 2.913 GB, free: 54.78 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003873/10.94, allocations: 20.62 MB / 2.933 GB, free: 33.2 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/10.94, allocations: 43.66 kB / 2.933 GB, free: 33.2 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/10.96, allocations: 3.479 MB / 2.936 GB, free: 33.01 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008596/10.97, allocations: 1.458 MB / 2.938 GB, free: 33.01 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03175/11, allocations: 19 MB / 2.956 GB, free: 21.02 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/11.01, allocations: 366.2 kB / 2.957 GB, free: 20.99 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002775/11.01, allocations: 0.6864 MB / 2.957 GB, free: 20.99 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/11.01, allocations: 5.062 kB / 2.957 GB, free: 20.99 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07944/11.09, allocations: 15.09 MB / 2.972 GB, free: 20.61 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/11.09, allocations: 45 kB / 2.972 GB, free: 20.61 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/11.11, allocations: 3.087 MB / 2.975 GB, free: 20.42 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009306/11.12, allocations: 1.489 MB / 2.976 GB, free: 20.42 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03546/11.15, allocations: 21.99 MB / 2.998 GB, free: 23.54 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009752/11.16, allocations: 352.1 kB / 2.998 GB, free: 23.52 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/11.16, allocations: 0.6578 MB / 2.999 GB, free: 23.52 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.001765/11.17, allocations: 83.47 kB / 2.999 GB, free: 23.44 MB / 0.5241 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002982/11.17, allocations: 0.5869 MB / 3 GB, free: 23.13 MB / 0.5241 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1037/11.27, allocations: 22.6 MB / 3.022 GB, free: 17.91 MB / 0.5241 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003535/11.27, allocations: 120.6 kB / 3.022 GB, free: 17.91 MB / 0.5241 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/11.27, allocations: 0.8438 kB / 3.022 GB, free: 17.91 MB / 0.5241 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06723/11.34, allocations: 14.2 MB / 3.036 GB, free: 6.578 MB / 0.5241 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3806/11.72, allocations: 29.76 MB / 3.065 GB, free: 73.66 MB / 0.5241 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.345e-05/11.72, allocations: 15.22 kB / 3.065 GB, free: 73.66 MB / 0.5241 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005794/11.73, allocations: 0.8451 MB / 3.065 GB, free: 73.66 MB / 0.5241 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02368/11.75, allocations: 4.341 MB / 3.07 GB, free: 73.46 MB / 0.5241 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001621/11.75, allocations: 167 kB / 3.07 GB, free: 73.46 MB / 0.5241 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/11.78, allocations: 18.97 MB / 3.088 GB, free: 61.6 MB / 0.5241 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-05/11.78, allocations: 25.56 kB / 3.088 GB, free: 61.6 MB / 0.5241 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08786/11.87, allocations: 24.59 MB / 3.112 GB, free: 57.55 MB / 0.5241 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006419/11.88, allocations: 1.744 MB / 3.114 GB, free: 57.38 MB / 0.5241 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003037/11.88, allocations: 64.89 kB / 3.114 GB, free: 57.38 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008049/11.89, allocations: 199.9 kB / 3.114 GB, free: 57.37 MB / 0.5241 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/11.89, allocations: 454.8 kB / 3.115 GB, free: 57.35 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001934/11.89, allocations: 394.7 kB / 3.115 GB, free: 57.35 MB / 0.5241 GB Notification: Performance of sort global known variables: time 0.006101/11.9, allocations: 2.346 MB / 3.118 GB, free: 57.17 MB / 0.5241 GB Notification: Performance of remove unused functions: time 0.02879/11.93, allocations: 5.947 MB / 3.123 GB, free: 57.17 MB / 0.5241 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01553/11.94, allocations: 4.191 MB / 3.127 GB, free: 57.05 MB / 0.5241 GB Notification: Performance of simCode: created initialization part: time 0.04019/11.98, allocations: 16.47 MB / 3.144 GB, free: 56.71 MB / 0.5241 GB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/11.98, allocations: 9.844 kB / 3.144 GB, free: 56.7 MB / 0.5241 GB Notification: Performance of simCode: created simulation system equations: time 0.01423/12, allocations: 5.576 MB / 3.149 GB, free: 56.65 MB / 0.5241 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0165/12.01, allocations: 2.115 MB / 3.151 GB, free: 56.62 MB / 0.5241 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04437/12.06, allocations: 16 MB / 3.167 GB, free: 53.71 MB / 0.5241 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01517/12.07, allocations: 5.716 MB / 3.172 GB, free: 52.57 MB / 0.5241 GB Notification: Performance of SimCode: time 2.515e-06/12.07, allocations: 0 / 3.172 GB, free: 52.57 MB / 0.5241 GB Notification: Performance of Templates: time 0.7676/12.84, allocations: 232.4 MB / 3.399 GB, free: 26.21 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