Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.568e-06, allocations: 1.406 kB / 247.4 MB, free: 4.652 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06513/0.06521, allocations: 44.36 MB / 291.7 MB, free: 9.242 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.038, allocations: 2.584 GB / 2.869 GB, free: 98.39 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.038, allocations: 94.25 kB / 2.869 GB, free: 98.38 MB / 392.6 MB [Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd: time 1.985/7.023, allocations: 496.6 MB / 3.354 GB, free: 31.3 MB / 408.6 MB Notification: Performance of Transformations before backend: time 9.848e-05/7.023, allocations: 31.64 kB / 3.354 GB, free: 31.3 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.01015/7.034, allocations: 2.216 MB / 3.356 GB, free: 30.35 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/7.034, allocations: 12.97 kB / 3.356 GB, free: 30.35 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009457/7.043, allocations: 0.7404 MB / 3.357 GB, free: 30.28 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/7.046, allocations: 0.9623 MB / 3.358 GB, free: 29.96 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/7.046, allocations: 37.78 kB / 3.358 GB, free: 29.96 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/7.046, allocations: 54.59 kB / 3.358 GB, free: 29.96 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002729/7.049, allocations: 1.064 MB / 3.359 GB, free: 29.95 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/7.052, allocations: 1.235 MB / 3.36 GB, free: 29.54 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/7.052, allocations: 6.125 kB / 3.36 GB, free: 29.54 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/7.052, allocations: 7.469 kB / 3.36 GB, free: 29.54 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/7.052, allocations: 28.3 kB / 3.36 GB, free: 29.54 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9905/8.043, allocations: 265.3 MB / 3.619 GB, free: 34.02 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/8.044, allocations: 0.5319 MB / 3.62 GB, free: 33.71 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/8.045, allocations: 290.5 kB / 3.62 GB, free: 33.55 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2953/8.34, allocations: 47.38 MB / 3.666 GB, free: 98.43 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/8.34, allocations: 41.06 kB / 3.666 GB, free: 98.39 MB / 456.6 MB Notification: Performance of pre-optimization done (n=49): time 6.146e-06/8.34, allocations: 3.188 kB / 3.666 GB, free: 98.39 MB / 456.6 MB Notification: Performance of matching and sorting (n=49): time 0.007928/8.348, allocations: 1.563 MB / 3.668 GB, free: 98.35 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/8.349, allocations: 187 kB / 3.668 GB, free: 98.13 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/8.35, allocations: 0.8909 MB / 3.669 GB, free: 97.98 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/8.35, allocations: 28.22 kB / 3.669 GB, free: 97.95 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/8.351, allocations: 0.5659 MB / 3.669 GB, free: 97.65 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/8.351, allocations: 174.5 kB / 3.669 GB, free: 97.57 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/8.351, allocations: 3.406 kB / 3.669 GB, free: 97.57 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/8.351, allocations: 348.3 kB / 3.67 GB, free: 97.27 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007532/8.352, allocations: 370.4 kB / 3.67 GB, free: 97.27 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/8.353, allocations: 0.839 MB / 3.671 GB, free: 96.67 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/8.358, allocations: 0.8101 MB / 3.672 GB, free: 96.67 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/8.358, allocations: 7.781 kB / 3.672 GB, free: 96.66 MB / 456.6 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01129/8.37, allocations: 2.419 MB / 3.674 GB, free: 96.56 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/8.37, allocations: 7.828 kB / 3.674 GB, free: 96.56 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/8.37, allocations: 15.38 kB / 3.674 GB, free: 96.56 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/8.371, allocations: 202.8 kB / 3.674 GB, free: 96.55 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/8.373, allocations: 347.2 kB / 3.675 GB, free: 96.55 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/8.376, allocations: 1.903 MB / 3.677 GB, free: 95.44 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/8.378, allocations: 162.1 kB / 3.677 GB, free: 95.39 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/8.378, allocations: 77.53 kB / 3.677 GB, free: 95.39 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/8.379, allocations: 79.34 kB / 3.677 GB, free: 95.32 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/8.382, allocations: 0.5834 MB / 3.677 GB, free: 95.27 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005571/8.387, allocations: 2.575 MB / 3.68 GB, free: 95.08 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/8.387, allocations: 23.34 kB / 3.68 GB, free: 95.08 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-06/8.387, allocations: 0 / 3.68 GB, free: 95.08 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/8.388, allocations: 3.516 kB / 3.68 GB, free: 95.08 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/8.395, allocations: 3.923 MB / 3.684 GB, free: 94.19 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/8.395, allocations: 0 / 3.684 GB, free: 94.19 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/8.396, allocations: 147.8 kB / 3.684 GB, free: 94.19 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/8.398, allocations: 1.512 MB / 3.685 GB, free: 94.14 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/8.398, allocations: 10.89 kB / 3.685 GB, free: 94.14 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/8.402, allocations: 2.563 MB / 3.688 GB, free: 93 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.914e-06/8.402, allocations: 0 / 3.688 GB, free: 93 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005538/8.408, allocations: 2.187 MB / 3.69 GB, free: 92.64 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/8.409, allocations: 321.1 kB / 3.69 GB, free: 92.47 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/8.409, allocations: 3.438 kB / 3.69 GB, free: 92.47 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/8.41, allocations: 26.56 kB / 3.69 GB, free: 92.47 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/8.41, allocations: 30.12 kB / 3.69 GB, free: 92.47 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/8.41, allocations: 19.53 kB / 3.69 GB, free: 92.47 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.00134/8.412, allocations: 0.8113 MB / 3.691 GB, free: 92.36 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.005348/8.417, allocations: 1.318 MB / 3.692 GB, free: 92.29 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.008129/8.425, allocations: 1.929 MB / 3.694 GB, free: 92.14 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.003573/8.429, allocations: 1.28 MB / 3.696 GB, free: 92.12 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/8.429, allocations: 0.6562 kB / 3.696 GB, free: 92.12 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/8.431, allocations: 0.7748 MB / 3.696 GB, free: 92.12 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/8.435, allocations: 424 kB / 3.697 GB, free: 92.12 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06633/8.501, allocations: 22.76 MB / 3.719 GB, free: 91.55 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/8.502, allocations: 1.331 MB / 3.72 GB, free: 90.83 MB / 456.6 MB Notification: Performance of SimCode: time 2.166e-06/8.502, allocations: 6.594 kB / 3.72 GB, free: 90.83 MB / 456.6 MB Notification: Performance of Templates: time 0.1317/8.634, allocations: 47.14 MB / 3.766 GB, free: 87.7 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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_Explanatory_MomentumBalanceFittings -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.Explanatory.MomentumBalanceFittings.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_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.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_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.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Explanatory.MomentumBalanceFittings.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_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.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:291:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_171(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:291:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_171(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:292:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_172(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:292:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_172(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:293:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_173(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.Explanatory.MomentumBalanceFittings.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.o] Error 1