Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4831/0.4831, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009316, allocations: 97.28 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.406e-05, allocations: 4 kB / 494.6 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 72.32 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6041, allocations: 121.1 MB / 0.6718 GB, free: 5.371 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6045, allocations: 116.6 kB / 0.6719 GB, free: 5.297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04329/0.6478, allocations: 14.98 MB / 0.6865 GB, free: 8.602 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6478, allocations: 0 / 0.6865 GB, free: 8.602 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.6478, allocations: 0 / 0.6865 GB, free: 8.602 MB / 490.7 MB 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.0007671/0.6486, allocations: 0.5479 MB / 0.6871 GB, free: 8.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6486, allocations: 12.03 kB / 0.6871 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.6487, allocations: 79.19 kB / 0.6872 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.6488, allocations: 258.2 kB / 0.6874 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.6489, allocations: 154.5 kB / 0.6876 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.6489, allocations: 150.6 kB / 0.6877 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.184e-05/0.649, allocations: 150.6 kB / 0.6878 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.762e-05/0.6491, allocations: 104.9 kB / 0.6879 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.6491, allocations: 79.28 kB / 0.688 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.6491, allocations: 157.6 kB / 0.6882 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.6492, allocations: 150.6 kB / 0.6883 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.6495, allocations: 445.4 kB / 0.6887 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.6495, allocations: 173.1 kB / 0.6889 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.6496, allocations: 80.14 kB / 0.689 GB, free: 5.973 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6496, allocations: 79.27 kB / 0.6891 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.6497, allocations: 105.8 kB / 0.6892 GB, free: 5.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.6497, allocations: 0 / 0.6892 GB, free: 5.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.647e-05/0.6497, allocations: 37.42 kB / 0.6892 GB, free: 5.742 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.6498, allocations: 55.34 kB / 0.6892 GB, free: 5.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.6499, allocations: 120.2 kB / 0.6894 GB, free: 5.555 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6499, allocations: 25.7 kB / 0.6894 GB, free: 5.523 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.65, allocations: 99.59 kB / 0.6895 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.65, allocations: 0 / 0.6895 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.65, allocations: 0 / 0.6895 GB, free: 5.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.6501, allocations: 314.8 kB / 0.6898 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.6501, allocations: 8.188 kB / 0.6898 GB, free: 5.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.6501, allocations: 4 kB / 0.6898 GB, free: 5.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.6502, allocations: 8.016 kB / 0.6898 GB, free: 5.098 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6502, allocations: 4 kB / 0.6898 GB, free: 5.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.6503, allocations: 41.33 kB / 0.6898 GB, free: 5.051 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6504, allocations: 9.094 kB / 0.6899 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.6504, allocations: 3.984 kB / 0.6899 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6504, allocations: 0 / 0.6899 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.6504, allocations: 4 kB / 0.6899 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6504, allocations: 0.625 kB / 0.6899 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.6504, allocations: 7.844 kB / 0.6899 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.6505, allocations: 3.953 kB / 0.6899 GB, free: 5.023 MB / 490.7 MB 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.803e-05/0.6506, allocations: 184.2 kB / 0.69 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.6506, allocations: 105 kB / 0.6901 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.6507, allocations: 120.5 kB / 0.6903 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.469e-05/0.6507, allocations: 176.3 kB / 0.6904 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.554e-05/0.6508, allocations: 180.2 kB / 0.6906 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-05/0.6508, allocations: 176.3 kB / 0.6908 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.651, allocations: 403.9 kB / 0.6912 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.6511, allocations: 101 kB / 0.6913 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.6511, allocations: 105 kB / 0.6914 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.502e-05/0.6512, allocations: 184.3 kB / 0.6915 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.6513, allocations: 180.2 kB / 0.6917 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.6513, allocations: 180.3 kB / 0.6919 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-05/0.6514, allocations: 180.2 kB / 0.692 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.6515, allocations: 310.9 kB / 0.6923 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.6516, allocations: 189.9 kB / 0.6925 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.6516, allocations: 180.3 kB / 0.6927 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.6517, allocations: 105 kB / 0.6928 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.6518, allocations: 188.5 kB / 0.693 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.6518, allocations: 101 kB / 0.6931 GB, free: 1.555 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.6519, allocations: 96.11 kB / 0.6932 GB, free: 1.465 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6519, allocations: 0 / 0.6932 GB, free: 1.465 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008237/0.6527, allocations: 320.8 kB / 0.6935 GB, free: 1.164 MB / 490.7 MB 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.001114/0.6538, allocations: 0.5477 MB / 0.694 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.6539, allocations: 32.89 kB / 0.694 GB, free: 0.582 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6539, allocations: 0 / 0.694 GB, free: 0.582 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.6539, allocations: 4 kB / 0.694 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.6543, allocations: 0.5322 MB / 0.6946 GB, free: 48 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.6545, allocations: 147.5 kB / 0.6947 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.6547, allocations: 0.6923 MB / 0.6954 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.6547, allocations: 0 / 0.6954 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.6548, allocations: 11.44 kB / 0.6954 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.6548, allocations: 0 / 0.6954 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.008717/0.6635, allocations: 5.189 MB / 0.7005 GB, free: 10.02 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:1008: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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1