Notification: Performance of loadModel(Modelica): time 1.503/1.503, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.499e-06, allocations: 1 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06198/0.06206, allocations: 44.37 MB / 291.8 MB, free: 9.242 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/4.515, allocations: 2.584 GB / 2.869 GB, free: 376 kB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/4.516, allocations: 87.94 kB / 2.869 GB, free: 292 kB / 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 2.081/6.596, allocations: 496.6 MB / 3.354 GB, free: 31.52 MB / 408.6 MB Notification: Performance of Transformations before backend: time 8.018e-05/6.596, allocations: 30.95 kB / 3.354 GB, free: 31.52 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.008751/6.605, allocations: 2.22 MB / 3.356 GB, free: 30.59 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/6.605, allocations: 13.56 kB / 3.356 GB, free: 30.59 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009297/6.615, allocations: 0.7375 MB / 3.357 GB, free: 30.52 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/6.617, allocations: 0.9576 MB / 3.358 GB, free: 30.2 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/6.617, allocations: 35.83 kB / 3.358 GB, free: 30.2 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/6.618, allocations: 56.97 kB / 3.358 GB, free: 30.2 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/6.62, allocations: 1.065 MB / 3.359 GB, free: 30.19 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/6.622, allocations: 1.234 MB / 3.36 GB, free: 29.78 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/6.622, allocations: 7.688 kB / 3.36 GB, free: 29.78 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/6.623, allocations: 7.062 kB / 3.36 GB, free: 29.78 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/6.623, allocations: 26.47 kB / 3.36 GB, free: 29.78 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9587/7.581, allocations: 265.3 MB / 3.619 GB, free: 35.47 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/7.583, allocations: 0.5341 MB / 3.62 GB, free: 35.42 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/7.583, allocations: 289.4 kB / 3.62 GB, free: 35.4 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2788/7.862, allocations: 47.39 MB / 3.666 GB, free: 100.5 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/7.862, allocations: 39.84 kB / 3.666 GB, free: 100.4 MB / 456.6 MB Notification: Performance of pre-optimization done (n=49): time 6.286e-06/7.863, allocations: 0 / 3.666 GB, free: 100.4 MB / 456.6 MB Notification: Performance of matching and sorting (n=49): time 0.007889/7.87, allocations: 1.559 MB / 3.668 GB, free: 100.4 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/7.871, allocations: 191 kB / 3.668 GB, free: 100.2 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/7.872, allocations: 0.8927 MB / 3.669 GB, free: 100 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/7.872, allocations: 25.7 kB / 3.669 GB, free: 99.97 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/7.873, allocations: 0.5654 MB / 3.669 GB, free: 99.68 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/7.873, allocations: 181.1 kB / 3.669 GB, free: 99.59 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/7.873, allocations: 2.812 kB / 3.669 GB, free: 99.59 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/7.873, allocations: 345.7 kB / 3.67 GB, free: 99.29 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/7.874, allocations: 365.8 kB / 3.67 GB, free: 99.29 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009273/7.875, allocations: 0.8408 MB / 3.671 GB, free: 98.7 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/7.88, allocations: 0.8118 MB / 3.672 GB, free: 98.69 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/7.88, allocations: 3.781 kB / 3.672 GB, free: 98.69 MB / 456.6 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01142/7.891, allocations: 2.419 MB / 3.674 GB, free: 98.58 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/7.892, allocations: 7.438 kB / 3.674 GB, free: 98.58 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/7.892, allocations: 15.12 kB / 3.674 GB, free: 98.58 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/7.892, allocations: 205.9 kB / 3.674 GB, free: 98.57 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/7.894, allocations: 343 kB / 3.675 GB, free: 98.57 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/7.898, allocations: 1.906 MB / 3.677 GB, free: 97.46 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/7.9, allocations: 169.1 kB / 3.677 GB, free: 97.42 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/7.9, allocations: 73.17 kB / 3.677 GB, free: 97.42 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/7.9, allocations: 78.78 kB / 3.677 GB, free: 97.34 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002916/7.903, allocations: 0.5793 MB / 3.677 GB, free: 97.29 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/7.909, allocations: 2.587 MB / 3.68 GB, free: 97.11 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/7.909, allocations: 22.22 kB / 3.68 GB, free: 97.11 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.8e-06/7.909, allocations: 0 / 3.68 GB, free: 97.11 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/7.909, allocations: 3.469 kB / 3.68 GB, free: 97.11 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/7.916, allocations: 3.92 MB / 3.684 GB, free: 96.21 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/7.916, allocations: 3.875 kB / 3.684 GB, free: 96.21 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/7.917, allocations: 146.9 kB / 3.684 GB, free: 96.21 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/7.92, allocations: 1.497 MB / 3.685 GB, free: 96.17 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/7.92, allocations: 22.83 kB / 3.685 GB, free: 96.16 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/7.923, allocations: 2.559 MB / 3.688 GB, free: 95.02 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-06/7.923, allocations: 1.75 kB / 3.688 GB, free: 95.02 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005808/7.929, allocations: 2.181 MB / 3.69 GB, free: 94.67 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/7.93, allocations: 327.7 kB / 3.69 GB, free: 94.5 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/7.93, allocations: 0 / 3.69 GB, free: 94.5 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/7.931, allocations: 32.02 kB / 3.69 GB, free: 94.49 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/7.932, allocations: 31.53 kB / 3.69 GB, free: 94.49 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/7.932, allocations: 22.05 kB / 3.69 GB, free: 94.49 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.001371/7.933, allocations: 0.8156 MB / 3.691 GB, free: 94.38 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.005486/7.939, allocations: 1.321 MB / 3.693 GB, free: 94.3 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.008421/7.947, allocations: 1.915 MB / 3.694 GB, free: 94.16 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.003722/7.951, allocations: 1.28 MB / 3.696 GB, free: 94.14 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 6.356e-06/7.951, allocations: 0 / 3.696 GB, free: 94.14 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/7.954, allocations: 0.777 MB / 3.696 GB, free: 94.14 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/7.957, allocations: 420.8 kB / 3.697 GB, free: 94.13 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07232/8.029, allocations: 22.74 MB / 3.719 GB, free: 93.58 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/8.03, allocations: 1.338 MB / 3.72 GB, free: 92.86 MB / 456.6 MB Notification: Performance of SimCode: time 3.282e-06/8.031, allocations: 0 / 3.72 GB, free: 92.86 MB / 456.6 MB Notification: Performance of Templates: time 0.1328/8.163, allocations: 47.14 MB / 3.766 GB, free: 89.75 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