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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.003457/0.003456, allocations: 179.9 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7453/0.7453, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.559/1.559, allocations: 221.3 MB / 395 MB, free: 10.23 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.001117/0.001117, allocations: 99.22 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4607/0.4618, allocations: 88.46 MB / 0.553 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.6537, allocations: 82.31 MB / 0.6334 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6403/1.294, allocations: 130 MB / 0.7603 GB, free: 8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.294, allocations: 118.5 kB / 0.7604 GB, free: 7.973 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.1093/1.404, allocations: 30.81 MB / 0.7905 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.404, allocations: 8 kB / 0.7905 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005635/1.404, allocations: 114.5 kB / 0.7906 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/1.405, allocations: 463.2 kB / 0.7911 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/1.405, allocations: 4 kB / 0.7911 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/1.406, allocations: 20 kB / 0.7911 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000402/1.406, allocations: 427.3 kB / 0.7915 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/1.406, allocations: 379 kB / 0.7919 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.406, allocations: 0 / 0.7919 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.406, allocations: 3.938 kB / 0.7919 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.406, allocations: 8 kB / 0.7919 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.408, allocations: 0.7157 MB / 0.7926 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/1.408, allocations: 0.5543 MB / 0.7931 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.408, allocations: 333 kB / 0.7934 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.41, allocations: 1.047 MB / 0.7944 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/1.41, allocations: 391.4 kB / 0.7948 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/1.41, allocations: 4 kB / 0.7948 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001049/1.411, allocations: 0.7558 MB / 0.7956 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.411, allocations: 84.67 kB / 0.7956 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.413, allocations: 1.079 MB / 0.7967 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/1.413, allocations: 25.7 kB / 0.7967 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/1.413, allocations: 265.2 kB / 0.797 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/1.413, allocations: 19.14 kB / 0.797 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/1.413, allocations: 4 kB / 0.797 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000288/1.413, allocations: 424.6 kB / 0.7974 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.415, allocations: 1.214 MB / 0.7986 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.416, allocations: 1.349 MB / 0.7999 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/1.419, allocations: 1.612 MB / 0.8015 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/1.419, allocations: 0 / 0.8015 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008187/1.427, allocations: 7.132 MB / 0.8084 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.427, allocations: 4 kB / 0.8084 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.427, allocations: 4 kB / 0.8084 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/1.427, allocations: 15.92 kB / 0.8085 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/1.428, allocations: 142.7 kB / 0.8086 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/1.428, allocations: 4 kB / 0.8086 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/1.428, allocations: 224.3 kB / 0.8088 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.429, allocations: 63.3 kB / 0.8089 GB, free: 5.551 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.0001802/1.429, allocations: 124.7 kB / 0.809 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.429, allocations: 70.69 kB / 0.8091 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/1.43, allocations: 0.7281 MB / 0.8098 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.43, allocations: 4 kB / 0.8098 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.43, allocations: 0 / 0.8098 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/1.43, allocations: 3.906 kB / 0.8098 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/1.431, allocations: 497.7 kB / 0.8103 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.431, allocations: 3.938 kB / 0.8103 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.948e-05/1.431, allocations: 15.98 kB / 0.8103 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.431, allocations: 0 / 0.8103 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.431, allocations: 4.031 kB / 0.8103 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/1.431, allocations: 4 kB / 0.8103 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.431, allocations: 3.906 kB / 0.8103 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007967/1.431, allocations: 0.7883 MB / 0.8111 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001092/1.433, allocations: 1.201 MB / 0.8122 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/1.433, allocations: 158.9 kB / 0.8124 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.433, allocations: 3.984 kB / 0.8124 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/1.433, allocations: 4 kB / 0.8124 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/1.433, allocations: 11.89 kB / 0.8124 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/1.433, allocations: 15.98 kB / 0.8124 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0009987/1.434, allocations: 0.6545 MB / 0.8131 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002902/1.437, allocations: 0.511 MB / 0.8136 GB, free: 0.9688 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.003407/1.441, allocations: 0.6872 MB / 0.8142 GB, free: 332 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.444, allocations: 2.346 MB / 0.8165 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.444, allocations: 4 kB / 0.8165 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/1.444, allocations: 339.7 kB / 0.8168 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/1.445, allocations: 53.77 kB / 0.8169 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/1.447, allocations: 1.534 MB / 0.8184 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/1.448, allocations: 1.062 MB / 0.8194 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/1.448, allocations: 0 / 0.8194 GB, free: 11.78 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)