Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 173.3 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 94.12 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6339/0.635, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.936, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8073/1.743, allocations: 168 MB / 1.369 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.744, allocations: 114.2 kB / 1.37 GB, free: 6.957 MB / 0.8073 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.1015/1.845, allocations: 30.82 MB / 1.4 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.845, allocations: 9 kB / 1.4 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/1.846, allocations: 106.6 kB / 1.4 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/1.846, allocations: 471 kB / 1.4 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.846, allocations: 7.938 kB / 1.4 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/1.846, allocations: 20 kB / 1.4 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003556/1.847, allocations: 427.5 kB / 1.401 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/1.847, allocations: 377.9 kB / 1.401 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.847, allocations: 8 kB / 1.401 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.847, allocations: 7.188 kB / 1.401 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.847, allocations: 4 kB / 1.401 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/1.848, allocations: 0.7144 MB / 1.402 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/1.848, allocations: 0.558 MB / 1.402 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/1.849, allocations: 333.4 kB / 1.403 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.85, allocations: 1.036 MB / 1.404 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/1.85, allocations: 402.4 kB / 1.404 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.85, allocations: 0 / 1.404 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0008274/1.851, allocations: 0.7558 MB / 1.405 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.851, allocations: 85.02 kB / 1.405 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.852, allocations: 1.078 MB / 1.406 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.852, allocations: 25.7 kB / 1.406 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/1.852, allocations: 264.4 kB / 1.406 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/1.852, allocations: 15.56 kB / 1.406 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/1.853, allocations: 4.031 kB / 1.406 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.853, allocations: 432.9 kB / 1.407 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.854, allocations: 1.211 MB / 1.408 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.855, allocations: 1.35 MB / 1.409 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.857, allocations: 1.61 MB / 1.411 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.857, allocations: 0 / 1.411 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006061/1.863, allocations: 7.14 MB / 1.418 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.863, allocations: 8.031 kB / 1.418 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.863, allocations: 4 kB / 1.418 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.863, allocations: 0 / 1.418 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/1.864, allocations: 142.7 kB / 1.418 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.864, allocations: 4 kB / 1.418 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/1.864, allocations: 228.3 kB / 1.418 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.864, allocations: 58.61 kB / 1.418 GB, free: 12.06 MB / 0.8542 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.0001347/1.864, allocations: 132 kB / 1.418 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/1.864, allocations: 74.62 kB / 1.418 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008164/1.865, allocations: 0.7223 MB / 1.419 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.865, allocations: 4 kB / 1.419 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.865, allocations: 3.938 kB / 1.419 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.865, allocations: 0 / 1.419 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/1.866, allocations: 499.1 kB / 1.419 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.866, allocations: 3.984 kB / 1.419 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/1.866, allocations: 8 kB / 1.419 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.866, allocations: 4.031 kB / 1.419 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.866, allocations: 3.984 kB / 1.419 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.866, allocations: 4 kB / 1.419 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.866, allocations: 0 / 1.419 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006334/1.867, allocations: 0.7823 MB / 1.42 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008129/1.867, allocations: 1.205 MB / 1.421 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.867, allocations: 163.8 kB / 1.422 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/1.868, allocations: 0 / 1.422 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.868, allocations: 4 kB / 1.422 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/1.868, allocations: 14.55 kB / 1.422 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/1.868, allocations: 11.98 kB / 1.422 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007476/1.869, allocations: 0.6619 MB / 1.422 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002563/1.871, allocations: 0.5183 MB / 1.423 GB, free: 7.461 MB / 0.8542 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.001916/1.873, allocations: 0.6819 MB / 1.423 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002147/1.875, allocations: 2.357 MB / 1.426 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.875, allocations: 8.062 kB / 1.426 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.876, allocations: 335 kB / 1.426 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/1.876, allocations: 49.5 kB / 1.426 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.878, allocations: 1.537 MB / 1.428 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/1.879, allocations: 1.053 MB / 1.429 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.879, allocations: 3.938 kB / 1.429 GB, free: 2.219 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)