Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.503/1.503, allocations: 289.8 MB / 297.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 193.2 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.2 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 91.64 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.291e-05, allocations: 4 kB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7163, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.9237, allocations: 158.7 MB / 1.128 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.9241, allocations: 119.8 kB / 1.128 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04575/0.9699, allocations: 14.67 MB / 1.142 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9699, allocations: 0 / 1.142 GB, free: 6.953 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.00102/0.9709, allocations: 0.5487 MB / 1.143 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.971, allocations: 8.031 kB / 1.143 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.9711, allocations: 83.19 kB / 1.143 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.9713, allocations: 247.6 kB / 1.143 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.9713, allocations: 158.5 kB / 1.143 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.9714, allocations: 154.5 kB / 1.143 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.885e-05/0.9715, allocations: 154.6 kB / 1.143 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.646e-05/0.9715, allocations: 105 kB / 1.143 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.9716, allocations: 75.28 kB / 1.144 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.9716, allocations: 150.6 kB / 1.144 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.9717, allocations: 150.6 kB / 1.144 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.972, allocations: 454.4 kB / 1.144 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.9721, allocations: 169.1 kB / 1.144 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.9721, allocations: 84.05 kB / 1.144 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.9722, allocations: 75.28 kB / 1.145 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.9722, allocations: 105.8 kB / 1.145 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 3.486e-06/0.9722, allocations: 4 kB / 1.145 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.45e-05/0.9723, allocations: 33.64 kB / 1.145 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.9724, allocations: 59.31 kB / 1.145 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.9725, allocations: 110 kB / 1.145 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.9725, allocations: 27.48 kB / 1.145 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.9726, allocations: 96.06 kB / 1.145 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.9726, allocations: 0 / 1.145 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.9726, allocations: 0 / 1.145 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.9728, allocations: 318.8 kB / 1.145 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.9728, allocations: 4 kB / 1.145 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.9728, allocations: 4 kB / 1.145 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.9729, allocations: 11.98 kB / 1.145 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9729, allocations: 0 / 1.145 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001509/0.9731, allocations: 49.64 kB / 1.145 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9731, allocations: 5.25 kB / 1.145 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.9731, allocations: 7.984 kB / 1.145 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9732, allocations: 0 / 1.145 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.9732, allocations: 0 / 1.145 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.9732, allocations: 0 / 1.145 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.9732, allocations: 7.969 kB / 1.145 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.9732, allocations: 6.266 kB / 1.145 GB, free: 3.34 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 8.437e-05/0.9733, allocations: 176.3 kB / 1.146 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.9734, allocations: 112.8 kB / 1.146 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.9735, allocations: 117.1 kB / 1.146 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-05/0.9735, allocations: 176.3 kB / 1.146 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-05/0.9736, allocations: 188.2 kB / 1.146 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-05/0.9737, allocations: 176.3 kB / 1.146 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.9739, allocations: 393.7 kB / 1.147 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/0.9739, allocations: 104.9 kB / 1.147 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.974, allocations: 109 kB / 1.147 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.248e-05/0.974, allocations: 180.3 kB / 1.147 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.9741, allocations: 186 kB / 1.147 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.669e-05/0.9742, allocations: 180.3 kB / 1.147 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.396e-05/0.9743, allocations: 176.3 kB / 1.148 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001401/0.9744, allocations: 317 kB / 1.148 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.9745, allocations: 186 kB / 1.148 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.9746, allocations: 180.2 kB / 1.148 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.9747, allocations: 108.9 kB / 1.148 GB, free: 148 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.9748, allocations: 176.3 kB / 1.148 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.9748, allocations: 108.9 kB / 1.149 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.063e-05/0.9749, allocations: 94.08 kB / 1.149 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009708/0.9759, allocations: 335.4 kB / 1.149 GB, free: 15.43 MB / 0.7605 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.001135/0.977, allocations: 0.5667 MB / 1.15 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.9771, allocations: 37.7 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9771, allocations: 0.5625 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.9771, allocations: 3.938 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.9775, allocations: 0.5264 MB / 1.15 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.9777, allocations: 148.1 kB / 1.15 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.978, allocations: 0.6958 MB / 1.151 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of SimCode: time 2.6e-07/0.978, allocations: 0 / 1.151 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of Templates: time 0.009745/0.9877, allocations: 5.522 MB / 1.156 GB, free: 7.938 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile clang -fPIC -O0 -falign-functions -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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.c clang -fPIC -O0 -falign-functions -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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_8_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') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1