Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.003786/0.003786, allocations: 185.1 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7524/0.7524, 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.571/1.571, allocations: 221.3 MB / 395 MB, free: 10.13 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.001063/0.001063, allocations: 94.91 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.498/0.4992, allocations: 88.47 MB / 0.553 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.7021, allocations: 82.3 MB / 0.6333 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6011/1.303, allocations: 130 MB / 0.7603 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.304, allocations: 112.8 kB / 0.7604 GB, free: 8.191 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.1049/1.409, allocations: 30.81 MB / 0.7905 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.409, allocations: 8 kB / 0.7905 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004472/1.409, allocations: 110.5 kB / 0.7906 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008029/1.41, allocations: 466.1 kB / 0.7911 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/1.41, allocations: 0 / 0.7911 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/1.41, allocations: 23.94 kB / 0.7911 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005093/1.41, allocations: 426.6 kB / 0.7915 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/1.411, allocations: 392 kB / 0.7919 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.411, allocations: 0 / 0.7919 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.411, allocations: 0 / 0.7919 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.411, allocations: 4 kB / 0.7919 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/1.412, allocations: 0.7251 MB / 0.7926 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/1.412, allocations: 0.5544 MB / 0.7931 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/1.413, allocations: 329.1 kB / 0.7934 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.414, allocations: 1.04 MB / 0.7944 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/1.414, allocations: 396.9 kB / 0.7948 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.414, allocations: 4 kB / 0.7948 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009472/1.415, allocations: 0.7598 MB / 0.7956 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/1.415, allocations: 86.95 kB / 0.7956 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/1.417, allocations: 1.073 MB / 0.7967 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/1.417, allocations: 32.27 kB / 0.7967 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.417, allocations: 259.6 kB / 0.797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.417, allocations: 23.08 kB / 0.797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/1.417, allocations: 0 / 0.797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002083/1.417, allocations: 427.4 kB / 0.7974 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.418, allocations: 1.215 MB / 0.7986 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.42, allocations: 1.35 MB / 0.7999 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.421, allocations: 1.608 MB / 0.8015 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.421, allocations: 0 / 0.8015 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007064/1.429, allocations: 7.137 MB / 0.8084 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.429, allocations: 4 kB / 0.8084 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/1.429, allocations: 3.984 kB / 0.8085 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.429, allocations: 11.94 kB / 0.8085 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/1.429, allocations: 146.5 kB / 0.8086 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.429, allocations: 0 / 0.8086 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/1.43, allocations: 228.3 kB / 0.8088 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.43, allocations: 58.48 kB / 0.8089 GB, free: 5.691 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.0001438/1.43, allocations: 122 kB / 0.809 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/1.431, allocations: 70.69 kB / 0.8091 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000949/1.432, allocations: 0.7227 MB / 0.8098 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.432, allocations: 0 / 0.8098 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.432, allocations: 4 kB / 0.8098 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.432, allocations: 7.891 kB / 0.8098 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/1.432, allocations: 498 kB / 0.8103 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.432, allocations: 0 / 0.8103 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/1.432, allocations: 11.92 kB / 0.8103 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.432, allocations: 4 kB / 0.8103 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.432, allocations: 3.938 kB / 0.8103 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.432, allocations: 4.031 kB / 0.8103 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.432, allocations: 7.906 kB / 0.8103 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007538/1.433, allocations: 0.7864 MB / 0.8111 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009993/1.434, allocations: 1.196 MB / 0.8122 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.434, allocations: 155.8 kB / 0.8124 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/1.434, allocations: 7.984 kB / 0.8124 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.435, allocations: 8 kB / 0.8124 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/1.435, allocations: 7.891 kB / 0.8124 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.435, allocations: 19.86 kB / 0.8124 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000782/1.435, allocations: 0.6557 MB / 0.8131 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002612/1.438, allocations: 0.5131 MB / 0.8136 GB, free: 1.113 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.002103/1.44, allocations: 0.6962 MB / 0.8142 GB, free: 476 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.442, allocations: 2.345 MB / 0.8165 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.442, allocations: 4 kB / 0.8165 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/1.443, allocations: 341.3 kB / 0.8169 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/1.443, allocations: 52.45 kB / 0.8169 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/1.445, allocations: 1.529 MB / 0.8184 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/1.446, allocations: 1.061 MB / 0.8194 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/1.446, allocations: 0 / 0.8194 GB, free: 11.93 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)