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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [: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.564/1.564, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001156/0.001156, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.491/1.491, allocations: 205.1 MB / 0.6256 GB, free: 5.879 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.0008768/0.000877, allocations: 85.61 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.987e-06, allocations: 4 kB / 0.8591 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6682, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.8735, allocations: 158.7 MB / 1.128 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.8739, allocations: 132.5 kB / 1.128 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04694/0.9208, allocations: 14.68 MB / 1.142 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9209, allocations: 0 / 1.142 GB, free: 7.004 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.001093/0.922, allocations: 0.5409 MB / 1.143 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.922, allocations: 12.03 kB / 1.143 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.9221, allocations: 79.19 kB / 1.143 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.9223, allocations: 247.1 kB / 1.143 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.9224, allocations: 154.5 kB / 1.143 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.9225, allocations: 158.6 kB / 1.143 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.21e-05/0.9226, allocations: 154.5 kB / 1.143 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.9226, allocations: 101 kB / 1.143 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.9227, allocations: 75.28 kB / 1.143 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.9227, allocations: 154.6 kB / 1.144 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.9228, allocations: 150.6 kB / 1.144 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.9231, allocations: 447.2 kB / 1.144 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.9232, allocations: 165.1 kB / 1.144 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.9232, allocations: 92.05 kB / 1.144 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.9233, allocations: 79.22 kB / 1.145 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.9233, allocations: 105.8 kB / 1.145 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 3.556e-06/0.9233, allocations: 0 / 1.145 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.2e-05/0.9234, allocations: 33.64 kB / 1.145 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.9235, allocations: 55.31 kB / 1.145 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.9236, allocations: 121.2 kB / 1.145 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.9236, allocations: 25.7 kB / 1.145 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.9237, allocations: 88.12 kB / 1.145 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.9237, allocations: 0 / 1.145 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.9237, allocations: 0 / 1.145 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9238, allocations: 318.8 kB / 1.145 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.9238, allocations: 5.219 kB / 1.145 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.9239, allocations: 3.984 kB / 1.145 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.9239, allocations: 8 kB / 1.145 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9239, allocations: 7.969 kB / 1.145 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001573/0.9241, allocations: 49.59 kB / 1.145 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.9241, allocations: 8 kB / 1.145 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.9241, allocations: 0 / 1.145 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.9242, allocations: 4 kB / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.9242, allocations: 0 / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9242, allocations: 0 / 1.145 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.9242, allocations: 3.906 kB / 1.145 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.9242, allocations: 0 / 1.145 GB, free: 3.41 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.000105/0.9243, allocations: 184.3 kB / 1.146 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.9244, allocations: 106.5 kB / 1.146 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.9245, allocations: 128.3 kB / 1.146 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.75e-05/0.9246, allocations: 176.3 kB / 1.146 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-05/0.9246, allocations: 176.3 kB / 1.146 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/0.9247, allocations: 180.2 kB / 1.146 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.925, allocations: 401.7 kB / 1.147 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001055/0.9251, allocations: 105 kB / 1.147 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.9251, allocations: 104.9 kB / 1.147 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.252e-05/0.9252, allocations: 180.3 kB / 1.147 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.9253, allocations: 184.4 kB / 1.147 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/0.9254, allocations: 180.2 kB / 1.147 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.9255, allocations: 184.2 kB / 1.148 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001336/0.9256, allocations: 309 kB / 1.148 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.9257, allocations: 186 kB / 1.148 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.9258, allocations: 180.2 kB / 1.148 GB, free: 328 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.9259, allocations: 116.9 kB / 1.148 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.926, allocations: 176.3 kB / 1.148 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.926, allocations: 103.4 kB / 1.149 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.063e-05/0.9261, allocations: 95.27 kB / 1.149 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001281/0.9274, allocations: 323.4 kB / 1.149 GB, free: 15.5 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.001345/0.9287, allocations: 0.5683 MB / 1.15 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.9288, allocations: 41.64 kB / 1.15 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9289, allocations: 0 / 1.15 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.9289, allocations: 4.688 kB / 1.15 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.9292, allocations: 0.5225 MB / 1.15 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.9295, allocations: 147.8 kB / 1.15 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.9297, allocations: 0.6958 MB / 1.151 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.9297, allocations: 0 / 1.151 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of Templates: time 0.009835/0.9396, allocations: 5.525 MB / 1.156 GB, free: 8.008 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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.InternalResistancesOneUTube_functions.o] Error 1