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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7297/0.7297, allocations: 127.4 MB / 134.9 MB, free: 3.719 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.000999/0.000999, allocations: 188.8 kB / 164.7 MB, free: 6.523 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.564/1.564, allocations: 205.2 MB / 399.5 MB, free: 5.859 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.0009314/0.0009313, allocations: 91.03 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.614e-05, allocations: 4 kB / 0.5466 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 76.75 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6311, allocations: 125 MB / 0.7436 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.6315, allocations: 124.2 kB / 0.7438 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04733/0.6789, allocations: 15.52 MB / 0.7589 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6789, allocations: 4 kB / 0.7589 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6789, allocations: 0 / 0.7589 GB, free: 9.527 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.001021/0.6799, allocations: 0.5647 MB / 0.7595 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.68, allocations: 12.03 kB / 0.7595 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.6801, allocations: 83.5 kB / 0.7596 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.6802, allocations: 246.2 kB / 0.7598 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.6803, allocations: 150.6 kB / 0.7599 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.6804, allocations: 154.5 kB / 0.7601 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.737e-05/0.6804, allocations: 154.6 kB / 0.7602 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.503e-05/0.6805, allocations: 108.9 kB / 0.7603 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.6805, allocations: 75.28 kB / 0.7604 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.6806, allocations: 154.5 kB / 0.7606 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.6806, allocations: 154.5 kB / 0.7607 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.6809, allocations: 441.2 kB / 0.7611 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.795e-05/0.681, allocations: 177.1 kB / 0.7613 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.6811, allocations: 84.08 kB / 0.7614 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.6811, allocations: 75.28 kB / 0.7614 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.6811, allocations: 109.8 kB / 0.7616 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.6811, allocations: 0 / 0.7616 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.836e-05/0.6812, allocations: 33.61 kB / 0.7616 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.6813, allocations: 51.41 kB / 0.7616 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6814, allocations: 120.7 kB / 0.7617 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.6814, allocations: 25.7 kB / 0.7618 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.6815, allocations: 90.75 kB / 0.7619 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.6815, allocations: 4 kB / 0.7619 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.6815, allocations: 3.938 kB / 0.7619 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6816, allocations: 314.8 kB / 0.7622 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.6817, allocations: 7.875 kB / 0.7622 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.6817, allocations: 8 kB / 0.7622 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.6817, allocations: 7.938 kB / 0.7622 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6817, allocations: 0 / 0.7622 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001419/0.6819, allocations: 57.45 kB / 0.7622 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6819, allocations: 4 kB / 0.7622 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6819, allocations: 4 kB / 0.7623 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.682, allocations: 0 / 0.7623 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.682, allocations: 4.062 kB / 0.7623 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.682, allocations: 0 / 0.7623 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.682, allocations: 4 kB / 0.7623 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.682, allocations: 4.062 kB / 0.7623 GB, free: 5.938 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 9.198e-05/0.6821, allocations: 188.2 kB / 0.7624 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.6822, allocations: 112.8 kB / 0.7626 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.6822, allocations: 105 kB / 0.7627 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/0.6823, allocations: 180.3 kB / 0.7628 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/0.6824, allocations: 188.2 kB / 0.763 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.6824, allocations: 180.1 kB / 0.7632 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.6826, allocations: 392.6 kB / 0.7635 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.6827, allocations: 104.9 kB / 0.7636 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.6827, allocations: 101 kB / 0.7637 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.516e-05/0.6828, allocations: 180.4 kB / 0.7639 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.6829, allocations: 195.2 kB / 0.7641 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/0.6829, allocations: 176.3 kB / 0.7643 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.846e-05/0.683, allocations: 184.1 kB / 0.7644 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.6832, allocations: 314.2 kB / 0.7647 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.6832, allocations: 186.1 kB / 0.7649 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.6833, allocations: 180.2 kB / 0.7651 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.6834, allocations: 101 kB / 0.7652 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.6835, allocations: 181.2 kB / 0.7654 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.6835, allocations: 112.5 kB / 0.7655 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.6836, allocations: 97.19 kB / 0.7656 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6836, allocations: 0 / 0.7656 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001091/0.6847, allocations: 332.4 kB / 0.7659 GB, free: 2.055 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.001598/0.6863, allocations: 0.5618 MB / 0.7664 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.6864, allocations: 41.58 kB / 0.7665 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6864, allocations: 0 / 0.7665 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-06/0.6864, allocations: 0 / 0.7665 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.6868, allocations: 0.5332 MB / 0.767 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.687, allocations: 142.7 kB / 0.7671 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6872, allocations: 0.6885 MB / 0.7678 GB, free: 48 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.6873, allocations: 0 / 0.7678 GB, free: 48 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.6873, allocations: 15.44 kB / 0.7678 GB, free: 32 kB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.6873, allocations: 0 / 0.7678 GB, free: 32 kB / 0.5105 GB Notification: Performance of Templates: time 0.01018/0.6975, allocations: 5.499 MB / 0.7732 GB, free: 10.6 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1