Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.063/2.063, allocations: 253.1 MB / 260.4 MB, free: 0.5508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001642, allocations: 187.7 kB / 319.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.5704 GB, free: 25.62 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 90.39 kB / 0.6746 GB, free: 3.059 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.809e-05, allocations: 4 kB / 0.7844 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.502, allocations: 106.2 MB / 0.8881 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.7762, allocations: 151.3 MB / 1.036 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005289/0.7768, allocations: 119.9 kB / 1.036 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of FrontEnd: time 0.4609/1.238, allocations: 14.39 MB / 1.05 GB, free: 107 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.238, allocations: 1.125 kB / 1.05 GB, free: 107 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001078/1.239, allocations: 0.5481 MB / 1.051 GB, free: 106.5 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.239, allocations: 12.44 kB / 1.051 GB, free: 106.5 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/1.239, allocations: 82.12 kB / 1.051 GB, free: 106.5 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.239, allocations: 255.6 kB / 1.051 GB, free: 106.2 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/1.239, allocations: 153.8 kB / 1.051 GB, free: 106 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/1.239, allocations: 152.2 kB / 1.051 GB, free: 105.9 MB / 0.6824 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.345e-05/1.239, allocations: 151.7 kB / 1.051 GB, free: 105.7 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.613e-05/1.239, allocations: 105.5 kB / 1.051 GB, free: 105.6 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.239, allocations: 81.34 kB / 1.052 GB, free: 105.5 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.239, allocations: 150.6 kB / 1.052 GB, free: 105.4 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/1.239, allocations: 151.2 kB / 1.052 GB, free: 105.2 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/1.24, allocations: 445.4 kB / 1.052 GB, free: 104.8 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/1.24, allocations: 170.9 kB / 1.052 GB, free: 104.6 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/1.24, allocations: 81.42 kB / 1.052 GB, free: 104.5 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.24, allocations: 75.8 kB / 1.053 GB, free: 104.5 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.24, allocations: 111.4 kB / 1.053 GB, free: 104.3 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/1.24, allocations: 0 / 1.053 GB, free: 104.3 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0): time 8.605e-05/1.24, allocations: 35.84 kB / 1.053 GB, free: 104.3 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/1.24, allocations: 52.5 kB / 1.053 GB, free: 104.2 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.24, allocations: 117.5 kB / 1.053 GB, free: 104.1 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/1.24, allocations: 25.7 kB / 1.053 GB, free: 104.1 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/1.24, allocations: 87.17 kB / 1.053 GB, free: 104 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/1.24, allocations: 0 / 1.053 GB, free: 104 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.24, allocations: 0 / 1.053 GB, free: 104 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/1.24, allocations: 321.9 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/1.24, allocations: 4 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/1.24, allocations: 6.25 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/1.24, allocations: 5.969 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.24, allocations: 4.031 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/1.241, allocations: 51.56 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.241, allocations: 8.969 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.241, allocations: 3.297 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.241, allocations: 0 / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/1.241, allocations: 1.844 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.241, allocations: 1.266 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/1.241, allocations: 5.125 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.241, allocations: 1.188 kB / 1.053 GB, free: 103.7 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/1.241, allocations: 186.4 kB / 1.054 GB, free: 103.5 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.241, allocations: 108.1 kB / 1.054 GB, free: 103.4 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/1.241, allocations: 114.5 kB / 1.054 GB, free: 103.3 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.241, allocations: 186.5 kB / 1.054 GB, free: 103.1 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.899e-05/1.241, allocations: 186 kB / 1.054 GB, free: 102.9 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/1.241, allocations: 182.7 kB / 1.054 GB, free: 102.7 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/1.241, allocations: 391.8 kB / 1.055 GB, free: 102.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/1.241, allocations: 105.1 kB / 1.055 GB, free: 102.2 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/1.241, allocations: 107.3 kB / 1.055 GB, free: 102.1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-05/1.241, allocations: 178.3 kB / 1.055 GB, free: 101.9 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/1.241, allocations: 177 kB / 1.055 GB, free: 101.7 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-05/1.242, allocations: 186.3 kB / 1.055 GB, free: 101.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-05/1.242, allocations: 185.9 kB / 1.056 GB, free: 101.3 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.063e-05/1.242, allocations: 310.1 kB / 1.056 GB, free: 101 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/1.242, allocations: 183.8 kB / 1.056 GB, free: 100.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/1.242, allocations: 183.1 kB / 1.056 GB, free: 100.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/1.242, allocations: 106.8 kB / 1.056 GB, free: 100.5 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/1.242, allocations: 182.6 kB / 1.056 GB, free: 100.3 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.242, allocations: 101.7 kB / 1.057 GB, free: 100.2 MB / 0.6824 GB Notification: Performance of sort global known variables: time 7.197e-05/1.242, allocations: 97.78 kB / 1.057 GB, free: 100.2 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.00148/1.244, allocations: 325.5 kB / 1.057 GB, free: 100.1 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001988/1.246, allocations: 0.5671 MB / 1.058 GB, free: 99.8 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001336/1.246, allocations: 40.23 kB / 1.058 GB, free: 99.76 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.246, allocations: 0 / 1.058 GB, free: 99.76 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/1.246, allocations: 1.781 kB / 1.058 GB, free: 99.76 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/1.246, allocations: 0.5298 MB / 1.058 GB, free: 99.23 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/1.246, allocations: 135.9 kB / 1.058 GB, free: 99.09 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.246, allocations: 0.6944 MB / 1.059 GB, free: 98.39 MB / 0.6824 GB Notification: Performance of SimCode: time 8.12e-07/1.246, allocations: 0 / 1.059 GB, free: 98.39 MB / 0.6824 GB Notification: Performance of Templates: time 0.01579/1.262, allocations: 5.528 MB / 1.064 GB, free: 97.91 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:857:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'