Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00141/0.00141, allocations: 202.1 kB / 8.543 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 98.28 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1823/0.1823, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.229/0.4114, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.5103, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.828/6.338, allocations: 3.461 GB / 3.965 GB, free: 110 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/6.339, allocations: 83.78 kB / 3.965 GB, free: 109.9 MB / 0.5261 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.689/11.03, allocations: 1.418 GB / 5.383 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/11.03, allocations: 14.78 kB / 5.383 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/11.03, allocations: 284.7 kB / 5.383 GB, free: 39.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/11.03, allocations: 1.575 MB / 5.385 GB, free: 38.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/11.03, allocations: 62.09 kB / 5.385 GB, free: 38.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/11.03, allocations: 108.8 kB / 5.385 GB, free: 38.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004574/11.04, allocations: 3.14 MB / 5.388 GB, free: 38.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/11.04, allocations: 2.85 MB / 5.391 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/11.04, allocations: 3.969 kB / 5.391 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/11.04, allocations: 2.188 kB / 5.391 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/11.04, allocations: 195.2 kB / 5.391 GB, free: 38.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/11.06, allocations: 12.06 MB / 5.403 GB, free: 33.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/11.06, allocations: 1.341 MB / 5.404 GB, free: 33.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/11.06, allocations: 1.089 MB / 5.405 GB, free: 33.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/11.06, allocations: 1.668 MB / 5.407 GB, free: 32.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/11.06, allocations: 65.88 kB / 5.407 GB, free: 32.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=153): time 3.567e-06/11.06, allocations: 0 / 5.407 GB, free: 32.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=165): time 0.02423/11.09, allocations: 7.335 MB / 5.414 GB, free: 31.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/11.09, allocations: 196.3 kB / 5.414 GB, free: 31.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/11.09, allocations: 1.253 MB / 5.415 GB, free: 30.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/11.09, allocations: 27.58 kB / 5.415 GB, free: 30.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/11.09, allocations: 0.7863 MB / 5.416 GB, free: 30.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/11.09, allocations: 0.5542 MB / 5.417 GB, free: 30.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/11.09, allocations: 0 / 5.417 GB, free: 30.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001122/11.09, allocations: 392 kB / 5.417 GB, free: 29.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/11.09, allocations: 1.234 MB / 5.418 GB, free: 29.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/11.1, allocations: 1.567 MB / 5.42 GB, free: 29.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008856/11.1, allocations: 2.689 MB / 5.422 GB, free: 29.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/11.1, allocations: 4.438 kB / 5.422 GB, free: 29.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01508/11.12, allocations: 5.092 MB / 5.427 GB, free: 29.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004566/11.12, allocations: 2.908 MB / 5.43 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/11.12, allocations: 7.219 kB / 5.43 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/11.12, allocations: 0.9231 MB / 5.431 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/11.13, allocations: 0.4906 MB / 5.432 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/11.13, allocations: 2.211 MB / 5.434 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/11.13, allocations: 155.5 kB / 5.434 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/11.13, allocations: 136.7 kB / 5.434 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/11.13, allocations: 3.125 kB / 5.434 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01398/11.15, allocations: 4.684 MB / 5.439 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/11.15, allocations: 7.844 kB / 5.439 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/11.15, allocations: 0.8444 MB / 5.439 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/11.15, allocations: 0.5 MB / 5.44 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/11.16, allocations: 1.904 MB / 5.442 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/11.16, allocations: 145.2 kB / 5.442 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/11.16, allocations: 137.3 kB / 5.442 GB, free: 23.98 MB / 0.6198 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.0006942/11.16, allocations: 172.9 kB / 5.442 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/11.16, allocations: 186.8 kB / 5.442 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008557/11.17, allocations: 4.338 MB / 5.447 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/11.17, allocations: 18.06 kB / 5.447 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/11.17, allocations: 0 / 5.447 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/11.17, allocations: 6.656 kB / 5.447 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/11.18, allocations: 5.384 MB / 5.452 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/11.18, allocations: 9.156 kB / 5.452 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/11.18, allocations: 299.2 kB / 5.452 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/11.18, allocations: 0.7729 MB / 5.453 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/11.18, allocations: 39.89 kB / 5.453 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/11.19, allocations: 2.099 MB / 5.455 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/11.19, allocations: 3.844 kB / 5.455 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007657/11.19, allocations: 4.403 MB / 5.459 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01027/11.2, allocations: 6.701 MB / 5.466 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/11.21, allocations: 350.4 kB / 5.466 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/11.21, allocations: 13.14 kB / 5.466 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/11.21, allocations: 134.9 kB / 5.466 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/11.21, allocations: 117.4 kB / 5.466 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/11.21, allocations: 103.2 kB / 5.467 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001336/11.21, allocations: 1.055 MB / 5.468 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01283/11.22, allocations: 3.947 MB / 5.471 GB, free: 19.11 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 () * 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.008908/11.23, allocations: 4.29 MB / 5.476 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007114/11.24, allocations: 4.536 MB / 5.48 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/11.24, allocations: 4.812 kB / 5.48 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/11.24, allocations: 1.178 MB / 5.481 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/11.24, allocations: 0.8844 MB / 5.482 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/11.25, allocations: 3.663 MB / 5.486 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/11.25, allocations: 2.005 MB / 5.488 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/11.25, allocations: 0 / 5.488 GB, free: 16.35 MB / 0.6198 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances/ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.c In file included from ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c:2: In file included from ./ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:1: In file included from ./ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.c In file included from ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_trunk_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances/ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.def ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.a ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.so ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_03lsy.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_04set.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_05evt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_06inz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_07dly.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_08bnd.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_09alg.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_10asr.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_11mix.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_12jac.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_13opt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_14lnz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_15syn.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_16dae.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_17inl.o ModelicaTest_trunk_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