Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187.3 kB / 7.8 MB, free: 2.273 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4352/0.4352, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.0009061, allocations: 97.47 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.328e-06, allocations: 0 / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3512, allocations: 72.29 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4791, allocations: 121.7 MB / 0.6718 GB, free: 4.238 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4794, allocations: 116.7 kB / 0.6719 GB, free: 4.125 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.04756/0.527, allocations: 15.13 MB / 0.6867 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.527, allocations: 0 / 0.6867 GB, free: 5.055 MB / 0.4948 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.000818/0.5279, allocations: 0.5526 MB / 0.6872 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5279, allocations: 8.031 kB / 0.6872 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.528, allocations: 89.62 kB / 0.6873 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.5281, allocations: 252.2 kB / 0.6876 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.5282, allocations: 154.6 kB / 0.6877 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.5282, allocations: 150.6 kB / 0.6878 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.039e-05/0.5283, allocations: 150.6 kB / 0.688 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.21e-05/0.5284, allocations: 108.9 kB / 0.6881 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/0.5284, allocations: 77.81 kB / 0.6882 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.5285, allocations: 150.6 kB / 0.6883 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.5285, allocations: 154.6 kB / 0.6885 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.5288, allocations: 446.4 kB / 0.6889 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.5289, allocations: 169.1 kB / 0.689 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.5289, allocations: 80.14 kB / 0.6891 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.529, allocations: 83.28 kB / 0.6892 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.529, allocations: 113.8 kB / 0.6893 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.529, allocations: 0 / 0.6893 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.925e-05/0.5291, allocations: 29.61 kB / 0.6893 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.5291, allocations: 51.41 kB / 0.6894 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.5293, allocations: 117.2 kB / 0.6895 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.5293, allocations: 25.7 kB / 0.6895 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.5293, allocations: 96.03 kB / 0.6896 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-06/0.5293, allocations: 0 / 0.6896 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.5294, allocations: 0 / 0.6896 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.5295, allocations: 314.8 kB / 0.6899 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.5295, allocations: 8 kB / 0.6899 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.5295, allocations: 0 / 0.6899 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.5296, allocations: 12 kB / 0.6899 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5296, allocations: 0 / 0.6899 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000149/0.5298, allocations: 53.53 kB / 0.69 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5298, allocations: 10.75 kB / 0.69 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.5298, allocations: 12.06 kB / 0.69 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5298, allocations: 0 / 0.69 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.5298, allocations: 3.188 kB / 0.69 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5298, allocations: 5.484 kB / 0.69 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.5299, allocations: 6.906 kB / 0.69 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.5299, allocations: 0 / 0.69 GB, free: 1.434 MB / 0.4948 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.551e-05/0.53, allocations: 180.2 kB / 0.6902 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.53, allocations: 108.9 kB / 0.6903 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.5301, allocations: 116.5 kB / 0.6904 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/0.5302, allocations: 176.3 kB / 0.6906 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-05/0.5302, allocations: 180.2 kB / 0.6907 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/0.5303, allocations: 180.2 kB / 0.6909 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.5305, allocations: 393.8 kB / 0.6913 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.5305, allocations: 105 kB / 0.6914 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.5305, allocations: 104.9 kB / 0.6915 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-05/0.5306, allocations: 188.2 kB / 0.6917 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.5307, allocations: 180.3 kB / 0.6918 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-05/0.5307, allocations: 180.2 kB / 0.692 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.393e-05/0.5308, allocations: 176.3 kB / 0.6922 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001273/0.531, allocations: 317 kB / 0.6925 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.531, allocations: 186 kB / 0.6927 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.5311, allocations: 176.3 kB / 0.6928 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.5312, allocations: 104.9 kB / 0.6929 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.5312, allocations: 184.3 kB / 0.6931 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5313, allocations: 105 kB / 0.6932 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.192e-05/0.5313, allocations: 95.28 kB / 0.6933 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009951/0.5323, allocations: 327.4 kB / 0.6936 GB, free: 13.54 MB / 0.5105 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.001305/0.5336, allocations: 0.5477 MB / 0.6942 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.5338, allocations: 41.69 kB / 0.6942 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5338, allocations: 0 / 0.6942 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.5338, allocations: 8.062 kB / 0.6942 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5341, allocations: 0.5309 MB / 0.6947 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.5343, allocations: 143.2 kB / 0.6949 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.5345, allocations: 0.6997 MB / 0.6955 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.5345, allocations: 0 / 0.6955 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.009272/0.5438, allocations: 5.589 MB / 0.701 GB, free: 5.988 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:1119: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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1