Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.184/1.184, allocations: 221.4 MB / 230.3 MB, free: 7.629 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.0009124/0.0009123, allocations: 91.97 kB / 281.2 MB, free: 5.457 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.1579/0.1579, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2022/0.3601, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.4691, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9445/1.414, allocations: 0.5006 GB / 0.9948 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.414, allocations: 87.78 kB / 0.9949 GB, free: 106.1 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.081/2.495, allocations: 330.7 MB / 1.318 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/2.495, allocations: 12.12 kB / 1.318 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/2.497, allocations: 203.7 kB / 1.318 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/2.499, allocations: 0.8096 MB / 1.319 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/2.499, allocations: 22.5 kB / 1.319 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/2.499, allocations: 34.09 kB / 1.319 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001948/2.501, allocations: 1.017 MB / 1.32 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/2.503, allocations: 1.065 MB / 1.321 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/2.503, allocations: 3.75 kB / 1.321 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/2.503, allocations: 0 / 1.321 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.556e-05/2.503, allocations: 87.69 kB / 1.321 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/2.51, allocations: 4.562 MB / 1.325 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/2.511, allocations: 0.6357 MB / 1.326 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/2.512, allocations: 309.5 kB / 1.326 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/2.512, allocations: 355.4 kB / 1.327 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/2.512, allocations: 38.94 kB / 1.327 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/2.512, allocations: 0 / 1.327 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.002408/2.514, allocations: 0.9642 MB / 1.328 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/2.514, allocations: 213.8 kB / 1.328 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/2.515, allocations: 0.6564 MB / 1.329 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/2.515, allocations: 25.7 kB / 1.329 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/2.516, allocations: 381.7 kB / 1.329 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/2.516, allocations: 173.4 kB / 1.329 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/2.516, allocations: 0 / 1.329 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001114/2.516, allocations: 394.2 kB / 1.329 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/2.516, allocations: 375.8 kB / 1.33 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/2.517, allocations: 0.5545 MB / 1.33 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/2.52, allocations: 0.9432 MB / 1.331 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/2.52, allocations: 0 / 1.331 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003891/2.524, allocations: 1.691 MB / 1.333 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004199/2.524, allocations: 1.751 MB / 1.335 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/2.524, allocations: 3.938 kB / 1.335 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003693/2.528, allocations: 0.6476 MB / 1.335 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/2.529, allocations: 160.1 kB / 1.335 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/2.531, allocations: 1.368 MB / 1.337 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/2.532, allocations: 107.1 kB / 1.337 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/2.532, allocations: 69.58 kB / 1.337 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/2.532, allocations: 2.906 kB / 1.337 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003674/2.536, allocations: 1.412 MB / 1.338 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/2.536, allocations: 7.781 kB / 1.338 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/2.537, allocations: 162.8 kB / 1.338 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/2.538, allocations: 193 kB / 1.339 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/2.54, allocations: 2.005 MB / 1.341 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/2.541, allocations: 73.02 kB / 1.341 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/2.541, allocations: 70.84 kB / 1.341 GB, free: 64.46 MB / 0.5105 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.000267/2.541, allocations: 119.7 kB / 1.341 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/2.542, allocations: 84.41 kB / 1.341 GB, free: 64.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/2.545, allocations: 1.642 MB / 1.343 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/2.545, allocations: 5.625 kB / 1.343 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/2.545, allocations: 0 / 1.343 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/2.545, allocations: 7.516 kB / 1.343 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/2.548, allocations: 1.754 MB / 1.344 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.548, allocations: 4.531 kB / 1.344 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/2.548, allocations: 53.38 kB / 1.344 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/2.55, allocations: 498 kB / 1.345 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/2.55, allocations: 10.88 kB / 1.345 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/2.552, allocations: 1.314 MB / 1.346 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.552, allocations: 3.75 kB / 1.346 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002008/2.554, allocations: 1.039 MB / 1.347 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002138/2.556, allocations: 1.468 MB / 1.349 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/2.556, allocations: 184.4 kB / 1.349 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/2.557, allocations: 0 / 1.349 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/2.557, allocations: 45.98 kB / 1.349 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/2.558, allocations: 33.08 kB / 1.349 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/2.558, allocations: 31.05 kB / 1.349 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000685/2.558, allocations: 0.5013 MB / 1.349 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005796/2.564, allocations: 1.349 MB / 1.351 GB, free: 62.1 MB / 0.5105 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.004234/2.568, allocations: 1.81 MB / 1.352 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002819/2.571, allocations: 1.435 MB / 1.354 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/2.571, allocations: 0 / 1.354 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/2.572, allocations: 339.9 kB / 1.354 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/2.574, allocations: 427.3 kB / 1.355 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/2.577, allocations: 1.202 MB / 1.356 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.578, allocations: 1.227 MB / 1.357 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/2.578, allocations: 0 / 1.357 GB, free: 60.62 MB / 0.5105 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal/ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.c In file included from ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c:2: In file included from ./ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:1: In file included from ./ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c In file included from ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c:2: In file included from ./ModelicaTest_4_0_0_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. "-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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:2: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal/ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.def ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.a ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.so ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_03lsy.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_04set.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_05evt.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_06inz.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_07dly.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_08bnd.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_09alg.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_10asr.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_11mix.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_12jac.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_13opt.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_14lnz.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_15syn.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_16dae.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_17inl.o ModelicaTest_4_0_0_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