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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [: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.001849/0.001849, allocations: 179.8 kB / 7.459 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6015/0.6015, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008094/0.0008093, allocations: 103 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.954e-06, allocations: 2.156 kB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4414, allocations: 130 MB / 0.7602 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4417, allocations: 112.6 kB / 0.7603 GB, free: 8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.09294/0.5346, allocations: 29.75 MB / 0.7894 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.5347, allocations: 16 kB / 0.7894 GB, free: 7.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001838/0.5365, allocations: 1.046 MB / 0.7904 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5366, allocations: 8.031 kB / 0.7904 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.5369, allocations: 110.5 kB / 0.7905 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.5375, allocations: 464.8 kB / 0.791 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5376, allocations: 0 / 0.791 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.5376, allocations: 24 kB / 0.791 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003476/0.538, allocations: 419.5 kB / 0.7914 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.5383, allocations: 386 kB / 0.7918 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5383, allocations: 0 / 0.7918 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5384, allocations: 7.812 kB / 0.7918 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5384, allocations: 0.9375 kB / 0.7918 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.539, allocations: 0.7231 MB / 0.7925 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.5394, allocations: 0.5504 MB / 0.793 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.5397, allocations: 337.5 kB / 0.7933 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008909/0.5406, allocations: 1.039 MB / 0.7943 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.5409, allocations: 396 kB / 0.7947 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5409, allocations: 0 / 0.7947 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0006802/0.5416, allocations: 0.7644 MB / 0.7955 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.5416, allocations: 84.62 kB / 0.7956 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.5425, allocations: 1.076 MB / 0.7966 GB, free: 220 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.5426, allocations: 33.64 kB / 0.7966 GB, free: 180 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.5428, allocations: 263.8 kB / 0.7969 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.5428, allocations: 19.34 kB / 0.7969 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.5429, allocations: 32 / 0.7969 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.543, allocations: 429.4 kB / 0.7973 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.544, allocations: 1.211 MB / 0.7985 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.5452, allocations: 1.354 MB / 0.7998 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.5466, allocations: 1.607 MB / 0.8014 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5466, allocations: 0 / 0.8014 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005205/0.5518, allocations: 7.141 MB / 0.8084 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5518, allocations: 6.812 kB / 0.8084 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5519, allocations: 4.031 kB / 0.8084 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5519, allocations: 7.906 kB / 0.8084 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.5525, allocations: 147.4 kB / 0.8085 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5525, allocations: 4 kB / 0.8085 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.5531, allocations: 228.3 kB / 0.8087 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.5531, allocations: 59.42 kB / 0.8088 GB, free: 5.926 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.000116/0.5533, allocations: 116.8 kB / 0.8089 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.5533, allocations: 74.69 kB / 0.809 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.5541, allocations: 0.7229 MB / 0.8097 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5541, allocations: 0 / 0.8097 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5541, allocations: 4 kB / 0.8097 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.5541, allocations: 3.906 kB / 0.8097 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.5545, allocations: 494.7 kB / 0.8102 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5545, allocations: 3.984 kB / 0.8102 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.5546, allocations: 15.25 kB / 0.8102 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5546, allocations: 32 / 0.8102 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5546, allocations: 7.984 kB / 0.8102 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5546, allocations: 4 kB / 0.8102 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5546, allocations: 3.906 kB / 0.8102 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005969/0.5552, allocations: 0.7808 MB / 0.811 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5553, allocations: 159.8 kB / 0.8111 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.5554, allocations: 7.906 kB / 0.8111 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.5556, allocations: 8 kB / 0.8111 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.5556, allocations: 7.234 kB / 0.8111 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.5557, allocations: 11.98 kB / 0.8112 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006107/0.5563, allocations: 0.6615 MB / 0.8118 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00135/0.5576, allocations: 483.4 kB / 0.8123 GB, free: 2.559 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.001563/0.5592, allocations: 0.7047 MB / 0.8129 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.5609, allocations: 2.353 MB / 0.8152 GB, free: 324 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.561, allocations: 0 / 0.8152 GB, free: 324 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.5612, allocations: 333.7 kB / 0.8156 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.5615, allocations: 53.97 kB / 0.8156 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.5633, allocations: 1.531 MB / 0.8171 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/0.5639, allocations: 1.058 MB / 0.8181 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.5639, allocations: 4 kB / 0.8181 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.01686/0.5807, allocations: 10.53 MB / 0.8284 GB, free: 2.922 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)