Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7261/0.7261, allocations: 141.8 MB / 149.1 MB, free: 3.289 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 184 kB / 181.9 MB, free: 15.11 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 436 MB, free: 8.203 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 99.3 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 276.5 kB / 0.5884 GB, free: 11.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1741/0.1759, allocations: 89.68 MB / 0.676 GB, free: 1.535 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.564, allocations: 82.77 MB / 0.7569 GB, free: 111.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.6825, allocations: 111.8 MB / 0.8661 GB, free: 15.84 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6828, allocations: 103.9 kB / 0.8662 GB, free: 15.74 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.009655/0.6925, allocations: 3.12 MB / 0.8692 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6926, allocations: 8 kB / 0.8692 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.6926, allocations: 3.906 kB / 0.8692 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.6928, allocations: 171 kB / 0.8694 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6928, allocations: 0 / 0.8694 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.6928, allocations: 4 kB / 0.8694 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001332/0.6929, allocations: 47.89 kB / 0.8695 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.6931, allocations: 49.67 kB / 0.8695 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.6931, allocations: 0 / 0.8695 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.6931, allocations: 0 / 0.8695 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6931, allocations: 0 / 0.8695 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.6933, allocations: 154.1 kB / 0.8696 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.6934, allocations: 42.64 kB / 0.8697 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.6934, allocations: 24.97 kB / 0.8697 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.6935, allocations: 0 / 0.8697 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6935, allocations: 40.06 kB / 0.8697 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.6935, allocations: 0 / 0.8697 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.0002941/0.6938, allocations: 69.53 kB / 0.8698 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.6939, allocations: 51.41 kB / 0.8699 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.694, allocations: 104.2 kB / 0.87 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.694, allocations: 25.7 kB / 0.87 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.694, allocations: 80.14 kB / 0.8701 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.6941, allocations: 15.81 kB / 0.8701 GB, free: 11.6 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.6941, allocations: 4 kB / 0.8701 GB, free: 11.6 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6942, allocations: 318.7 kB / 0.8704 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.6942, allocations: 12 kB / 0.8704 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.6943, allocations: 8 kB / 0.8704 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.6944, allocations: 19.98 kB / 0.8704 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.6944, allocations: 3.938 kB / 0.8704 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001947/0.6946, allocations: 69.62 kB / 0.8705 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6946, allocations: 4 kB / 0.8705 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6946, allocations: 2.625 kB / 0.8705 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6946, allocations: 4 kB / 0.8705 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.6947, allocations: 20.14 kB / 0.8705 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6948, allocations: 0 / 0.8705 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.6948, allocations: 11.94 kB / 0.8705 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.6948, allocations: 0 / 0.8705 GB, free: 11.12 MB / 0.5419 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 7.487e-05/0.6949, allocations: 109 kB / 0.8706 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.6949, allocations: 3.906 kB / 0.8706 GB, free: 11 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.6955, allocations: 232.1 kB / 0.8709 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6955, allocations: 3.938 kB / 0.8709 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6955, allocations: 4 kB / 0.8709 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6955, allocations: 3.984 kB / 0.8709 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6957, allocations: 166.1 kB / 0.871 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.6957, allocations: 0 / 0.871 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.6958, allocations: 27.98 kB / 0.8711 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6958, allocations: 0 / 0.8711 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6958, allocations: 4 kB / 0.8711 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6958, allocations: 4 kB / 0.8711 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6959, allocations: 0 / 0.8711 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002708/0.6961, allocations: 152.2 kB / 0.8712 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004148/0.6966, allocations: 0.4978 MB / 0.8717 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.6966, allocations: 85.02 kB / 0.8718 GB, free: 9.758 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.6966, allocations: 7.984 kB / 0.8718 GB, free: 9.75 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.6967, allocations: 0 / 0.8718 GB, free: 9.75 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.6967, allocations: 15.98 kB / 0.8718 GB, free: 9.734 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.6967, allocations: 4 kB / 0.8718 GB, free: 9.73 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.74e-05/0.6968, allocations: 83.28 kB / 0.8719 GB, free: 9.648 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008408/0.6976, allocations: 67.83 kB / 0.872 GB, free: 9.582 MB / 0.5419 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 (16): * Single equations (assignments): 16 * 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.00046/0.6981, allocations: 204.2 kB / 0.8721 GB, free: 9.375 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.6982, allocations: 47.98 kB / 0.8722 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6983, allocations: 0 / 0.8722 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.6983, allocations: 47.92 kB / 0.8722 GB, free: 9.281 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.6985, allocations: 5 kB / 0.8722 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.6989, allocations: 108.5 kB / 0.8723 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.6993, allocations: 0.7231 MB / 0.8731 GB, free: 8.398 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.6993, allocations: 0 / 0.8731 GB, free: 8.398 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)