Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.788/0.788, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 179.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 283.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.003e-05, allocations: 8 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.482, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.6498, allocations: 129.4 MB / 0.8838 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.6502, allocations: 131.8 kB / 0.8839 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4799/1.13, allocations: 15.4 MB / 0.8989 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.924e-06/1.13, allocations: 0 / 0.8989 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.13, allocations: 1.312 kB / 0.899 GB, free: 128.5 MB / 0.5573 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.001115/1.131, allocations: 0.5553 MB / 0.8995 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.131, allocations: 8.781 kB / 0.8995 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/1.131, allocations: 81.66 kB / 0.8996 GB, free: 128 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.131, allocations: 257.2 kB / 0.8998 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.132, allocations: 151.7 kB / 0.9 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/1.132, allocations: 156.6 kB / 0.9001 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.454e-05/1.132, allocations: 156.1 kB / 0.9003 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.023e-05/1.132, allocations: 105.5 kB / 0.9004 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.132, allocations: 75.28 kB / 0.9004 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/1.132, allocations: 151.2 kB / 0.9006 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/1.132, allocations: 151.8 kB / 0.9007 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/1.132, allocations: 446.2 kB / 0.9012 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/1.132, allocations: 172.2 kB / 0.9013 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/1.132, allocations: 82.45 kB / 0.9014 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/1.132, allocations: 75.28 kB / 0.9015 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.132, allocations: 114.3 kB / 0.9016 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.132, allocations: 0 / 0.9016 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.415e-05/1.132, allocations: 33.39 kB / 0.9016 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/1.132, allocations: 52.91 kB / 0.9017 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/1.132, allocations: 119.4 kB / 0.9018 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/1.132, allocations: 25.7 kB / 0.9018 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/1.132, allocations: 94.23 kB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/1.132, allocations: 0 / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/1.132, allocations: 3.844 kB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/1.132, allocations: 318.5 kB / 0.9022 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/1.133, allocations: 3.375 kB / 0.9022 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/1.133, allocations: 4.344 kB / 0.9022 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/1.133, allocations: 9.141 kB / 0.9022 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.133, allocations: 0.6562 kB / 0.9022 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001415/1.133, allocations: 55.78 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.133, allocations: 5.594 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.133, allocations: 3.969 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.133, allocations: 3.719 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/1.133, allocations: 1.312 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/1.133, allocations: 6.516 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/1.133, allocations: 6.688 kB / 0.9023 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/1.133, allocations: 2.078 kB / 0.9023 GB, free: 125.3 MB / 0.5573 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 6.633e-05/1.133, allocations: 177.4 kB / 0.9025 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/1.133, allocations: 113.4 kB / 0.9026 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/1.133, allocations: 112.4 kB / 0.9027 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.133, allocations: 179 kB / 0.9028 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/1.133, allocations: 181.5 kB / 0.903 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/1.133, allocations: 178.4 kB / 0.9032 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.133, allocations: 400 kB / 0.9036 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.133, allocations: 105.1 kB / 0.9037 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/1.133, allocations: 106.2 kB / 0.9038 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/1.133, allocations: 179.5 kB / 0.9039 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/1.134, allocations: 179.7 kB / 0.9041 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.729e-05/1.134, allocations: 185 kB / 0.9043 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.053e-05/1.134, allocations: 184.9 kB / 0.9045 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.306e-05/1.134, allocations: 304.1 kB / 0.9048 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/1.134, allocations: 186.9 kB / 0.9049 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/1.134, allocations: 187.3 kB / 0.9051 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/1.134, allocations: 106.9 kB / 0.9052 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/1.134, allocations: 184 kB / 0.9054 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.134, allocations: 104.9 kB / 0.9055 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.444e-05/1.134, allocations: 95.41 kB / 0.9056 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.134, allocations: 0 / 0.9056 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001403/1.135, allocations: 327.4 kB / 0.9059 GB, free: 121.8 MB / 0.5573 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.001327/1.137, allocations: 0.575 MB / 0.9065 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001053/1.137, allocations: 39.2 kB / 0.9065 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.137, allocations: 0 / 0.9065 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/1.137, allocations: 3.688 kB / 0.9065 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/1.137, allocations: 0.5248 MB / 0.907 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/1.137, allocations: 151.6 kB / 0.9072 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/1.138, allocations: 0.69 MB / 0.9078 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.43e-05/1.138, allocations: 0.75 kB / 0.9078 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/1.138, allocations: 13.39 kB / 0.9078 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/1.138, allocations: 0 / 0.9078 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.0113/1.149, allocations: 5.443 MB / 0.9132 GB, free: 119.7 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:817: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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1