Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.00181, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.00097, allocations: 88.05 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/4.014e-05, allocations: 224 / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.38/10.54, allocations: 3.462 GB / 3.964 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/10.54, allocations: 78.77 kB / 3.964 GB, free: 38.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.528/15.06, allocations: 0.9569 GB / 4.921 GB, free: 36.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.655e-06/15.06, allocations: 6.594 kB / 4.921 GB, free: 36.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004919/15.06, allocations: 161.9 kB / 4.921 GB, free: 36.14 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.04786/15.11, allocations: 9.444 MB / 4.93 GB, free: 32.36 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/15.11, allocations: 17.72 kB / 4.93 GB, free: 32.35 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007497/15.12, allocations: 1.018 MB / 4.931 GB, free: 32.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/15.13, allocations: 0.8672 MB / 4.932 GB, free: 31.87 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/15.15, allocations: 5.731 MB / 4.938 GB, free: 31.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009398/15.15, allocations: 0.5217 MB / 4.938 GB, free: 31.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006142/15.16, allocations: 0.7014 MB / 4.939 GB, free: 31.05 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/15.2, allocations: 13.8 MB / 4.952 GB, free: 30.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004705/15.2, allocations: 23.22 kB / 4.952 GB, free: 30.37 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005176/15.21, allocations: 291.4 kB / 4.953 GB, free: 30.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007958/15.21, allocations: 0.7091 MB / 4.953 GB, free: 30.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03789/15.25, allocations: 16.17 MB / 4.969 GB, free: 30.29 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/15.36, allocations: 47.61 MB / 5.015 GB, free: 8.816 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/15.38, allocations: 10.56 MB / 5.026 GB, free: 5.117 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01677/15.4, allocations: 7.212 MB / 5.033 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006277/15.4, allocations: 4.139 MB / 5.037 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/15.4, allocations: 151.7 kB / 5.037 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008938/15.41, allocations: 0.8625 MB / 5.038 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=881): time 5.084e-05/15.41, allocations: 0 / 5.038 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1121): time 0.8569/16.27, allocations: 86.27 MB / 5.122 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/16.27, allocations: 171.1 kB / 5.122 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/16.28, allocations: 3.471 MB / 5.126 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.004563/16.28, allocations: 230.9 kB / 5.126 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002216/16.28, allocations: 2.389 MB / 5.128 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.007943/16.29, allocations: 3.895 MB / 5.132 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002746/16.29, allocations: 215.2 kB / 5.132 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.001039/16.29, allocations: 0.7451 MB / 5.133 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01673/16.31, allocations: 8.776 MB / 5.142 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01961/16.33, allocations: 10.17 MB / 5.151 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02043/16.35, allocations: 9.843 MB / 5.161 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/16.35, allocations: 10.91 kB / 5.161 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.07576/16.43, allocations: 28.55 MB / 5.189 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002978/16.43, allocations: 11.87 MB / 5.201 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/16.43, allocations: 33.73 kB / 5.201 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2575/16.69, allocations: 77.74 MB / 5.277 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00641/16.69, allocations: 1.051 MB / 5.278 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6234/17.32, allocations: 33.47 MB / 5.31 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01948/17.34, allocations: 1.782 MB / 5.312 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005816/17.34, allocations: 0.5648 MB / 5.313 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/17.34, allocations: 3.281 kB / 5.313 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07854/17.42, allocations: 26.77 MB / 5.339 GB, free: 73.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/17.42, allocations: 27.91 kB / 5.339 GB, free: 73.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2229/17.65, allocations: 67.73 MB / 5.405 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006288/17.65, allocations: 1.156 MB / 5.406 GB, free: 72.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06106/17.71, allocations: 28.47 MB / 5.434 GB, free: 71.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01687/17.73, allocations: 1.759 MB / 5.435 GB, free: 71.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00522/17.74, allocations: 0.549 MB / 5.436 GB, free: 71.75 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 () * 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.009832/17.74, allocations: 0.5994 MB / 5.437 GB, free: 71.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005936/17.75, allocations: 0.649 MB / 5.437 GB, free: 71.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07285/17.82, allocations: 27.49 MB / 5.464 GB, free: 57.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001708/17.82, allocations: 118.8 kB / 5.464 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/17.82, allocations: 4 kB / 5.464 GB, free: 57.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04997/17.87, allocations: 20.47 MB / 5.484 GB, free: 40.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1049/17.98, allocations: 40.5 MB / 5.524 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001411/17.98, allocations: 0 / 5.524 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01481/17.99, allocations: 2.133 MB / 5.526 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04032/18.03, allocations: 11.69 MB / 5.537 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004618/18.04, allocations: 0.5948 MB / 5.538 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.541/18.58, allocations: 30.01 MB / 5.567 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/18.58, allocations: 1 kB / 5.567 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0944/18.67, allocations: 36.53 MB / 5.603 GB, free: 75.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/18.68, allocations: 0.8158 MB / 5.604 GB, free: 74.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005435/18.68, allocations: 457 kB / 5.604 GB, free: 74.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01639/18.7, allocations: 1.455 MB / 5.605 GB, free: 74.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004533/18.7, allocations: 0.7524 MB / 5.606 GB, free: 74.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003843/18.71, allocations: 0.5287 MB / 5.607 GB, free: 74.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005121/18.71, allocations: 2.651 MB / 5.609 GB, free: 74.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.505e-06/18.71, allocations: 1.344 kB / 5.609 GB, free: 74.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.03588/18.75, allocations: 6.833 MB / 5.616 GB, free: 74.49 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 () * 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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1037/18.85, allocations: 40.96 MB / 5.656 GB, free: 72.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.07937/18.93, allocations: 33.21 MB / 5.688 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/18.93, allocations: 8.344 kB / 5.688 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02727/18.96, allocations: 11.49 MB / 5.7 GB, free: 59.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02237/18.98, allocations: 3.155 MB / 5.703 GB, free: 58.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07902/19.06, allocations: 29.48 MB / 5.732 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/19.07, allocations: 5.199 MB / 5.737 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02333/19.09, allocations: 5.974 MB / 5.742 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/19.1, allocations: 3.407 MB / 5.746 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.864e-06/19.1, allocations: 4 kB / 5.746 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.845/20.95, allocations: 484.2 MB / 6.219 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/20.95, allocations: 257.2 kB / 6.219 GB, free: 40.51 MB / 0.6667 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19364:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19364:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19364: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:1776: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[474] /* $cse83 variable */) * (data->localData[0]->realVars[971] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[446] /* $cse58 variable */) * (data->localData[0]->realVars[1202] /* pipe3.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[474] /* $cse83 variable */ + data->localData[0]->realVars[446] /* $cse58 variable */,"$cse83 + $cse58",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:1777:188: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure75_Modelica_Fluid_Pipes_D_DynamicPipe24pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1477] /* pipe4.statesFM[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:1782: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[474] /* $cse83 variable */) * (data->localData[0]->realVars[971] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[447] /* $cse59 variable */) * (data->localData[0]->realVars[1431] /* pipe4.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[474] /* $cse83 variable */ + data->localData[0]->realVars[447] /* $cse59 variable */,"$cse83 + $cse59",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:1783:188: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure76_Modelica_Fluid_Pipes_D_DynamicPipe24pipe3_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1245] /* pipe3.statesFM[7].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:3415: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[445] /* $cse57 variable */) * (data->localData[0]->realVars[703] /* pipe1.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[409] /* $cse24 variable */) * (data->localData[0]->realVars[967] /* pipe2.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[445] /* $cse57 variable */ + data->localData[0]->realVars[409] /* $cse24 variable */,"$cse57 + $cse24",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:3416:188: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure77_Modelica_Fluid_Pipes_D_DynamicPipe24pipe3_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1244] /* pipe3.statesFM[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:3423: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[409] /* $cse24 variable */) * (data->localData[0]->realVars[967] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[410] /* $cse25 variable */) * (data->localData[0]->realVars[1198] /* pipe3.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[409] /* $cse24 variable */ + data->localData[0]->realVars[410] /* $cse25 variable */,"$cse24 + $cse25",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:3424:188: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure78_Modelica_Fluid_Pipes_D_DynamicPipe24pipe1_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_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1