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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 183.6 kB / 8.527 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0008907/0.0008907, allocations: 85.61 kB / 281.2 MB, free: 5.523 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.1607/0.1607, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.3518, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.4517, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.29/5.742, allocations: 3.467 GB / 3.961 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/5.742, allocations: 91.77 kB / 3.961 GB, free: 108.8 MB / 0.5105 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 4.683/10.43, allocations: 1.437 GB / 5.399 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/10.43, allocations: 14.34 kB / 5.399 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/10.43, allocations: 288.2 kB / 5.399 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/10.43, allocations: 1.566 MB / 5.4 GB, free: 33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/10.43, allocations: 66.94 kB / 5.4 GB, free: 33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/10.43, allocations: 110.8 kB / 5.401 GB, free: 33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004804/10.44, allocations: 3.14 MB / 5.404 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/10.44, allocations: 2.847 MB / 5.406 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/10.44, allocations: 0 / 5.406 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/10.44, allocations: 4.344 kB / 5.406 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/10.44, allocations: 198.6 kB / 5.407 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/10.46, allocations: 12.07 MB / 5.418 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/10.46, allocations: 1.34 MB / 5.42 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/10.46, allocations: 1.089 MB / 5.421 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/10.46, allocations: 1.664 MB / 5.422 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/10.46, allocations: 57.28 kB / 5.422 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 3.076e-06/10.46, allocations: 0.625 kB / 5.422 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.02494/10.49, allocations: 7.34 MB / 5.43 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/10.49, allocations: 207.1 kB / 5.43 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/10.49, allocations: 1.254 MB / 5.431 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/10.49, allocations: 29.61 kB / 5.431 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/10.49, allocations: 0.7868 MB / 5.432 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/10.49, allocations: 0.5526 MB / 5.432 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/10.49, allocations: 2.75 kB / 5.432 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001137/10.49, allocations: 387.9 kB / 5.433 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/10.49, allocations: 1.236 MB / 5.434 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/10.5, allocations: 1.561 MB / 5.435 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007042/10.5, allocations: 2.433 MB / 5.438 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/10.5, allocations: 3.906 kB / 5.438 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01466/10.52, allocations: 4.819 MB / 5.443 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004227/10.52, allocations: 2.907 MB / 5.445 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/10.52, allocations: 6.812 kB / 5.445 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/10.52, allocations: 0.9316 MB / 5.446 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/10.53, allocations: 497.5 kB / 5.447 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/10.53, allocations: 2.21 MB / 5.449 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/10.53, allocations: 155.1 kB / 5.449 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/10.53, allocations: 137.2 kB / 5.449 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/10.53, allocations: 4.75 kB / 5.449 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/10.55, allocations: 4.412 MB / 5.454 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/10.55, allocations: 6.844 kB / 5.454 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/10.55, allocations: 0.8453 MB / 5.454 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/10.55, allocations: 0.4909 MB / 5.455 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/10.56, allocations: 1.908 MB / 5.457 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/10.56, allocations: 146.3 kB / 5.457 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/10.56, allocations: 136.3 kB / 5.457 GB, free: 18.01 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: junction.port_2.m_flow:VARIABLE(flow=true min = max(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59) max = min(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59) unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real 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 () * 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,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008452/10.56, allocations: 173.2 kB / 5.457 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005465/10.56, allocations: 188.2 kB / 5.457 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00873/10.57, allocations: 4.335 MB / 5.462 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/10.57, allocations: 20.25 kB / 5.462 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/10.57, allocations: 1.859 kB / 5.462 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/10.57, allocations: 8.516 kB / 5.462 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/10.58, allocations: 5.401 MB / 5.467 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/10.58, allocations: 11.34 kB / 5.467 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/10.58, allocations: 302.2 kB / 5.467 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/10.58, allocations: 0.7696 MB / 5.468 GB, free: 17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/10.58, allocations: 41.34 kB / 5.468 GB, free: 17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/10.59, allocations: 2.091 MB / 5.47 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/10.59, allocations: 7.469 kB / 5.47 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008038/10.59, allocations: 4.403 MB / 5.474 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01155/10.61, allocations: 6.697 MB / 5.481 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/10.61, allocations: 349.2 kB / 5.481 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008894/10.61, allocations: 9.969 kB / 5.481 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/10.61, allocations: 138.9 kB / 5.481 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/10.61, allocations: 117.6 kB / 5.481 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/10.61, allocations: 104.5 kB / 5.482 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001638/10.61, allocations: 1.053 MB / 5.483 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01248/10.63, allocations: 3.889 MB / 5.486 GB, free: 13.13 MB / 0.6042 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 () * 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.01052/10.64, allocations: 4.246 MB / 5.491 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008581/10.64, allocations: 4.54 MB / 5.495 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/10.64, allocations: 4.031 kB / 5.495 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/10.65, allocations: 1.175 MB / 5.496 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/10.65, allocations: 0.8889 MB / 5.497 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/10.66, allocations: 3.663 MB / 5.501 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/10.66, allocations: 1.997 MB / 5.502 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/10.66, allocations: 0 / 5.502 GB, free: 10.39 MB / 0.6042 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances/ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmutmp/sources' clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190: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:300: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:301:184: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure49_Modelica_Fluid_Pipes_StaticPipe$pipe4_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:1423: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:1424:184: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure53_Modelica_Fluid_Pipes_StaticPipe$pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[180] /* pipe4._flowModel._states[1]._T variable */; ^ 2 warnings and 4 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances/ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.def ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.a ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.so ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_03lsy.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_04set.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_05evt.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_06inz.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_07dly.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_08bnd.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_09alg.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_10asr.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_11mix.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_12jac.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_13opt.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_14lnz.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_15syn.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_16dae.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_17inl.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o