Notification: Performance of loadModel(Modelica): time 1.499/1.499, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.778e-06, allocations: 2.188 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.06305, allocations: 44.36 MB / 291.7 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.643/4.706, allocations: 2.584 GB / 2.869 GB, free: 98.89 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/4.706, allocations: 84.5 kB / 2.869 GB, free: 98.88 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.944/6.65, allocations: 496.6 MB / 3.354 GB, free: 31.41 MB / 408.6 MB Notification: Performance of Transformations before backend: time 9.184e-05/6.651, allocations: 29.84 kB / 3.354 GB, free: 31.41 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.009558/6.66, allocations: 2.223 MB / 3.356 GB, free: 30.46 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/6.66, allocations: 10.59 kB / 3.356 GB, free: 30.46 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009396/6.67, allocations: 0.7363 MB / 3.357 GB, free: 30.39 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/6.672, allocations: 0.9559 MB / 3.358 GB, free: 30.07 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/6.672, allocations: 36.59 kB / 3.358 GB, free: 30.07 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/6.673, allocations: 61.06 kB / 3.358 GB, free: 30.07 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002509/6.675, allocations: 1.066 MB / 3.359 GB, free: 30.06 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/6.678, allocations: 1.238 MB / 3.36 GB, free: 29.66 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/6.678, allocations: 3.656 kB / 3.36 GB, free: 29.66 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/6.678, allocations: 7.312 kB / 3.36 GB, free: 29.66 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/6.678, allocations: 25.78 kB / 3.36 GB, free: 29.66 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9749/7.653, allocations: 265.3 MB / 3.619 GB, free: 33.98 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/7.654, allocations: 0.5371 MB / 3.62 GB, free: 33.66 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/7.655, allocations: 283.8 kB / 3.62 GB, free: 33.5 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.285/7.94, allocations: 47.38 MB / 3.666 GB, free: 98.62 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/7.94, allocations: 45.27 kB / 3.666 GB, free: 98.58 MB / 456.6 MB Notification: Performance of pre-optimization done (n=49): time 6.216e-06/7.94, allocations: 0 / 3.666 GB, free: 98.58 MB / 456.6 MB Notification: Performance of matching and sorting (n=49): time 0.008114/7.949, allocations: 1.563 MB / 3.668 GB, free: 98.54 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/7.949, allocations: 190.3 kB / 3.668 GB, free: 98.32 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/7.95, allocations: 0.889 MB / 3.669 GB, free: 98.17 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/7.951, allocations: 25.7 kB / 3.669 GB, free: 98.14 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/7.951, allocations: 0.5663 MB / 3.669 GB, free: 97.84 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/7.951, allocations: 177.7 kB / 3.669 GB, free: 97.76 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/7.952, allocations: 3.438 kB / 3.669 GB, free: 97.76 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0001051/7.952, allocations: 349.1 kB / 3.67 GB, free: 97.45 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/7.953, allocations: 368.9 kB / 3.67 GB, free: 97.45 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/7.954, allocations: 0.8372 MB / 3.671 GB, free: 96.86 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/7.959, allocations: 0.8098 MB / 3.672 GB, free: 96.86 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/7.959, allocations: 3.844 kB / 3.672 GB, free: 96.86 MB / 456.6 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0115/7.97, allocations: 2.42 MB / 3.674 GB, free: 96.75 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/7.971, allocations: 5.562 kB / 3.674 GB, free: 96.75 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/7.971, allocations: 21.75 kB / 3.674 GB, free: 96.75 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/7.971, allocations: 216 kB / 3.674 GB, free: 96.74 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/7.974, allocations: 338.8 kB / 3.675 GB, free: 96.74 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/7.977, allocations: 1.902 MB / 3.677 GB, free: 95.62 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/7.979, allocations: 161.6 kB / 3.677 GB, free: 95.58 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/7.979, allocations: 81 kB / 3.677 GB, free: 95.58 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.052e-05/7.98, allocations: 79.03 kB / 3.677 GB, free: 95.51 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002881/7.982, allocations: 0.5823 MB / 3.677 GB, free: 95.45 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/7.988, allocations: 2.581 MB / 3.68 GB, free: 95.27 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/7.988, allocations: 12.86 kB / 3.68 GB, free: 95.27 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.569e-06/7.989, allocations: 3.406 kB / 3.68 GB, free: 95.27 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/7.989, allocations: 3.656 kB / 3.68 GB, free: 95.27 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007362/7.996, allocations: 3.915 MB / 3.684 GB, free: 94.38 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/7.996, allocations: 6.812 kB / 3.684 GB, free: 94.38 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/7.998, allocations: 146.6 kB / 3.684 GB, free: 94.38 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/8, allocations: 1.509 MB / 3.685 GB, free: 94.33 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/8, allocations: 12.31 kB / 3.685 GB, free: 94.33 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/8.004, allocations: 2.565 MB / 3.688 GB, free: 93.19 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/8.004, allocations: 3.5 kB / 3.688 GB, free: 93.19 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005934/8.01, allocations: 2.178 MB / 3.69 GB, free: 92.83 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/8.011, allocations: 330.1 kB / 3.69 GB, free: 92.66 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/8.011, allocations: 3.812 kB / 3.69 GB, free: 92.66 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/8.012, allocations: 26.02 kB / 3.69 GB, free: 92.66 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/8.012, allocations: 32.36 kB / 3.69 GB, free: 92.66 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/8.013, allocations: 20.75 kB / 3.69 GB, free: 92.66 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.001447/8.014, allocations: 0.8096 MB / 3.691 GB, free: 92.55 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.00561/8.02, allocations: 1.323 MB / 3.693 GB, free: 92.47 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00861/8.028, allocations: 1.931 MB / 3.694 GB, free: 92.32 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.003596/8.032, allocations: 1.276 MB / 3.696 GB, free: 92.3 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 5.727e-06/8.032, allocations: 0 / 3.696 GB, free: 92.3 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/8.035, allocations: 0.7782 MB / 3.696 GB, free: 92.3 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/8.038, allocations: 419.8 kB / 3.697 GB, free: 92.29 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06803/8.106, allocations: 22.75 MB / 3.719 GB, free: 91.73 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/8.107, allocations: 1.341 MB / 3.72 GB, free: 91.02 MB / 456.6 MB Notification: Performance of SimCode: time 2.374e-06/8.107, allocations: 0 / 3.72 GB, free: 91.02 MB / 456.6 MB Notification: Performance of Templates: time 0.1394/8.247, allocations: 47.13 MB / 3.766 GB, free: 87.91 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:291:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_171(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:291:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_171(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:292:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_172(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:292:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_eqFunction_172(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.c:293:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.o] Error 1