Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestJunctionIdeal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",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.001388/0.001388, allocations: 208.1 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000865/0.0008651, allocations: 100 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 45.16 MB / 383.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2251/0.396, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.4973, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.539, allocations: 0.5017 GB / 1.006 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.539, allocations: 87.78 kB / 1.006 GB, free: 163.7 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.8966/2.436, allocations: 329.8 MB / 1.328 GB, free: 37.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/2.436, allocations: 8 kB / 1.328 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/2.437, allocations: 198.6 kB / 1.328 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/2.439, allocations: 0.8191 MB / 1.329 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/2.439, allocations: 27.98 kB / 1.329 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/2.439, allocations: 36 kB / 1.329 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001586/2.441, allocations: 1.007 MB / 1.33 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/2.442, allocations: 1.067 MB / 1.331 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/2.442, allocations: 0 / 1.331 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/2.443, allocations: 4 kB / 1.331 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/2.443, allocations: 93.14 kB / 1.331 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006823/2.449, allocations: 4.561 MB / 1.335 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/2.451, allocations: 0.6334 MB / 1.336 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/2.451, allocations: 306.1 kB / 1.336 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/2.451, allocations: 352.7 kB / 1.337 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/2.451, allocations: 46.98 kB / 1.337 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/2.451, allocations: 0 / 1.337 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.00226/2.453, allocations: 0.9588 MB / 1.338 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/2.453, allocations: 214.1 kB / 1.338 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/2.454, allocations: 0.6524 MB / 1.338 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/2.454, allocations: 29.69 kB / 1.338 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/2.454, allocations: 378.6 kB / 1.339 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/2.455, allocations: 173.4 kB / 1.339 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/2.455, allocations: 0 / 1.339 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/2.455, allocations: 390.8 kB / 1.339 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/2.455, allocations: 381.4 kB / 1.34 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/2.456, allocations: 0.544 MB / 1.34 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/2.459, allocations: 1.103 MB / 1.341 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/2.459, allocations: 0 / 1.341 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.005004/2.464, allocations: 1.858 MB / 1.343 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003863/2.465, allocations: 1.748 MB / 1.345 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/2.465, allocations: 4 kB / 1.345 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/2.468, allocations: 0.6485 MB / 1.345 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/2.469, allocations: 159.7 kB / 1.346 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/2.471, allocations: 1.378 MB / 1.347 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/2.472, allocations: 91.08 kB / 1.347 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/2.472, allocations: 83.91 kB / 1.347 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/2.472, allocations: 4 kB / 1.347 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00456/2.477, allocations: 1.564 MB / 1.349 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/2.477, allocations: 8.406 kB / 1.349 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/2.477, allocations: 160.7 kB / 1.349 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/2.478, allocations: 191.8 kB / 1.349 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/2.48, allocations: 2.006 MB / 1.351 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/2.481, allocations: 75.45 kB / 1.351 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/2.481, allocations: 63.98 kB / 1.351 GB, free: 13.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/2.482, allocations: 128.8 kB / 1.351 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.482, allocations: 82.97 kB / 1.351 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/2.485, allocations: 1.627 MB / 1.353 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/2.485, allocations: 11.98 kB / 1.353 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.485, allocations: 3.906 kB / 1.353 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/2.485, allocations: 3.938 kB / 1.353 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/2.488, allocations: 1.746 MB / 1.355 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.488, allocations: 8 kB / 1.355 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/2.488, allocations: 60.02 kB / 1.355 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/2.49, allocations: 495.3 kB / 1.355 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/2.49, allocations: 15.98 kB / 1.355 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/2.491, allocations: 1.298 MB / 1.356 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.491, allocations: 7.938 kB / 1.356 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001843/2.493, allocations: 1.032 MB / 1.357 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001928/2.495, allocations: 1.474 MB / 1.359 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/2.495, allocations: 191.8 kB / 1.359 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/2.496, allocations: 0 / 1.359 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/2.496, allocations: 43.86 kB / 1.359 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/2.496, allocations: 40.39 kB / 1.359 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/2.497, allocations: 31.98 kB / 1.359 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006061/2.497, allocations: 0.4952 MB / 1.36 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004549/2.502, allocations: 1.381 MB / 1.361 GB, free: 2.773 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002743/2.504, allocations: 1.831 MB / 1.363 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1968/2.701, allocations: 1.436 MB / 1.364 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.701, allocations: 0 / 1.364 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/2.702, allocations: 336.6 kB / 1.364 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/2.704, allocations: 410.8 kB / 1.365 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/2.707, allocations: 1.206 MB / 1.366 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/2.708, allocations: 1.226 MB / 1.367 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/2.708, allocations: 3.375 kB / 1.367 GB, free: 129.7 MB / 0.5261 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal/ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_TestJunctionIdeal_02nls.c:360:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_integer(((modelica_integer) 1000)), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:361:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[8] /* junction._port_3._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:361:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[8] /* junction._port_3._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:362:182: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure32_Modelica_Fluid_Pipes_StaticPipe$pipe3_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[67] /* pipe3._flowModel._states[1]._T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:858:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_integer(((modelica_integer) 1000)), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:859:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[7] /* junction._port_2._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:859:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[7] /* junction._port_2._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:860:182: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure34_Modelica_Fluid_Pipes_StaticPipe$pipe2_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[46] /* pipe2._flowModel._states[1]._T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:866:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[3] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp5), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_integer(((modelica_integer) 1000)), mmc_mk_modelica_array(tmp6), mmc_mk_modelica_array(tmp7), mmc_mk_modelica_array(tmp8), mmc_mk_modelica_array(tmp9), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:867:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[2] = mmc_mk_box2(0, tmpMeta[3], mmc_mk_real(data->localData[0]->realVars[6] /* junction._port_1._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:867:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[2] = mmc_mk_box2(0, tmpMeta[3], mmc_mk_real(data->localData[0]->realVars[6] /* junction._port_1._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:868:182: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure35_Modelica_Fluid_Pipes_StaticPipe$pipe1_Medium_T__h_f__nonlinear,tmpMeta[2]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[25] /* pipe1._flowModel._states[2]._T variable */; ^ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal/ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.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_TestJunctionIdeal.def ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.a ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.so ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_03lsy.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_04set.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_05evt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_06inz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_07dly.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_08bnd.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_09alg.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_10asr.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_11mix.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_12jac.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_13opt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_14lnz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_15syn.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_16dae.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_17inl.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.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