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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.0009631/0.0009631, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.477/1.477, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008305/0.0008305, allocations: 86.38 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.603e-05, allocations: 11.98 kB / 0.8598 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6703, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.8734, allocations: 158.8 MB / 1.128 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.8737, allocations: 119.9 kB / 1.128 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04489/0.9186, allocations: 14.86 MB / 1.143 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9187, allocations: 0 / 1.143 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.9187, allocations: 0 / 1.143 GB, free: 8.457 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.0009688/0.9197, allocations: 0.5527 MB / 1.144 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.9197, allocations: 8.031 kB / 1.144 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.9198, allocations: 83.28 kB / 1.144 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.92, allocations: 259.5 kB / 1.144 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.92, allocations: 150.6 kB / 1.144 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.9201, allocations: 150.6 kB / 1.144 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.49e-05/0.9202, allocations: 154.6 kB / 1.144 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.911e-05/0.9202, allocations: 105 kB / 1.144 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.9203, allocations: 75.28 kB / 1.144 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.9203, allocations: 150.6 kB / 1.145 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.9204, allocations: 150.6 kB / 1.145 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.9207, allocations: 458.3 kB / 1.145 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.9208, allocations: 165.1 kB / 1.145 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.9209, allocations: 80.14 kB / 1.145 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.9209, allocations: 75.28 kB / 1.145 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.921, allocations: 117.8 kB / 1.146 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.921, allocations: 0 / 1.146 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.61e-05/0.9211, allocations: 37.55 kB / 1.146 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.9211, allocations: 55.39 kB / 1.146 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.9212, allocations: 114.4 kB / 1.146 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9212, allocations: 28.7 kB / 1.146 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.9213, allocations: 88.14 kB / 1.146 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.9213, allocations: 0 / 1.146 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.9213, allocations: 0 / 1.146 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9214, allocations: 322.8 kB / 1.146 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.9215, allocations: 4 kB / 1.146 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.9215, allocations: 4 kB / 1.146 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/0.9216, allocations: 8 kB / 1.146 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9216, allocations: 0 / 1.146 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.9218, allocations: 53.55 kB / 1.146 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9218, allocations: 4 kB / 1.146 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.9218, allocations: 4 kB / 1.146 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9218, allocations: 0 / 1.146 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.9218, allocations: 0 / 1.146 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.9218, allocations: 4.062 kB / 1.146 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.9219, allocations: 1.438 kB / 1.146 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.9219, allocations: 4 kB / 1.146 GB, free: 4.844 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.973e-05/0.922, allocations: 181.8 kB / 1.146 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.9221, allocations: 116.8 kB / 1.147 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.9221, allocations: 108.9 kB / 1.147 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.9222, allocations: 184.2 kB / 1.147 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.978e-05/0.9222, allocations: 180.3 kB / 1.147 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/0.9223, allocations: 176.3 kB / 1.147 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.9225, allocations: 397.7 kB / 1.148 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.9226, allocations: 105 kB / 1.148 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.9226, allocations: 101 kB / 1.148 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-05/0.9227, allocations: 188.3 kB / 1.148 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.9228, allocations: 181.7 kB / 1.148 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.757e-05/0.9228, allocations: 176.3 kB / 1.148 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.057e-05/0.9229, allocations: 188.2 kB / 1.148 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.923, allocations: 307.8 kB / 1.149 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.9231, allocations: 190 kB / 1.149 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.9232, allocations: 185.5 kB / 1.149 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.9233, allocations: 104.9 kB / 1.149 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.9234, allocations: 181.1 kB / 1.149 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.9234, allocations: 101 kB / 1.15 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.9235, allocations: 104.7 kB / 1.15 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9235, allocations: 0 / 1.15 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001044/0.9245, allocations: 319.5 kB / 1.15 GB, free: 0.9492 MB / 0.7448 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.001548/0.9261, allocations: 0.5704 MB / 1.15 GB, free: 392 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.9262, allocations: 38.03 kB / 1.151 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9262, allocations: 64 / 1.151 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.9262, allocations: 4 kB / 1.151 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.9266, allocations: 0.5279 MB / 1.151 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.9268, allocations: 143.8 kB / 1.151 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.9271, allocations: 0.6924 MB / 1.152 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.9271, allocations: 3.906 kB / 1.152 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.9271, allocations: 7.438 kB / 1.152 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.9271, allocations: 0 / 1.152 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.01046/0.9376, allocations: 5.292 MB / 1.157 GB, free: 9.684 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 -Os -fPIC -falign-functions -mfpmath=sse -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 -Os -fPIC -falign-functions -mfpmath=sse -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:786: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