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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7368/0.7368, allocations: 127.4 MB / 134.6 MB, free: 4.055 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.001169/0.001169, allocations: 185.3 kB / 164.4 MB, free: 6.867 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.478/1.478, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001118/0.001118, allocations: 89.86 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.154e-06, allocations: 0 / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.673, allocations: 124.8 MB / 0.7428 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.6734, allocations: 119.9 kB / 0.743 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04912/0.7225, allocations: 15.34 MB / 0.7579 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.7226, allocations: 0 / 0.7579 GB, free: 4.086 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.001136/0.7237, allocations: 0.5524 MB / 0.7585 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7238, allocations: 8.031 kB / 0.7585 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.7239, allocations: 83.5 kB / 0.7586 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.7241, allocations: 258.1 kB / 0.7588 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.7242, allocations: 150.6 kB / 0.759 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.7243, allocations: 150.6 kB / 0.7591 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.622e-05/0.7243, allocations: 166.5 kB / 0.7593 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.7244, allocations: 104.9 kB / 0.7594 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.7244, allocations: 75.28 kB / 0.7594 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.7245, allocations: 150.6 kB / 0.7596 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.7246, allocations: 154.5 kB / 0.7597 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.725, allocations: 446.5 kB / 0.7601 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.7251, allocations: 165.1 kB / 0.7603 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.7251, allocations: 84.08 kB / 0.7604 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.7252, allocations: 75.28 kB / 0.7605 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.7252, allocations: 109.8 kB / 0.7606 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.7252, allocations: 4 kB / 0.7606 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.605e-05/0.7253, allocations: 34.44 kB / 0.7606 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.7254, allocations: 55.41 kB / 0.7606 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.7256, allocations: 119.3 kB / 0.7608 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.7256, allocations: 25.7 kB / 0.7608 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.7256, allocations: 84.14 kB / 0.7609 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.7256, allocations: 0 / 0.7609 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.7257, allocations: 4 kB / 0.7609 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7258, allocations: 318.8 kB / 0.7612 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.7258, allocations: 8 kB / 0.7612 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.7259, allocations: 11.94 kB / 0.7612 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.726, allocations: 7.938 kB / 0.7612 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.726, allocations: 0 / 0.7612 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.7261, allocations: 53.59 kB / 0.7612 GB, free: 488 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7262, allocations: 8 kB / 0.7613 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.7262, allocations: 4 kB / 0.7613 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7262, allocations: 0 / 0.7613 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-06/0.7262, allocations: 4.062 kB / 0.7613 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7262, allocations: 3.984 kB / 0.7613 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.7263, allocations: 7.969 kB / 0.7613 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.7263, allocations: 0 / 0.7613 GB, free: 460 kB / 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.243e-05/0.7264, allocations: 180.3 kB / 0.7614 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.7264, allocations: 104.9 kB / 0.7615 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.7265, allocations: 124.4 kB / 0.7617 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-05/0.7266, allocations: 176.3 kB / 0.7618 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.554e-05/0.7267, allocations: 180.3 kB / 0.762 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/0.7267, allocations: 184.2 kB / 0.7622 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.727, allocations: 393.7 kB / 0.7626 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.832e-05/0.7271, allocations: 101 kB / 0.7627 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.7271, allocations: 108.9 kB / 0.7628 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.7272, allocations: 184.3 kB / 0.7629 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.7273, allocations: 180.4 kB / 0.7631 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.598e-05/0.7273, allocations: 180.2 kB / 0.7633 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.269e-05/0.7274, allocations: 184.2 kB / 0.7635 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001329/0.7276, allocations: 308.6 kB / 0.7637 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.7277, allocations: 186 kB / 0.7639 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.7277, allocations: 184.2 kB / 0.7641 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.7278, allocations: 104.9 kB / 0.7642 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.7279, allocations: 176.3 kB / 0.7644 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.728, allocations: 101 kB / 0.7645 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.598e-05/0.7281, allocations: 101.5 kB / 0.7646 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00132/0.7294, allocations: 339.4 kB / 0.7649 GB, free: 12.54 MB / 0.5261 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.001826/0.7312, allocations: 0.5659 MB / 0.7654 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.7313, allocations: 45.64 kB / 0.7655 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7314, allocations: 0 / 0.7655 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.7314, allocations: 0 / 0.7655 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.7317, allocations: 0.5342 MB / 0.766 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.732, allocations: 143.1 kB / 0.7661 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.7323, allocations: 0.6958 MB / 0.7668 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/0.7323, allocations: 0 / 0.7668 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.01352/0.7458, allocations: 5.761 MB / 0.7724 GB, free: 4.781 MB / 0.5261 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 -fPIC -O0 -falign-functions -march=native -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 -fPIC -O0 -falign-functions -march=native -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:895: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