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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7471/0.7471, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.0009878/0.0009878, allocations: 175.2 kB / 164.6 MB, free: 11.62 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.555/1.555, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0008546/0.0008545, allocations: 90.44 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.975e-05, allocations: 4.969 kB / 0.5466 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 76.76 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6574, allocations: 124 MB / 0.7427 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.6578, allocations: 124 kB / 0.7429 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04716/0.7049, allocations: 15.21 MB / 0.7577 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/0.705, allocations: 3.938 kB / 0.7577 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.705, allocations: 0.75 kB / 0.7577 GB, free: 43.98 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.001239/0.7062, allocations: 0.5579 MB / 0.7583 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7063, allocations: 7.812 kB / 0.7583 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.7064, allocations: 83.31 kB / 0.7584 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7065, allocations: 252.9 kB / 0.7586 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.7066, allocations: 150.6 kB / 0.7587 GB, free: 42.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.7066, allocations: 150.6 kB / 0.7589 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.792e-05/0.7066, allocations: 154.6 kB / 0.759 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.329e-05/0.7067, allocations: 110.8 kB / 0.7591 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.7067, allocations: 79.22 kB / 0.7592 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.7068, allocations: 154.5 kB / 0.7594 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.7068, allocations: 150.6 kB / 0.7595 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.7071, allocations: 445.1 kB / 0.7599 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.7072, allocations: 168.5 kB / 0.7601 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.7072, allocations: 80.14 kB / 0.7602 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.7072, allocations: 79.22 kB / 0.7602 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.7073, allocations: 107.9 kB / 0.7603 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.504e-06/0.7073, allocations: 7.906 kB / 0.7603 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.383e-05/0.7074, allocations: 29.64 kB / 0.7604 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.7074, allocations: 51.41 kB / 0.7604 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7075, allocations: 116.4 kB / 0.7605 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.7076, allocations: 29.58 kB / 0.7606 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.7076, allocations: 88.84 kB / 0.7606 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.7076, allocations: 0 / 0.7606 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.7076, allocations: 0 / 0.7606 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.7077, allocations: 328.1 kB / 0.761 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.7078, allocations: 0 / 0.761 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.7078, allocations: 7.469 kB / 0.761 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.7079, allocations: 9.734 kB / 0.761 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7079, allocations: 0 / 0.761 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001807/0.7081, allocations: 53.05 kB / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7081, allocations: 10 kB / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.7081, allocations: 0 / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7082, allocations: 0 / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.7082, allocations: 0 / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.7082, allocations: 3.906 kB / 0.761 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.7082, allocations: 4.062 kB / 0.761 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.7083, allocations: 0 / 0.761 GB, free: 40.61 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 6.832e-05/0.7083, allocations: 186 kB / 0.7612 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.7084, allocations: 112.8 kB / 0.7613 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.7084, allocations: 110.7 kB / 0.7614 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.7085, allocations: 180.2 kB / 0.7616 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-05/0.7085, allocations: 182.2 kB / 0.7618 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/0.7086, allocations: 179.9 kB / 0.762 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.7088, allocations: 398.1 kB / 0.7623 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.7088, allocations: 101 kB / 0.7624 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.7088, allocations: 102.9 kB / 0.7625 GB, free: 39.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-05/0.7089, allocations: 192.2 kB / 0.7627 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.7089, allocations: 176.3 kB / 0.7629 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-05/0.709, allocations: 181.8 kB / 0.7631 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.184e-05/0.709, allocations: 184.1 kB / 0.7632 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.051e-05/0.7091, allocations: 313.6 kB / 0.7635 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.7092, allocations: 187.6 kB / 0.7637 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.7092, allocations: 183.9 kB / 0.7639 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.7093, allocations: 107.1 kB / 0.764 GB, free: 37.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.7094, allocations: 181.2 kB / 0.7642 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.7094, allocations: 101 kB / 0.7643 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.7095, allocations: 92.56 kB / 0.7643 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7095, allocations: 4 kB / 0.7643 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001473/0.7109, allocations: 320 kB / 0.7646 GB, free: 37.02 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.001859/0.7128, allocations: 0.5595 MB / 0.7652 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.713, allocations: 33.84 kB / 0.7652 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.713, allocations: 0 / 0.7652 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.713, allocations: 64 / 0.7652 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.7133, allocations: 0.5354 MB / 0.7658 GB, free: 36.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.7135, allocations: 149.8 kB / 0.7659 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.7137, allocations: 0.6885 MB / 0.7666 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.7137, allocations: 4 kB / 0.7666 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.7137, allocations: 11.41 kB / 0.7666 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.7138, allocations: 0 / 0.7666 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.01458/0.7283, allocations: 5.346 MB / 0.7718 GB, free: 34.84 MB / 0.5105 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 -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_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 -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_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: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.InternalResistancesOneUTubeNegative_functions.o] Error 1