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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [: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.459/2.459, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.002476/0.002476, allocations: 181.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 88.02 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.048e-05, allocations: 0 / 0.8503 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5823, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/0.8262, allocations: 158.4 MB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004857/0.8267, allocations: 117.1 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07842/0.9052, allocations: 14.72 MB / 1.132 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.9052, allocations: 4 kB / 1.132 GB, free: 15.61 MB / 0.7448 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.001212/0.9065, allocations: 0.5565 MB / 1.133 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9065, allocations: 11.91 kB / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.9066, allocations: 83.19 kB / 1.133 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.9068, allocations: 251.3 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.9069, allocations: 150.6 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.9069, allocations: 154.5 kB / 1.133 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.123e-05/0.907, allocations: 150.6 kB / 1.133 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.265e-05/0.9071, allocations: 105 kB / 1.133 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.9071, allocations: 75.28 kB / 1.133 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.9072, allocations: 150.6 kB / 1.134 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.9073, allocations: 162.5 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.9076, allocations: 442.4 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.9077, allocations: 173.1 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.9078, allocations: 80.14 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.9078, allocations: 75.28 kB / 1.134 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.9079, allocations: 105.8 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.9079, allocations: 0 / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.908, allocations: 37.55 kB / 1.135 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.9081, allocations: 55.41 kB / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.9082, allocations: 114.3 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.9083, allocations: 25.7 kB / 1.135 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.9083, allocations: 96.06 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.9083, allocations: 0 / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.9084, allocations: 0 / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9085, allocations: 314.8 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.9085, allocations: 7.984 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.9086, allocations: 8 kB / 1.135 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.9087, allocations: 15.91 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9087, allocations: 0 / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001963/0.9089, allocations: 47.39 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9089, allocations: 5.25 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/0.909, allocations: 11.89 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.909, allocations: 3.984 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.909, allocations: 3.938 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.909, allocations: 0 / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.9091, allocations: 4 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.9091, allocations: 4.062 kB / 1.135 GB, free: 11.98 MB / 0.7448 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 0.0001019/0.9092, allocations: 186.5 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.9093, allocations: 105 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.9093, allocations: 112.5 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/0.9095, allocations: 184.2 kB / 1.136 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-05/0.9096, allocations: 180.3 kB / 1.136 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/0.9096, allocations: 180.3 kB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.9099, allocations: 393.7 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/0.9099, allocations: 102.9 kB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.91, allocations: 105 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.098e-05/0.9101, allocations: 181.3 kB / 1.137 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/0.9102, allocations: 184.3 kB / 1.137 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.648e-05/0.9102, allocations: 180.3 kB / 1.137 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.9103, allocations: 184.2 kB / 1.137 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001598/0.9105, allocations: 308.9 kB / 1.138 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.9106, allocations: 186 kB / 1.138 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.9107, allocations: 184.2 kB / 1.138 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9108, allocations: 109 kB / 1.138 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.9109, allocations: 184.2 kB / 1.138 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.9109, allocations: 101 kB / 1.139 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.052e-05/0.911, allocations: 96.2 kB / 1.139 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001445/0.9125, allocations: 331.4 kB / 1.139 GB, free: 8.09 MB / 0.7448 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.001742/0.9143, allocations: 0.5824 MB / 1.139 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.9145, allocations: 37.7 kB / 1.14 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9145, allocations: 0 / 1.14 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.9145, allocations: 0 / 1.14 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.9149, allocations: 0.5276 MB / 1.14 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.9152, allocations: 152.6 kB / 1.14 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.9155, allocations: 0.6919 MB / 1.141 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.9156, allocations: 0 / 1.141 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.01545/0.931, allocations: 5.699 MB / 1.146 GB, free: 424 kB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:895: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.InternalResistancesTwoUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'