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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [: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.228/2.228, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001717/0.001717, allocations: 184.2 kB / 319.6 MB, free: 3.316 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 1.862/1.862, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00133/0.00133, allocations: 102.2 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.542e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.709/0.9394, allocations: 153.1 MB / 1.038 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000431/0.9399, allocations: 115.9 kB / 1.038 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0775/1.017, allocations: 14.73 MB / 1.052 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.017, allocations: 0 / 1.052 GB, free: 4.832 MB / 0.6667 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.001206/1.019, allocations: 0.5639 MB / 1.053 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.019, allocations: 8.031 kB / 1.053 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/1.019, allocations: 83.19 kB / 1.053 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.019, allocations: 246.2 kB / 1.053 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/1.019, allocations: 154.5 kB / 1.053 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/1.019, allocations: 155.6 kB / 1.053 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.296e-05/1.019, allocations: 154.6 kB / 1.053 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.59e-05/1.019, allocations: 108.9 kB / 1.053 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.019, allocations: 75.28 kB / 1.054 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/1.019, allocations: 150.6 kB / 1.054 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/1.02, allocations: 150.6 kB / 1.054 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/1.02, allocations: 450 kB / 1.054 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/1.02, allocations: 169.1 kB / 1.054 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/1.02, allocations: 80.14 kB / 1.055 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/1.02, allocations: 79.28 kB / 1.055 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.02, allocations: 109.8 kB / 1.055 GB, free: 2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/1.02, allocations: 3.938 kB / 1.055 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.672e-05/1.02, allocations: 37.61 kB / 1.055 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/1.02, allocations: 51.41 kB / 1.055 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/1.02, allocations: 122.7 kB / 1.055 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/1.02, allocations: 25.7 kB / 1.055 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/1.021, allocations: 84.05 kB / 1.055 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/1.021, allocations: 7.438 kB / 1.055 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/1.021, allocations: 0 / 1.055 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.021, allocations: 314.8 kB / 1.055 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/1.021, allocations: 11.62 kB / 1.055 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/1.021, allocations: 4 kB / 1.055 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/1.021, allocations: 7.125 kB / 1.055 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.021, allocations: 0 / 1.055 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001895/1.021, allocations: 61.41 kB / 1.055 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.021, allocations: 4 kB / 1.055 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/1.021, allocations: 4 kB / 1.055 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.021, allocations: 0 / 1.055 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/1.021, allocations: 0 / 1.055 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.021, allocations: 3.984 kB / 1.055 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/1.021, allocations: 7.969 kB / 1.055 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/1.021, allocations: 4 kB / 1.055 GB, free: 1.234 MB / 0.6667 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.847e-05/1.021, allocations: 176.3 kB / 1.056 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/1.021, allocations: 112.8 kB / 1.056 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/1.022, allocations: 108.6 kB / 1.056 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/1.022, allocations: 180 kB / 1.056 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/1.022, allocations: 184.2 kB / 1.056 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.358e-05/1.022, allocations: 184.2 kB / 1.056 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/1.022, allocations: 385.7 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/1.022, allocations: 108.9 kB / 1.057 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/1.022, allocations: 104.9 kB / 1.057 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/1.022, allocations: 176.3 kB / 1.057 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/1.022, allocations: 191.9 kB / 1.057 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.665e-05/1.022, allocations: 180.3 kB / 1.057 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/1.023, allocations: 184.3 kB / 1.058 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001516/1.023, allocations: 303.7 kB / 1.058 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/1.023, allocations: 193.7 kB / 1.058 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/1.023, allocations: 184.8 kB / 1.058 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.023, allocations: 105 kB / 1.058 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/1.023, allocations: 176.3 kB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/1.023, allocations: 104.9 kB / 1.059 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.305e-05/1.023, allocations: 98.95 kB / 1.059 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001565/1.025, allocations: 337.8 kB / 1.059 GB, free: 13.36 MB / 0.6823 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.001803/1.027, allocations: 0.5753 MB / 1.06 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.027, allocations: 41.5 kB / 1.06 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.027, allocations: 0 / 1.06 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/1.027, allocations: 0 / 1.06 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/1.027, allocations: 0.5302 MB / 1.06 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/1.028, allocations: 143 kB / 1.06 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/1.028, allocations: 0.6958 MB / 1.061 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/1.028, allocations: 0 / 1.061 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.01577/1.044, allocations: 5.701 MB / 1.067 GB, free: 5.691 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'