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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6714/0.6714, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 189.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009192/0.0009193, allocations: 94.36 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.607e-06/8.626e-06, allocations: 4 kB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.6271, allocations: 124 MB / 0.7421 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.6275, allocations: 119.9 kB / 0.7422 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04672/0.6742, allocations: 15.01 MB / 0.7568 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.6743, allocations: 0 / 0.7568 GB, free: 5.16 MB / 0.5105 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.001026/0.6753, allocations: 0.5563 MB / 0.7574 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6753, allocations: 8.031 kB / 0.7574 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.6754, allocations: 79.5 kB / 0.7575 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.6756, allocations: 254.1 kB / 0.7577 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.6757, allocations: 150.6 kB / 0.7579 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.6757, allocations: 150.6 kB / 0.758 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.175e-05/0.6758, allocations: 158.6 kB / 0.7582 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/0.6759, allocations: 101 kB / 0.7582 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.6759, allocations: 79.19 kB / 0.7583 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.676, allocations: 154.5 kB / 0.7585 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.676, allocations: 150.6 kB / 0.7586 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.6763, allocations: 450.5 kB / 0.759 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.6764, allocations: 169.1 kB / 0.7592 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.6765, allocations: 80.14 kB / 0.7593 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.6765, allocations: 75.28 kB / 0.7594 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.6765, allocations: 113.8 kB / 0.7595 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.6765, allocations: 0.9375 kB / 0.7595 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.08e-05/0.6766, allocations: 37.55 kB / 0.7595 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.6767, allocations: 51.41 kB / 0.7595 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.6768, allocations: 119.3 kB / 0.7597 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6768, allocations: 25.7 kB / 0.7597 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.6769, allocations: 84.14 kB / 0.7598 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.6769, allocations: 0 / 0.7598 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.6769, allocations: 4 kB / 0.7598 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.677, allocations: 322.8 kB / 0.7601 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.677, allocations: 4 kB / 0.7601 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.6771, allocations: 3.938 kB / 0.7601 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.6772, allocations: 12.03 kB / 0.7601 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6772, allocations: 0 / 0.7601 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001998/0.6774, allocations: 53.59 kB / 0.7601 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6774, allocations: 4 kB / 0.7602 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.6774, allocations: 7.938 kB / 0.7602 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.6774, allocations: 0 / 0.7602 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.6774, allocations: 64 / 0.7602 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6775, allocations: 4 kB / 0.7602 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.6775, allocations: 3.906 kB / 0.7602 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.6775, allocations: 0 / 0.7602 GB, free: 1.543 MB / 0.5105 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.746e-05/0.6776, allocations: 184.2 kB / 0.7603 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.6777, allocations: 108.9 kB / 0.7604 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.6777, allocations: 116.5 kB / 0.7606 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.6778, allocations: 184.2 kB / 0.7607 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.424e-05/0.6779, allocations: 176.3 kB / 0.7609 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.6779, allocations: 184.2 kB / 0.7611 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.6782, allocations: 389.7 kB / 0.7614 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.6782, allocations: 101 kB / 0.7615 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.6783, allocations: 105 kB / 0.7616 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.6784, allocations: 184.2 kB / 0.7618 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.6785, allocations: 192.3 kB / 0.762 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.477e-05/0.6785, allocations: 176.3 kB / 0.7622 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.254e-05/0.6786, allocations: 180.2 kB / 0.7623 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001685/0.6788, allocations: 308.7 kB / 0.7626 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6789, allocations: 189.9 kB / 0.7628 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6791, allocations: 180.3 kB / 0.763 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.6792, allocations: 105 kB / 0.7631 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.6793, allocations: 180.2 kB / 0.7633 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.6793, allocations: 101 kB / 0.7634 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.721e-05/0.6794, allocations: 101.6 kB / 0.7635 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001474/0.6809, allocations: 319.5 kB / 0.7638 GB, free: 13.65 MB / 0.5261 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.002371/0.6832, allocations: 0.5726 MB / 0.7643 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.6834, allocations: 37.7 kB / 0.7644 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6834, allocations: 0 / 0.7644 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.67e-06/0.6834, allocations: 4.062 kB / 0.7644 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.684, allocations: 0.534 MB / 0.7649 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.6843, allocations: 147.1 kB / 0.765 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.6847, allocations: 0.6958 MB / 0.7657 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.6847, allocations: 4 kB / 0.7657 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.01151/0.6962, allocations: 5.576 MB / 0.7712 GB, free: 6.066 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1