Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.003935/0.003935, allocations: 184.8 kB / 7.463 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.7699/0.7699, 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.571/1.571, allocations: 221.3 MB / 395 MB, free: 10.21 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.001044/0.001044, allocations: 94.3 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.512/0.513, allocations: 88.47 MB / 0.553 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.716, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6083/1.324, allocations: 112.2 MB / 0.7429 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.325, allocations: 106.1 kB / 0.743 GB, free: 10.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004769/1.33, allocations: 2.033 MB / 0.745 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.33, allocations: 11.69 kB / 0.745 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/1.33, allocations: 3.906 kB / 0.745 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.33, allocations: 168.6 kB / 0.7452 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.33, allocations: 0 / 0.7452 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/1.33, allocations: 0 / 0.7452 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.583e-05/1.33, allocations: 3.969 kB / 0.7452 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.875e-05/1.33, allocations: 30.3 kB / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.33, allocations: 0.6562 kB / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/1.33, allocations: 3.938 kB / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.33, allocations: 0 / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/1.331, allocations: 453 kB / 0.7456 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/1.331, allocations: 165.1 kB / 0.7458 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/1.331, allocations: 80.14 kB / 0.7459 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.331, allocations: 76.12 kB / 0.7459 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/1.331, allocations: 113.7 kB / 0.746 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.331, allocations: 4.781 kB / 0.746 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.193e-05/1.331, allocations: 30.27 kB / 0.7461 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/1.331, allocations: 52.2 kB / 0.7461 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/1.331, allocations: 93.73 kB / 0.7462 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.331, allocations: 25.7 kB / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/1.331, allocations: 83.86 kB / 0.7463 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/1.331, allocations: 4 kB / 0.7463 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/1.331, allocations: 0 / 0.7463 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.331, allocations: 315.8 kB / 0.7466 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/1.331, allocations: 3.938 kB / 0.7466 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/1.331, allocations: 0 / 0.7466 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/1.331, allocations: 5.188 kB / 0.7466 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.331, allocations: 0 / 0.7466 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001317/1.331, allocations: 43.95 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.332, allocations: 7.781 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.332, allocations: 4.562 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.332, allocations: 0.75 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.648e-05/1.332, allocations: 0.7969 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.332, allocations: 0 / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/1.332, allocations: 0 / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/1.332, allocations: 0 / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.92e-05/1.332, allocations: 180.9 kB / 0.7469 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/1.332, allocations: 105.5 kB / 0.747 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/1.332, allocations: 117.2 kB / 0.7471 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/1.332, allocations: 182.4 kB / 0.7473 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.511e-05/1.332, allocations: 180.6 kB / 0.7474 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/1.332, allocations: 180.9 kB / 0.7476 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.332, allocations: 376.7 kB / 0.748 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/1.332, allocations: 113.1 kB / 0.7481 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/1.332, allocations: 109.5 kB / 0.7482 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.66e-05/1.333, allocations: 181 kB / 0.7483 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/1.333, allocations: 176.9 kB / 0.7485 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.569e-05/1.333, allocations: 184.8 kB / 0.7487 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.437e-05/1.333, allocations: 181.4 kB / 0.7489 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001441/1.333, allocations: 310.5 kB / 0.7492 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003053/1.333, allocations: 0.6664 MB / 0.7498 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/1.333, allocations: 188.2 kB / 0.75 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/1.333, allocations: 180.5 kB / 0.7502 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/1.334, allocations: 105.5 kB / 0.7503 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/1.334, allocations: 184.2 kB / 0.7504 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/1.334, allocations: 102 kB / 0.7505 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.331e-05/1.334, allocations: 79.86 kB / 0.7506 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001009/1.335, allocations: 31.89 kB / 0.7506 GB, free: 20.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004361/1.335, allocations: 232.8 kB / 0.7509 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.62e-05/1.335, allocations: 4.594 kB / 0.7509 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.335, allocations: 0 / 0.7509 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/1.335, allocations: 8 kB / 0.7509 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/1.336, allocations: 0.5273 MB / 0.7514 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/1.339, allocations: 1.03 MB / 0.7524 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/1.339, allocations: 0.6859 MB / 0.7531 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.339, allocations: 0 / 0.7531 GB, free: 18.68 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)