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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7303/0.7303, allocations: 127.4 MB / 134.9 MB, free: 3.43 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.0009966/0.0009965, allocations: 184.5 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.572/1.572, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0009318/0.0009319, allocations: 78.5 kB / 476.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.551e-05, allocations: 5.344 kB / 0.5466 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6173/0.7568, allocations: 124.8 MB / 0.7435 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.7572, allocations: 125.9 kB / 0.7436 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0495/0.8067, allocations: 15.53 MB / 0.7588 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8068, allocations: 0 / 0.7588 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8068, allocations: 0 / 0.7588 GB, free: 43.95 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.0009411/0.8077, allocations: 0.5588 MB / 0.7594 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8078, allocations: 7.812 kB / 0.7594 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.8078, allocations: 83.47 kB / 0.7594 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.808, allocations: 249 kB / 0.7597 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.808, allocations: 154.4 kB / 0.7598 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.808, allocations: 154.5 kB / 0.76 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.46e-05/0.8081, allocations: 155.3 kB / 0.7601 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.46e-05/0.8081, allocations: 101 kB / 0.7602 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8081, allocations: 79.19 kB / 0.7603 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.8082, allocations: 154.5 kB / 0.7604 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.8082, allocations: 150.6 kB / 0.7606 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.8084, allocations: 444.9 kB / 0.761 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.8085, allocations: 174.5 kB / 0.7612 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.8085, allocations: 80.14 kB / 0.7612 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.8085, allocations: 79.22 kB / 0.7613 GB, free: 41.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.8086, allocations: 105.8 kB / 0.7614 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8086, allocations: 7.906 kB / 0.7614 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.089e-05/0.8086, allocations: 29.61 kB / 0.7615 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.8087, allocations: 56.98 kB / 0.7615 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.8088, allocations: 118.2 kB / 0.7616 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.8088, allocations: 25.7 kB / 0.7617 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.8088, allocations: 93.55 kB / 0.7617 GB, free: 40.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.8088, allocations: 0 / 0.7617 GB, free: 40.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.8088, allocations: 3.906 kB / 0.7617 GB, free: 40.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.8089, allocations: 324.2 kB / 0.7621 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.8089, allocations: 7.406 kB / 0.7621 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.8089, allocations: 3.938 kB / 0.7621 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.809, allocations: 5.875 kB / 0.7621 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.809, allocations: 0 / 0.7621 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/0.8092, allocations: 50.97 kB / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8092, allocations: 3.938 kB / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.8092, allocations: 5.734 kB / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.8092, allocations: 0 / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.8092, allocations: 0 / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.8092, allocations: 7.969 kB / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.8093, allocations: 0 / 0.7621 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8093, allocations: 0 / 0.7621 GB, free: 40.58 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.552e-05/0.8093, allocations: 183.5 kB / 0.7623 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.8094, allocations: 114.7 kB / 0.7624 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.8094, allocations: 110.9 kB / 0.7625 GB, free: 40.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.8095, allocations: 176.3 kB / 0.7627 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.8095, allocations: 184.2 kB / 0.7629 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.8095, allocations: 177.8 kB / 0.763 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.8097, allocations: 401.2 kB / 0.7634 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.8097, allocations: 104.9 kB / 0.7635 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.8097, allocations: 101 kB / 0.7636 GB, free: 38.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.222e-05/0.8098, allocations: 193.7 kB / 0.7638 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.8098, allocations: 180.2 kB / 0.764 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.8098, allocations: 176.3 kB / 0.7641 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.172e-05/0.8099, allocations: 178.2 kB / 0.7643 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.79e-05/0.81, allocations: 321.5 kB / 0.7646 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.81, allocations: 178.1 kB / 0.7648 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.8101, allocations: 187.4 kB / 0.765 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.8101, allocations: 101 kB / 0.7651 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.8102, allocations: 181.2 kB / 0.7652 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.8102, allocations: 104.9 kB / 0.7653 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.8103, allocations: 109.1 kB / 0.7654 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8103, allocations: 0 / 0.7654 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001076/0.8113, allocations: 327.7 kB / 0.7658 GB, free: 36.98 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.001401/0.8128, allocations: 0.567 MB / 0.7663 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.8129, allocations: 37.28 kB / 0.7663 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8129, allocations: 7.156 kB / 0.7663 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.8129, allocations: 8 kB / 0.7664 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.8131, allocations: 0.5255 MB / 0.7669 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.8133, allocations: 140.8 kB / 0.767 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.8134, allocations: 0.6899 MB / 0.7677 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.84e-05/0.8135, allocations: 0 / 0.7677 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.8135, allocations: 11.16 kB / 0.7677 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.8135, allocations: 3.938 kB / 0.7677 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.00966/0.8231, allocations: 5.483 MB / 0.773 GB, free: 34.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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.InternalResistancesTwoUTube_functions.o] Error 1