Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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/Complex 4.0.0+maint.om/package.mo): time 0.003602/0.003602, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6982/0.6982, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 105.9 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4633/0.4644, allocations: 88.46 MB / 0.553 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.6424, allocations: 82.3 MB / 0.6333 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5506/1.193, allocations: 125.5 MB / 0.7559 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/1.193, allocations: 109.8 kB / 0.756 GB, free: 9.109 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.08745/1.281, allocations: 22.77 MB / 0.7782 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.281, allocations: 8 kB / 0.7782 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/1.282, allocations: 98.73 kB / 0.7783 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/1.282, allocations: 434.3 kB / 0.7787 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.283, allocations: 11.89 kB / 0.7788 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.283, allocations: 20 kB / 0.7788 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004382/1.283, allocations: 423.3 kB / 0.7792 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/1.283, allocations: 383.9 kB / 0.7795 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.284, allocations: 0 / 0.7795 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/1.284, allocations: 0 / 0.7795 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.284, allocations: 4 kB / 0.7795 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/1.285, allocations: 0.6968 MB / 0.7802 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/1.286, allocations: 0.5537 MB / 0.7808 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/1.286, allocations: 333.2 kB / 0.7811 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.288, allocations: 1.04 MB / 0.7821 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/1.288, allocations: 394.6 kB / 0.7825 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.033e-06/1.288, allocations: 0 / 0.7825 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.000922/1.289, allocations: 0.7478 MB / 0.7832 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/1.289, allocations: 92.14 kB / 0.7833 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.291, allocations: 1.02 MB / 0.7843 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/1.291, allocations: 25.7 kB / 0.7843 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/1.291, allocations: 252.8 kB / 0.7846 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/1.291, allocations: 26.23 kB / 0.7846 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/1.291, allocations: 0 / 0.7846 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.291, allocations: 415.8 kB / 0.785 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.292, allocations: 1.211 MB / 0.7862 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.294, allocations: 1.352 MB / 0.7875 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/1.295, allocations: 1.61 MB / 0.7891 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.295, allocations: 0 / 0.7891 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006698/1.302, allocations: 7.134 MB / 0.796 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.302, allocations: 4.75 kB / 0.796 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/1.302, allocations: 4 kB / 0.796 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/1.302, allocations: 7.938 kB / 0.796 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/1.303, allocations: 142.5 kB / 0.7962 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.303, allocations: 8.031 kB / 0.7962 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/1.304, allocations: 232.3 kB / 0.7964 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.304, allocations: 55.73 kB / 0.7965 GB, free: 15.42 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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 0.000176/1.304, allocations: 112.9 kB / 0.7966 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.304, allocations: 70.62 kB / 0.7966 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/1.305, allocations: 0.7148 MB / 0.7973 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.305, allocations: 4.031 kB / 0.7973 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.305, allocations: 7.984 kB / 0.7973 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.305, allocations: 0 / 0.7973 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/1.306, allocations: 468.8 kB / 0.7978 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.306, allocations: 3.906 kB / 0.7978 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/1.306, allocations: 7.984 kB / 0.7978 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.306, allocations: 0 / 0.7978 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.306, allocations: 4.75 kB / 0.7978 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.306, allocations: 80 / 0.7978 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.306, allocations: 3.984 kB / 0.7978 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007044/1.307, allocations: 0.788 MB / 0.7986 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008337/1.308, allocations: 1.184 MB / 0.7997 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.308, allocations: 151.9 kB / 0.7999 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/1.308, allocations: 4 kB / 0.7999 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.308, allocations: 4 kB / 0.7999 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/1.308, allocations: 7.891 kB / 0.7999 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/1.308, allocations: 23.36 kB / 0.7999 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0007384/1.309, allocations: 0.6121 MB / 0.8005 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002698/1.312, allocations: 0.5023 MB / 0.801 GB, free: 10.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003079/1.315, allocations: 0.5923 MB / 0.8016 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003298/1.318, allocations: 2.347 MB / 0.8039 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.318, allocations: 0 / 0.8039 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/1.318, allocations: 338.2 kB / 0.8042 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/1.319, allocations: 40.61 kB / 0.8042 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.321, allocations: 1.471 MB / 0.8057 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008822/1.322, allocations: 1.038 MB / 0.8067 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/1.322, allocations: 0 / 0.8067 GB, free: 5.914 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)