Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.003838/0.003838, allocations: 180 kB / 7.458 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7385/0.7385, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.662/1.662, allocations: 221.3 MB / 395 MB, free: 10.2 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.00115/0.00115, allocations: 105.8 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5156/0.5168, allocations: 88.46 MB / 0.553 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.7154, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6018/1.317, allocations: 125.5 MB / 0.7559 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/1.318, allocations: 110.3 kB / 0.756 GB, free: 9.176 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.09135/1.409, allocations: 22.77 MB / 0.7782 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/1.409, allocations: 12.83 kB / 0.7782 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/1.41, allocations: 94.75 kB / 0.7783 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.411, allocations: 435.8 kB / 0.7788 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.411, allocations: 3.906 kB / 0.7788 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.411, allocations: 20 kB / 0.7788 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004432/1.412, allocations: 422.4 kB / 0.7792 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/1.412, allocations: 388 kB / 0.7795 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.412, allocations: 0 / 0.7795 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/1.412, allocations: 0 / 0.7795 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.412, allocations: 3.938 kB / 0.7796 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/1.413, allocations: 0.6971 MB / 0.7802 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/1.414, allocations: 0.5586 MB / 0.7808 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/1.414, allocations: 329 kB / 0.7811 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.415, allocations: 1.04 MB / 0.7821 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.416, allocations: 403.5 kB / 0.7825 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/1.416, allocations: 0 / 0.7825 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009026/1.417, allocations: 0.7366 MB / 0.7832 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.417, allocations: 89.03 kB / 0.7833 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.418, allocations: 1.017 MB / 0.7843 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.418, allocations: 33.73 kB / 0.7843 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/1.419, allocations: 257.7 kB / 0.7846 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/1.419, allocations: 15.38 kB / 0.7846 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/1.419, allocations: 0 / 0.7846 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002235/1.419, allocations: 419 kB / 0.785 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/1.42, allocations: 1.216 MB / 0.7862 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.422, allocations: 1.35 MB / 0.7875 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.424, allocations: 1.612 MB / 0.7891 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.424, allocations: 0 / 0.7891 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00815/1.432, allocations: 7.135 MB / 0.796 GB, free: 32 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.432, allocations: 4 kB / 0.796 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.433, allocations: 3.938 kB / 0.796 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/1.433, allocations: 4 kB / 0.796 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.433, allocations: 149.5 kB / 0.7962 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.433, allocations: 4 kB / 0.7962 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/1.434, allocations: 224.3 kB / 0.7964 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.434, allocations: 63.2 kB / 0.7965 GB, free: 15.6 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.0001972/1.435, allocations: 118.2 kB / 0.7966 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.435, allocations: 66.69 kB / 0.7966 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/1.436, allocations: 0.7148 MB / 0.7973 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.436, allocations: 0 / 0.7973 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.436, allocations: 0 / 0.7973 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.436, allocations: 0 / 0.7973 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/1.437, allocations: 473.3 kB / 0.7978 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.437, allocations: 7.906 kB / 0.7978 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/1.437, allocations: 8 kB / 0.7978 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.437, allocations: 0 / 0.7978 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.437, allocations: 7.109 kB / 0.7978 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.437, allocations: 4 kB / 0.7978 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.437, allocations: 0 / 0.7978 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008431/1.438, allocations: 0.7887 MB / 0.7986 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001076/1.439, allocations: 1.178 MB / 0.7997 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/1.439, allocations: 159.8 kB / 0.7999 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.439, allocations: 0 / 0.7999 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/1.439, allocations: 11.98 kB / 0.7999 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.439, allocations: 7.906 kB / 0.7999 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/1.439, allocations: 23.34 kB / 0.7999 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008019/1.44, allocations: 0.6069 MB / 0.8005 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003315/1.443, allocations: 0.4962 MB / 0.801 GB, free: 11.11 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.003632/1.447, allocations: 0.5977 MB / 0.8016 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003292/1.45, allocations: 2.351 MB / 0.8039 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/1.45, allocations: 0 / 0.8039 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/1.451, allocations: 334 kB / 0.8042 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.451, allocations: 32.67 kB / 0.8042 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/1.454, allocations: 1.473 MB / 0.8057 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.455, allocations: 1.033 MB / 0.8067 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/1.455, allocations: 0 / 0.8067 GB, free: 6.098 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)