Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.2 MB / 245 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009863/0.0009865, allocations: 108.2 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4687/0.4687, allocations: 45.24 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.000396, allocations: 4 kB / 468.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4779, allocations: 63.25 MB / 0.5193 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.403/9.881, allocations: 3.456 GB / 3.975 GB, free: 176.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/9.881, allocations: 85.06 kB / 3.975 GB, free: 176.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.415/14.3, allocations: 0.947 GB / 4.922 GB, free: 30.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.495e-06/14.3, allocations: 0 / 4.922 GB, free: 30.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007746/14.3, allocations: 164.1 kB / 4.922 GB, free: 30.15 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.05623/14.35, allocations: 10.17 MB / 4.932 GB, free: 25.96 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/14.35, allocations: 7.656 kB / 4.932 GB, free: 25.96 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009542/14.36, allocations: 1.042 MB / 4.933 GB, free: 25.88 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/14.37, allocations: 0.8833 MB / 4.934 GB, free: 25.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02633/14.4, allocations: 5.758 MB / 4.939 GB, free: 24.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/14.4, allocations: 0.5258 MB / 4.94 GB, free: 24.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007035/14.41, allocations: 0.6982 MB / 4.941 GB, free: 24.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05602/14.46, allocations: 13.97 MB / 4.954 GB, free: 23.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008408/14.46, allocations: 20.08 kB / 4.954 GB, free: 23.98 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0071/14.47, allocations: 291.2 kB / 4.955 GB, free: 23.98 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/14.47, allocations: 0.7089 MB / 4.955 GB, free: 23.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04855/14.52, allocations: 16.44 MB / 4.971 GB, free: 23.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/14.66, allocations: 47.72 MB / 5.018 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.027/14.69, allocations: 10.7 MB / 5.028 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005712/14.7, allocations: 4.224 MB / 5.032 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/14.7, allocations: 146.5 kB / 5.033 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009731/14.71, allocations: 0.8727 MB / 5.033 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=881): time 4.508e-05/14.71, allocations: 0 / 5.033 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1121): time 0.8958/15.6, allocations: 99.65 MB / 5.131 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/15.6, allocations: 163.6 kB / 5.131 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006711/15.61, allocations: 3.513 MB / 5.134 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0051/15.62, allocations: 230.4 kB / 5.135 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002773/15.62, allocations: 2.396 MB / 5.137 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.01022/15.63, allocations: 3.886 MB / 5.141 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00499/15.63, allocations: 218.8 kB / 5.141 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.001353/15.64, allocations: 0.7429 MB / 5.142 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0233/15.66, allocations: 10.04 MB / 5.151 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02674/15.69, allocations: 11.41 MB / 5.163 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02664/15.71, allocations: 11.08 MB / 5.173 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/15.71, allocations: 13.5 kB / 5.173 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.0998/15.81, allocations: 32.24 MB / 5.205 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00303/15.81, allocations: 11.87 MB / 5.217 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/15.82, allocations: 29.34 kB / 5.217 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8751/16.69, allocations: 80.98 MB / 5.296 GB, free: 64.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/16.7, allocations: 1.046 MB / 5.297 GB, free: 64.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09941/16.8, allocations: 35.09 MB / 5.331 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02012/16.82, allocations: 1.785 MB / 5.333 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006429/16.82, allocations: 0.5605 MB / 5.333 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/16.82, allocations: 9.25 kB / 5.333 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1069/16.93, allocations: 30.45 MB / 5.363 GB, free: 63.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/16.93, allocations: 30.31 kB / 5.363 GB, free: 63.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2436/17.17, allocations: 70.46 MB / 5.432 GB, free: 42.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006764/17.18, allocations: 1.149 MB / 5.433 GB, free: 41.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07162/17.25, allocations: 31.98 MB / 5.464 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0201/17.27, allocations: 1.754 MB / 5.466 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006565/17.28, allocations: 0.5507 MB / 5.466 GB, free: 19.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01306/17.29, allocations: 2.56 MB / 5.469 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003541/17.3, allocations: 0.6533 MB / 5.47 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09565/17.39, allocations: 31.69 MB / 5.5 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003091/17.39, allocations: 116 kB / 5.501 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001517/17.39, allocations: 0 / 5.501 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7579/18.15, allocations: 24.15 MB / 5.524 GB, free: 84.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1387/18.29, allocations: 41.93 MB / 5.565 GB, free: 83.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001797/18.29, allocations: 0 / 5.565 GB, free: 83.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01577/18.3, allocations: 2.122 MB / 5.567 GB, free: 83.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05458/18.36, allocations: 14.04 MB / 5.581 GB, free: 83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006027/18.36, allocations: 0.6023 MB / 5.582 GB, free: 83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04259/18.41, allocations: 33.08 MB / 5.614 GB, free: 65.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/18.41, allocations: 0 / 5.614 GB, free: 65.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1031/18.51, allocations: 36.94 MB / 5.65 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004843/18.52, allocations: 0.8134 MB / 5.651 GB, free: 60.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00757/18.52, allocations: 457 kB / 5.651 GB, free: 59.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01702/18.54, allocations: 1.447 MB / 5.653 GB, free: 59.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005426/18.55, allocations: 0.767 MB / 5.653 GB, free: 59.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005522/18.55, allocations: 0.5269 MB / 5.654 GB, free: 59.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.006477/18.56, allocations: 2.686 MB / 5.656 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/18.56, allocations: 0 / 5.656 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.04187/18.6, allocations: 6.88 MB / 5.663 GB, free: 58.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.1179/18.72, allocations: 41.4 MB / 5.704 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.1059/18.82, allocations: 36.75 MB / 5.739 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.583e-05/18.82, allocations: 9 kB / 5.739 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.6039/19.43, allocations: 14.5 MB / 5.754 GB, free: 83.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02289/19.45, allocations: 3.204 MB / 5.757 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1252/19.58, allocations: 62.03 MB / 5.817 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01443/19.59, allocations: 5.192 MB / 5.822 GB, free: 48.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03129/19.62, allocations: 5.335 MB / 5.828 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0166/19.64, allocations: 3.446 MB / 5.831 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of SimCode: time 3.186e-06/19.64, allocations: 0 / 5.831 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.232/21.87, allocations: 473.1 MB / 6.293 GB, free: 126.5 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/21.87, allocations: 307.3 kB / 6.293 GB, free: 126.1 MB / 0.6824 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19037:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19037:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19037:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4402:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[971] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[457] /* $cse68 variable */) * (data->localData[0]->realVars[1202] /* pipe3.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[457] /* $cse68 variable */,"$cse98 + $cse68",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4403:192: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure75_Modelica_Fluid_Pipes__omcQDynamicPipe_24pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1477] /* pipe4.statesFM[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4408:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[971] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[458] /* $cse69 variable */) * (data->localData[0]->realVars[1431] /* pipe4.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[458] /* $cse69 variable */,"$cse98 + $cse69",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4409:192: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure76_Modelica_Fluid_Pipes__omcQDynamicPipe_24pipe3_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1245] /* pipe3.statesFM[7].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4831:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[456] /* $cse67 variable */) * (data->localData[0]->realVars[703] /* pipe1.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[967] /* pipe2.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[456] /* $cse67 variable */ + data->localData[0]->realVars[414] /* $cse29 variable */,"$cse67 + $cse29",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4832:192: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure77_Modelica_Fluid_Pipes__omcQDynamicPipe_24pipe3_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1244] /* pipe3.statesFM[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4837:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[967] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[416] /* $cse30 variable */) * (data->localData[0]->realVars[1198] /* pipe3.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[414] /* $cse29 variable */ + data->localData[0]->realVars[416] /* $cse30 variable */,"$cse29 + $cse30",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4838:192: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure78_Modelica_Fluid_Pipes__omcQDynamicPipe_24pipe1_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[746] /* pipe1.statesFM[7].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1