Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.499e-06, allocations: 1.625 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06276/0.06286, allocations: 44.36 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.628/4.691, allocations: 2.584 GB / 2.869 GB, free: 98.34 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/4.691, allocations: 92.42 kB / 2.869 GB, free: 98.34 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.926/6.617, allocations: 496.6 MB / 3.354 GB, free: 29.15 MB / 408.6 MB Notification: Performance of Transformations before backend: time 8.311e-05/6.617, allocations: 26.69 kB / 3.354 GB, free: 29.14 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.009175/6.626, allocations: 2.222 MB / 3.356 GB, free: 28.23 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/6.627, allocations: 12.25 kB / 3.356 GB, free: 28.23 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009427/6.636, allocations: 0.7361 MB / 3.357 GB, free: 28.16 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/6.639, allocations: 0.9646 MB / 3.358 GB, free: 27.84 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/6.639, allocations: 32.28 kB / 3.358 GB, free: 27.84 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/6.639, allocations: 57.06 kB / 3.358 GB, free: 27.84 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/6.642, allocations: 1.065 MB / 3.359 GB, free: 27.83 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/6.644, allocations: 1.236 MB / 3.36 GB, free: 27.42 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/6.644, allocations: 6.406 kB / 3.36 GB, free: 27.42 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/6.644, allocations: 3.188 kB / 3.36 GB, free: 27.42 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/6.644, allocations: 30.81 kB / 3.36 GB, free: 27.42 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9822/7.627, allocations: 265.3 MB / 3.619 GB, free: 33.62 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/7.628, allocations: 0.5379 MB / 3.62 GB, free: 33.57 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/7.628, allocations: 281.8 kB / 3.62 GB, free: 33.56 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2733/7.902, allocations: 47.39 MB / 3.666 GB, free: 94.45 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/7.902, allocations: 36.75 kB / 3.666 GB, free: 94.41 MB / 456.6 MB Notification: Performance of pre-optimization done (n=49): time 6.146e-06/7.902, allocations: 3.656 kB / 3.666 GB, free: 94.41 MB / 456.6 MB Notification: Performance of matching and sorting (n=49): time 0.007673/7.91, allocations: 1.564 MB / 3.668 GB, free: 94.38 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/7.91, allocations: 187.1 kB / 3.668 GB, free: 94.16 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/7.911, allocations: 0.8881 MB / 3.669 GB, free: 94 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/7.912, allocations: 28.73 kB / 3.669 GB, free: 93.97 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/7.912, allocations: 0.566 MB / 3.669 GB, free: 93.68 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/7.912, allocations: 176.5 kB / 3.669 GB, free: 93.59 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/7.912, allocations: 0 / 3.669 GB, free: 93.59 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/7.912, allocations: 350.4 kB / 3.67 GB, free: 93.29 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/7.913, allocations: 371.2 kB / 3.67 GB, free: 93.29 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/7.914, allocations: 0.8399 MB / 3.671 GB, free: 92.7 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/7.919, allocations: 0.812 MB / 3.672 GB, free: 92.69 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/7.919, allocations: 7.406 kB / 3.672 GB, free: 92.69 MB / 456.6 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01116/7.931, allocations: 2.409 MB / 3.674 GB, free: 92.58 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/7.931, allocations: 7.281 kB / 3.674 GB, free: 92.58 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/7.931, allocations: 14.03 kB / 3.674 GB, free: 92.58 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/7.931, allocations: 212.2 kB / 3.674 GB, free: 92.57 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/7.933, allocations: 340.1 kB / 3.675 GB, free: 92.57 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/7.937, allocations: 1.899 MB / 3.677 GB, free: 91.46 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/7.939, allocations: 170.3 kB / 3.677 GB, free: 91.42 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/7.939, allocations: 78.08 kB / 3.677 GB, free: 91.42 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/7.939, allocations: 78.14 kB / 3.677 GB, free: 91.34 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/7.942, allocations: 0.5753 MB / 3.677 GB, free: 91.29 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/7.948, allocations: 2.593 MB / 3.68 GB, free: 91.11 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/7.948, allocations: 15.92 kB / 3.68 GB, free: 91.11 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.521e-06/7.948, allocations: 3.781 kB / 3.68 GB, free: 91.11 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/7.948, allocations: 3.891 kB / 3.68 GB, free: 91.11 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/7.955, allocations: 3.919 MB / 3.684 GB, free: 90.21 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.775e-06/7.955, allocations: 0 / 3.684 GB, free: 90.21 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/7.956, allocations: 145.1 kB / 3.684 GB, free: 90.21 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/7.958, allocations: 1.506 MB / 3.685 GB, free: 90.16 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/7.958, allocations: 17.22 kB / 3.685 GB, free: 90.16 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/7.962, allocations: 2.564 MB / 3.688 GB, free: 89.02 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/7.962, allocations: 0 / 3.688 GB, free: 89.02 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005598/7.967, allocations: 2.185 MB / 3.69 GB, free: 88.66 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/7.968, allocations: 326.3 kB / 3.69 GB, free: 88.49 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/7.968, allocations: 0 / 3.69 GB, free: 88.49 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/7.969, allocations: 27.39 kB / 3.69 GB, free: 88.48 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/7.97, allocations: 36.17 kB / 3.69 GB, free: 88.48 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/7.97, allocations: 18.95 kB / 3.69 GB, free: 88.48 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.001322/7.971, allocations: 0.8088 MB / 3.691 GB, free: 88.38 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.005074/7.976, allocations: 1.316 MB / 3.693 GB, free: 88.29 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00769/7.984, allocations: 1.931 MB / 3.694 GB, free: 88.14 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.003539/7.988, allocations: 1.274 MB / 3.696 GB, free: 88.12 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/7.988, allocations: 5.406 kB / 3.696 GB, free: 88.12 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/7.99, allocations: 0.7757 MB / 3.696 GB, free: 88.12 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/7.993, allocations: 423.1 kB / 3.697 GB, free: 88.11 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06904/8.062, allocations: 22.75 MB / 3.719 GB, free: 87.55 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/8.063, allocations: 1.336 MB / 3.72 GB, free: 86.83 MB / 456.6 MB Notification: Performance of SimCode: time 2.304e-06/8.063, allocations: 0 / 3.72 GB, free: 86.83 MB / 456.6 MB Notification: Performance of Templates: time 0.1156/8.179, allocations: 47.14 MB / 3.766 GB, free: 83.79 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