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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.796/0.796, allocations: 127.4 MB / 134.9 MB, free: 3.504 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.001112/0.001112, allocations: 177.9 kB / 164.6 MB, free: 11.61 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.549/1.549, allocations: 205.2 MB / 399.5 MB, free: 13.57 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.000821/0.000821, allocations: 101.1 kB / 476.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.038e-05, allocations: 5.5 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 76.76 MB / 0.6216 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/0.6605, allocations: 124.1 MB / 0.7427 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/0.661, allocations: 123.4 kB / 0.7429 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04591/0.7069, allocations: 15.21 MB / 0.7577 GB, free: 44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7069, allocations: 3.938 kB / 0.7577 GB, free: 44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.7069, allocations: 0 / 0.7577 GB, free: 44 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.0008316/0.7078, allocations: 0.5503 MB / 0.7583 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7078, allocations: 11.75 kB / 0.7583 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.7079, allocations: 79.5 kB / 0.7583 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.708, allocations: 247.9 kB / 0.7586 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.708, allocations: 150.6 kB / 0.7587 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.708, allocations: 162.4 kB / 0.7589 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.277e-05/0.7081, allocations: 150.6 kB / 0.759 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.254e-05/0.7081, allocations: 101 kB / 0.7591 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7081, allocations: 79.22 kB / 0.7592 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.7082, allocations: 154.5 kB / 0.7593 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.7082, allocations: 156.3 kB / 0.7595 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.7084, allocations: 444.2 kB / 0.7599 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.7084, allocations: 165.1 kB / 0.7601 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.7085, allocations: 84.02 kB / 0.7601 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.7085, allocations: 79.28 kB / 0.7602 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.7085, allocations: 105.8 kB / 0.7603 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.7085, allocations: 0 / 0.7603 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.932e-05/0.7086, allocations: 40.03 kB / 0.7604 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.7086, allocations: 51.41 kB / 0.7604 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.7087, allocations: 120.9 kB / 0.7605 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.7087, allocations: 25.7 kB / 0.7606 GB, free: 41.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.7088, allocations: 97.27 kB / 0.7606 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.7088, allocations: 0 / 0.7606 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7088, allocations: 0 / 0.7606 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.7088, allocations: 317.1 kB / 0.7609 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.7089, allocations: 7.406 kB / 0.761 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.7089, allocations: 3.906 kB / 0.761 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.7089, allocations: 10.75 kB / 0.761 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7089, allocations: 0 / 0.761 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001212/0.7091, allocations: 54.33 kB / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.7091, allocations: 3.969 kB / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.7091, allocations: 8 kB / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7091, allocations: 1.969 kB / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.7091, allocations: 0 / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.7091, allocations: 0 / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.7092, allocations: 0 / 0.761 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.7092, allocations: 4.781 kB / 0.761 GB, free: 40.62 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 5.359e-05/0.7092, allocations: 188.1 kB / 0.7612 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.7093, allocations: 106.6 kB / 0.7613 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7093, allocations: 112.9 kB / 0.7614 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.7094, allocations: 185 kB / 0.7616 GB, free: 40.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/0.7094, allocations: 176.3 kB / 0.7618 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.7094, allocations: 182.1 kB / 0.7619 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.7095, allocations: 394.1 kB / 0.7623 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.7096, allocations: 108.2 kB / 0.7624 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.7096, allocations: 104.9 kB / 0.7625 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-05/0.7096, allocations: 186 kB / 0.7627 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.7097, allocations: 180.2 kB / 0.7629 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-05/0.7097, allocations: 178.1 kB / 0.763 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-05/0.7097, allocations: 184.1 kB / 0.7632 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.053e-05/0.7098, allocations: 313 kB / 0.7635 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.7098, allocations: 183.8 kB / 0.7637 GB, free: 37.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.7099, allocations: 180.2 kB / 0.7639 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.7099, allocations: 106.7 kB / 0.764 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.71, allocations: 185.2 kB / 0.7641 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.71, allocations: 102.8 kB / 0.7642 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.71, allocations: 94.23 kB / 0.7643 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.71, allocations: 0 / 0.7643 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008914/0.7109, allocations: 326 kB / 0.7646 GB, free: 37.04 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.0009588/0.7119, allocations: 0.5632 MB / 0.7652 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.712, allocations: 39.91 kB / 0.7652 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.712, allocations: 3.938 kB / 0.7652 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.712, allocations: 3.906 kB / 0.7652 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.7122, allocations: 0.5272 MB / 0.7658 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.7124, allocations: 149.9 kB / 0.7659 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.7125, allocations: 0.6879 MB / 0.7666 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.153e-05/0.7125, allocations: 0 / 0.7666 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-06/0.7125, allocations: 15.28 kB / 0.7666 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7125, allocations: 0 / 0.7666 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.00835/0.7209, allocations: 5.337 MB / 0.7718 GB, free: 34.86 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1