Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7205/0.7205, allocations: 127.4 MB / 134.6 MB, free: 8.164 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 177.2 kB / 164.4 MB, free: 11.5 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 399.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008742/0.000874, allocations: 88.14 kB / 476.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.012e-05, allocations: 0 / 0.546 GB, free: 64.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 76.75 MB / 0.621 GB, free: 3.855 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6321, allocations: 125.4 MB / 0.7434 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.6325, allocations: 123.8 kB / 0.7436 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.05029/0.6828, allocations: 15.34 MB / 0.7585 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6829, allocations: 0 / 0.7585 GB, free: 12.98 MB / 0.5137 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.001211/0.6841, allocations: 0.5475 MB / 0.7591 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.6842, allocations: 8.031 kB / 0.7591 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.6842, allocations: 87.48 kB / 0.7592 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.6844, allocations: 254.1 kB / 0.7594 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.6845, allocations: 150.6 kB / 0.7596 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.6846, allocations: 153.8 kB / 0.7597 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.51e-05/0.6847, allocations: 158.5 kB / 0.7599 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.836e-05/0.6848, allocations: 104.9 kB / 0.76 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.6848, allocations: 75.28 kB / 0.76 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.6849, allocations: 158.5 kB / 0.7602 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.005e-05/0.6849, allocations: 150.6 kB / 0.7603 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.6853, allocations: 441.5 kB / 0.7607 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.6854, allocations: 165.1 kB / 0.7609 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.6855, allocations: 87.2 kB / 0.761 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.6855, allocations: 79.22 kB / 0.7611 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.6856, allocations: 113.8 kB / 0.7612 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.6856, allocations: 0 / 0.7612 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.486e-05/0.6857, allocations: 29.61 kB / 0.7612 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.6858, allocations: 55.41 kB / 0.7612 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.6859, allocations: 119.6 kB / 0.7614 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6859, allocations: 29.7 kB / 0.7614 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.686, allocations: 80.14 kB / 0.7615 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.686, allocations: 0 / 0.7615 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.686, allocations: 4 kB / 0.7615 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6862, allocations: 318.8 kB / 0.7618 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.6862, allocations: 7.562 kB / 0.7618 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.6862, allocations: 4 kB / 0.7618 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.6863, allocations: 11.5 kB / 0.7618 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6863, allocations: 3.938 kB / 0.7618 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.6865, allocations: 56.81 kB / 0.7619 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6865, allocations: 8 kB / 0.7619 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.6866, allocations: 4 kB / 0.7619 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6866, allocations: 0 / 0.7619 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.6866, allocations: 0 / 0.7619 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6866, allocations: 3.938 kB / 0.7619 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.6866, allocations: 3.906 kB / 0.7619 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.6867, allocations: 0.5469 kB / 0.7619 GB, free: 9.402 MB / 0.5137 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.0001157/0.6868, allocations: 186.2 kB / 0.762 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.6869, allocations: 108.9 kB / 0.7622 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.687, allocations: 119.6 kB / 0.7623 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-05/0.6871, allocations: 176.3 kB / 0.7624 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.483e-05/0.6871, allocations: 176.3 kB / 0.7626 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-05/0.6872, allocations: 184.2 kB / 0.7628 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.6876, allocations: 401 kB / 0.7632 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-05/0.6876, allocations: 101 kB / 0.7633 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.6877, allocations: 108.9 kB / 0.7634 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-05/0.6877, allocations: 176.3 kB / 0.7635 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.6878, allocations: 180.4 kB / 0.7637 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.354e-05/0.6879, allocations: 184.2 kB / 0.7639 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.277e-05/0.688, allocations: 184.3 kB / 0.7641 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001953/0.6882, allocations: 308.5 kB / 0.7643 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6883, allocations: 186 kB / 0.7645 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.6885, allocations: 180.3 kB / 0.7647 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.6886, allocations: 108.9 kB / 0.7648 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.6887, allocations: 176.3 kB / 0.765 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.6887, allocations: 101 kB / 0.7651 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.367e-05/0.6888, allocations: 105.6 kB / 0.7652 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001411/0.6902, allocations: 331 kB / 0.7655 GB, free: 5.531 MB / 0.5137 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.002124/0.6924, allocations: 0.5821 MB / 0.766 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.6925, allocations: 44.25 kB / 0.7661 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6925, allocations: 0 / 0.7661 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.6925, allocations: 0 / 0.7661 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.6929, allocations: 0.5254 MB / 0.7666 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.6932, allocations: 148.3 kB / 0.7667 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.6935, allocations: 0.6958 MB / 0.7674 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.6936, allocations: 0 / 0.7674 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.01248/0.706, allocations: 5.745 MB / 0.773 GB, free: 13.81 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c BuildSysPro_BuildSysPro.IBPSA.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') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1