Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",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.001485/0.001485, allocations: 176.9 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.536/1.536, allocations: 223.2 MB / 241 MB, free: 11.91 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.0009361/0.000936, allocations: 93.34 kB / 292.1 MB, free: 10.94 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.3755/0.3755, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003491, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4153, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.654/9.069, allocations: 3.468 GB / 3.978 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/9.07, allocations: 91.92 kB / 3.978 GB, free: 27.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.983/16.05, allocations: 1.432 GB / 5.41 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.298e-06/16.05, allocations: 0 / 5.41 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002857/16.05, allocations: 66.95 kB / 5.41 GB, free: 29.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03795/16.09, allocations: 7.277 MB / 5.417 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/16.09, allocations: 10.59 kB / 5.417 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/16.09, allocations: 285.5 kB / 5.417 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/16.09, allocations: 288.5 kB / 5.418 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/16.1, allocations: 1.57 MB / 5.419 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/16.1, allocations: 148.2 kB / 5.419 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/16.1, allocations: 186.6 kB / 5.42 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/16.11, allocations: 3.121 MB / 5.423 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/16.11, allocations: 3.938 kB / 5.423 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/16.11, allocations: 81.98 kB / 5.423 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003219/16.11, allocations: 184.3 kB / 5.423 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006875/16.11, allocations: 3.496 MB / 5.426 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03221/16.15, allocations: 12.43 MB / 5.438 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/16.15, allocations: 1.705 MB / 5.44 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/16.15, allocations: 1.665 MB / 5.442 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/16.15, allocations: 60.08 kB / 5.442 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003451/16.16, allocations: 368.7 kB / 5.442 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 1.735e-05/16.16, allocations: 3.938 kB / 5.442 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.04108/16.2, allocations: 9.214 MB / 5.451 GB, free: 16.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/16.2, allocations: 197.8 kB / 5.451 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006789/16.21, allocations: 1.838 MB / 5.453 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0008945/16.21, allocations: 60.45 kB / 5.453 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/16.21, allocations: 0.9777 MB / 5.454 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/16.21, allocations: 0.5739 MB / 5.455 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007733/16.21, allocations: 44.06 kB / 5.455 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000436/16.21, allocations: 391.1 kB / 5.455 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003824/16.21, allocations: 1.311 MB / 5.456 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/16.22, allocations: 1.656 MB / 5.458 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/16.22, allocations: 1.552 MB / 5.459 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/16.22, allocations: 0 / 5.459 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01161/16.23, allocations: 3.869 MB / 5.463 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/16.24, allocations: 3.059 MB / 5.466 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/16.24, allocations: 8.75 kB / 5.466 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008499/16.24, allocations: 1.295 MB / 5.468 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/16.25, allocations: 0.4885 MB / 5.468 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/16.25, allocations: 2.128 MB / 5.47 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/16.26, allocations: 199.3 kB / 5.47 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/16.26, allocations: 139.9 kB / 5.47 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/16.26, allocations: 3.188 kB / 5.47 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/16.27, allocations: 3.823 MB / 5.474 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/16.27, allocations: 7.469 kB / 5.474 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005503/16.28, allocations: 0.9477 MB / 5.475 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/16.28, allocations: 0.4906 MB / 5.476 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/16.28, allocations: 1.914 MB / 5.477 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/16.29, allocations: 186.4 kB / 5.478 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/16.29, allocations: 138.4 kB / 5.478 GB, free: 8.188 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.00353/16.29, allocations: 0.625 MB / 5.478 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/16.29, allocations: 231.6 kB / 5.479 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/16.31, allocations: 4.151 MB / 5.483 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/16.31, allocations: 17.38 kB / 5.483 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/16.31, allocations: 5.844 kB / 5.483 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/16.31, allocations: 10.92 kB / 5.483 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/16.32, allocations: 5.679 MB / 5.488 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/16.32, allocations: 9.938 kB / 5.488 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/16.33, allocations: 291.8 kB / 5.488 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006241/16.33, allocations: 1.147 MB / 5.49 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000588/16.33, allocations: 71.38 kB / 5.49 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/16.34, allocations: 2.052 MB / 5.492 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/16.34, allocations: 7.828 kB / 5.492 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/16.35, allocations: 4.613 MB / 5.496 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/16.35, allocations: 402.8 kB / 5.497 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/16.35, allocations: 42.25 kB / 5.497 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/16.35, allocations: 161 kB / 5.497 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/16.35, allocations: 126 kB / 5.497 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004948/16.35, allocations: 105.7 kB / 5.497 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003858/16.36, allocations: 1.534 MB / 5.498 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.172e-06/16.36, allocations: 0 / 5.498 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01665/16.37, allocations: 3.08 MB / 5.501 GB, free: 13.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02912/16.4, allocations: 9.928 MB / 5.511 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01756/16.42, allocations: 4.917 MB / 5.516 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/16.42, allocations: 5.219 kB / 5.516 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005279/16.43, allocations: 1.382 MB / 5.517 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008747/16.44, allocations: 1.214 MB / 5.519 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/16.46, allocations: 12.68 MB / 5.531 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/16.46, allocations: 1.707 MB / 5.533 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.008007/16.47, allocations: 1.388 MB / 5.534 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6538/17.13, allocations: 1.023 MB / 5.535 GB, free: 55.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.545e-06/17.13, allocations: 0.75 kB / 5.535 GB, free: 55.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3303/17.46, allocations: 132.3 MB / 5.664 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/17.46, allocations: 285.8 kB / 5.664 GB, free: 49.79 MB / 0.6355 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_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18856:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18856:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18856: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_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:612:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[63] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:613:191: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure49_Modelica_Fluid_Pipes__omcQStaticPipe_24pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[180] /* pipe4.flowModel.states[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1660:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[63] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1661:191: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure52_Modelica_Fluid_Pipes__omcQStaticPipe_24pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[180] /* pipe4.flowModel.states[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1664:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[58] /* junction.port_1.h_outflow variable */), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1665:191: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure53_Modelica_Fluid_Pipes__omcQStaticPipe_24pipe1_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[112] /* pipe1.flowModel.states[2].T variable */; ^ 2 warnings and 6 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1