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.001675/0.001675, allocations: 177 kB / 17.06 MB, free: 5.098 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.402/1.402, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009769, allocations: 90.92 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3787/0.3787, allocations: 44.22 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 12 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4315, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.71/10.14, allocations: 3.462 GB / 3.972 GB, free: 137 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/10.14, allocations: 88.23 kB / 3.972 GB, free: 137 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.155/14.3, allocations: 0.958 GB / 4.93 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.655e-06/14.3, allocations: 0 / 4.93 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006878/14.3, allocations: 156 kB / 4.93 GB, free: 17.58 MB / 0.5573 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.05837/14.36, allocations: 10.13 MB / 4.94 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/14.36, allocations: 8.562 kB / 4.94 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009433/14.37, allocations: 1.041 MB / 4.941 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/14.38, allocations: 0.8734 MB / 4.942 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/14.4, allocations: 5.744 MB / 4.947 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009481/14.4, allocations: 0.524 MB / 4.948 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006609/14.41, allocations: 0.7026 MB / 4.948 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04849/14.46, allocations: 13.98 MB / 4.962 GB, free: 236 kB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004771/14.46, allocations: 27.83 kB / 4.962 GB, free: 208 kB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5306/14.99, allocations: 286.2 kB / 4.962 GB, free: 39.88 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/14.99, allocations: 0.7048 MB / 4.963 GB, free: 39.86 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04263/15.03, allocations: 16.44 MB / 4.979 GB, free: 39.8 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/15.16, allocations: 47.62 MB / 5.026 GB, free: 25.35 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02369/15.18, allocations: 10.7 MB / 5.036 GB, free: 25.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004856/15.19, allocations: 4.14 MB / 5.04 GB, free: 20.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/15.19, allocations: 145.2 kB / 5.04 GB, free: 20.88 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009807/15.2, allocations: 0.8651 MB / 5.041 GB, free: 20.69 MB / 0.573 GB Notification: Performance of pre-optimization done (n=881): time 5.291e-05/15.2, allocations: 2.625 kB / 5.041 GB, free: 20.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=1121): time 0.3515/15.55, allocations: 99.69 MB / 5.138 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/15.55, allocations: 164.2 kB / 5.139 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007609/15.56, allocations: 3.514 MB / 5.142 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.005298/15.56, allocations: 233.7 kB / 5.142 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/15.56, allocations: 2.388 MB / 5.145 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.008775/15.57, allocations: 3.891 MB / 5.148 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003648/15.58, allocations: 216 kB / 5.149 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001115/15.58, allocations: 0.7387 MB / 5.149 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03636/15.61, allocations: 10.96 MB / 5.16 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03057/15.65, allocations: 11.42 MB / 5.171 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0376/15.68, allocations: 11.87 MB / 5.183 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-05/15.68, allocations: 11.95 kB / 5.183 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.6528/16.34, allocations: 32.91 MB / 5.215 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003187/16.34, allocations: 11.87 MB / 5.227 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.176e-05/16.34, allocations: 28.25 kB / 5.227 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2864/16.63, allocations: 79.74 MB / 5.304 GB, free: 64.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005914/16.63, allocations: 1.048 MB / 5.305 GB, free: 64.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08801/16.72, allocations: 35.1 MB / 5.34 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02048/16.74, allocations: 1.784 MB / 5.341 GB, free: 61.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005448/16.75, allocations: 0.5672 MB / 5.342 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/16.75, allocations: 4 kB / 5.342 GB, free: 61.45 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08487/16.83, allocations: 30.45 MB / 5.372 GB, free: 46.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003289/16.83, allocations: 28.5 kB / 5.372 GB, free: 46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7797/17.61, allocations: 70.62 MB / 5.441 GB, free: 72.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006681/17.62, allocations: 1.149 MB / 5.442 GB, free: 72.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08448/17.7, allocations: 31.98 MB / 5.473 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01876/17.72, allocations: 1.752 MB / 5.475 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005249/17.73, allocations: 0.5542 MB / 5.475 GB, free: 71.79 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.01707/17.74, allocations: 2.563 MB / 5.478 GB, free: 71.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006125/17.75, allocations: 0.6448 MB / 5.478 GB, free: 71.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0884/17.84, allocations: 30.65 MB / 5.508 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002209/17.84, allocations: 119.2 kB / 5.509 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/17.84, allocations: 0 / 5.509 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06686/17.9, allocations: 23.75 MB / 5.532 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1142/18.02, allocations: 41.92 MB / 5.573 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001146/18.02, allocations: 0 / 5.573 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01449/18.03, allocations: 2.132 MB / 5.575 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04952/18.08, allocations: 14.03 MB / 5.588 GB, free: 56.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005238/18.09, allocations: 0.597 MB / 5.589 GB, free: 56.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0354/18.12, allocations: 33.09 MB / 5.621 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/18.12, allocations: 0.8438 kB / 5.621 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1102/18.23, allocations: 38.42 MB / 5.659 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004346/18.24, allocations: 0.8046 MB / 5.66 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006451/18.25, allocations: 461.2 kB / 5.66 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01895/18.26, allocations: 1.455 MB / 5.662 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00603/18.27, allocations: 0.7585 MB / 5.662 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003491/18.27, allocations: 0.5386 MB / 5.663 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005082/18.28, allocations: 2.683 MB / 5.665 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/18.28, allocations: 0 / 5.665 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.04053/18.32, allocations: 6.836 MB / 5.672 GB, free: 4.09 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.7075/19.03, allocations: 42.36 MB / 5.713 GB, free: 90.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.112/19.14, allocations: 36.76 MB / 5.749 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.843e-05/19.14, allocations: 8.469 kB / 5.749 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.04784/19.19, allocations: 12.63 MB / 5.762 GB, free: 89.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02954/19.22, allocations: 3.163 MB / 5.765 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1243/19.34, allocations: 62.01 MB / 5.825 GB, free: 54.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/19.36, allocations: 5.188 MB / 5.83 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02902/19.38, allocations: 5.332 MB / 5.836 GB, free: 52.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0148/19.4, allocations: 3.453 MB / 5.839 GB, free: 50.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.114e-06/19.4, allocations: 0 / 5.839 GB, free: 50.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.784/21.18, allocations: 472.8 MB / 6.301 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/21.18, allocations: 289.2 kB / 6.301 GB, free: 111.3 MB / 0.6823 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 "-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: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 "-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: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_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19376:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:19376: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:19376: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 "-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: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 "-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: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 "-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: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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1