Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.316/2.316, allocations: 284.9 MB / 292.2 MB, free: 9.781 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 179 kB / 360.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.1 MB / 0.6188 GB, free: 3.32 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 94.86 kB / 0.7318 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.139e-05, allocations: 2.5 kB / 0.8503 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 115.2 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7039/0.9269, allocations: 157.6 MB / 1.117 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.9274, allocations: 118.1 kB / 1.117 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.07076/0.9982, allocations: 14.38 MB / 1.131 GB, free: 32.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9982, allocations: 0 / 1.131 GB, free: 32.38 MB / 0.7136 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.001065/0.9993, allocations: 0.5461 MB / 1.131 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.9994, allocations: 7.781 kB / 1.131 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.9994, allocations: 86.69 kB / 1.132 GB, free: 31.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.9996, allocations: 249.2 kB / 1.132 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.9996, allocations: 154.6 kB / 1.132 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.9997, allocations: 157.2 kB / 1.132 GB, free: 31.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.451e-05/0.9997, allocations: 162.3 kB / 1.132 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.134e-05/0.9998, allocations: 101 kB / 1.132 GB, free: 30.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.9998, allocations: 75.28 kB / 1.132 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.9998, allocations: 150.6 kB / 1.133 GB, free: 30.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.9999, allocations: 150.6 kB / 1.133 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/1, allocations: 444.5 kB / 1.133 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/1, allocations: 176.6 kB / 1.133 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/1, allocations: 83.86 kB / 1.133 GB, free: 45.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/1, allocations: 75.28 kB / 1.133 GB, free: 45.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1, allocations: 113.8 kB / 1.134 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1, allocations: 0 / 1.134 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.272e-05/1, allocations: 32.05 kB / 1.134 GB, free: 45.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/1, allocations: 51.41 kB / 1.134 GB, free: 45.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.001, allocations: 117.9 kB / 1.134 GB, free: 45.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.001, allocations: 25.7 kB / 1.134 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/1.001, allocations: 83.52 kB / 1.134 GB, free: 45.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/1.001, allocations: 3.906 kB / 1.134 GB, free: 45.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/1.001, allocations: 7.938 kB / 1.134 GB, free: 45.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.001, allocations: 317.5 kB / 1.134 GB, free: 45.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/1.001, allocations: 7.906 kB / 1.134 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/1.001, allocations: 3.875 kB / 1.134 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/1.001, allocations: 7.375 kB / 1.134 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.001, allocations: 3.938 kB / 1.134 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001713/1.001, allocations: 48.28 kB / 1.134 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.001, allocations: 3.875 kB / 1.134 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.001, allocations: 6.953 kB / 1.134 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.001, allocations: 4.062 kB / 1.134 GB, free: 45.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/1.001, allocations: 0 / 1.134 GB, free: 45.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.001, allocations: 0.5469 kB / 1.134 GB, free: 45.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/1.001, allocations: 3.906 kB / 1.134 GB, free: 45.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.001, allocations: 3.844 kB / 1.134 GB, free: 45.01 MB / 0.7292 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 9.187e-05/1.001, allocations: 183.7 kB / 1.134 GB, free: 44.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/1.002, allocations: 112.7 kB / 1.135 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/1.002, allocations: 107.4 kB / 1.135 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.002, allocations: 180.3 kB / 1.135 GB, free: 44.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-05/1.002, allocations: 184.1 kB / 1.135 GB, free: 44.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/1.002, allocations: 179.5 kB / 1.135 GB, free: 44.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/1.002, allocations: 395.2 kB / 1.136 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/1.002, allocations: 104.9 kB / 1.136 GB, free: 43.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/1.002, allocations: 107.5 kB / 1.136 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.89e-05/1.002, allocations: 176.3 kB / 1.136 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.002, allocations: 180.2 kB / 1.136 GB, free: 43.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.23e-05/1.002, allocations: 187.4 kB / 1.136 GB, free: 42.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-05/1.002, allocations: 179.7 kB / 1.136 GB, free: 42.7 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/1.003, allocations: 308.9 kB / 1.137 GB, free: 42.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/1.003, allocations: 189.2 kB / 1.137 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.899e-05/1.003, allocations: 183.8 kB / 1.137 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/1.003, allocations: 101 kB / 1.137 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/1.003, allocations: 180.3 kB / 1.137 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/1.003, allocations: 115.8 kB / 1.137 GB, free: 41.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.88e-05/1.003, allocations: 89.94 kB / 1.138 GB, free: 41.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001369/1.004, allocations: 330.8 kB / 1.138 GB, free: 41.42 MB / 0.7292 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.001667/1.006, allocations: 0.5609 MB / 1.138 GB, free: 41.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.006, allocations: 39.22 kB / 1.138 GB, free: 41.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.006, allocations: 7.375 kB / 1.138 GB, free: 41.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/1.006, allocations: 3.875 kB / 1.138 GB, free: 41.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/1.007, allocations: 0.5277 MB / 1.139 GB, free: 40.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/1.007, allocations: 139.5 kB / 1.139 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/1.007, allocations: 0.7022 MB / 1.14 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of SimCode: time 1.573e-06/1.007, allocations: 0 / 1.14 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.01421/1.022, allocations: 5.529 MB / 1.145 GB, free: 39.26 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_8.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_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_8.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_8_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'