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_100boreholes.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_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.00555/0.00555, allocations: 183.5 kB / 7.462 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7024/0.7024, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.478/1.478, allocations: 221.3 MB / 395 MB, free: 10.18 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.001076/0.001076, allocations: 97.69 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4558/0.4569, allocations: 88.47 MB / 0.553 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.6378, allocations: 82.3 MB / 0.6334 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5719/1.21, allocations: 125.5 MB / 0.7559 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.21, allocations: 108.5 kB / 0.756 GB, free: 9.266 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.09257/1.303, allocations: 26.61 MB / 0.782 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.303, allocations: 12 kB / 0.782 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/1.303, allocations: 154 kB / 0.7821 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.304, allocations: 0.6279 MB / 0.7828 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.304, allocations: 0 / 0.7828 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.305, allocations: 24 kB / 0.7828 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/1.305, allocations: 422.8 kB / 0.7832 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/1.305, allocations: 394.5 kB / 0.7836 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.305, allocations: 0 / 0.7836 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.305, allocations: 0 / 0.7836 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.305, allocations: 0 / 0.7836 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/1.306, allocations: 0.917 MB / 0.7845 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/1.307, allocations: 0.5574 MB / 0.785 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/1.307, allocations: 340.3 kB / 0.7853 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.308, allocations: 1.032 MB / 0.7863 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/1.309, allocations: 391.7 kB / 0.7867 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/1.309, allocations: 4 kB / 0.7867 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0008298/1.309, allocations: 0.8053 MB / 0.7875 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.31, allocations: 81.11 kB / 0.7876 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.311, allocations: 1.53 MB / 0.7891 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/1.311, allocations: 25.7 kB / 0.7891 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/1.312, allocations: 340.1 kB / 0.7894 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/1.312, allocations: 19.34 kB / 0.7894 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/1.312, allocations: 0 / 0.7894 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.312, allocations: 404.9 kB / 0.7898 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.313, allocations: 1.47 MB / 0.7913 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.315, allocations: 1.608 MB / 0.7928 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.317, allocations: 1.868 MB / 0.7946 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.317, allocations: 4 kB / 0.7947 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007175/1.324, allocations: 7.719 MB / 0.8022 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.324, allocations: 4 kB / 0.8022 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.419e-05/1.324, allocations: 23.91 kB / 0.8022 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.324, allocations: 4 kB / 0.8022 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/1.325, allocations: 147.5 kB / 0.8024 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.325, allocations: 4 kB / 0.8024 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/1.326, allocations: 236.2 kB / 0.8026 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.326, allocations: 97.48 kB / 0.8027 GB, free: 9.715 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.0001477/1.326, allocations: 112.9 kB / 0.8028 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.326, allocations: 122 kB / 0.8029 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.327, allocations: 0.7901 MB / 0.8037 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.327, allocations: 4 kB / 0.8037 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.327, allocations: 0 / 0.8037 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.327, allocations: 0 / 0.8037 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/1.328, allocations: 0.6559 MB / 0.8043 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.328, allocations: 0 / 0.8043 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/1.328, allocations: 8.031 kB / 0.8043 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.328, allocations: 3.984 kB / 0.8043 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.328, allocations: 4 kB / 0.8043 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.328, allocations: 0 / 0.8043 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.328, allocations: 0 / 0.8043 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007268/1.329, allocations: 0.8409 MB / 0.8052 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008965/1.33, allocations: 1.265 MB / 0.8064 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/1.33, allocations: 199.1 kB / 0.8066 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.33, allocations: 0 / 0.8066 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/1.33, allocations: 7.984 kB / 0.8066 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/1.33, allocations: 8 kB / 0.8066 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/1.331, allocations: 15.97 kB / 0.8066 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001202/1.332, allocations: 1.012 MB / 0.8076 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002705/1.334, allocations: 0.5372 MB / 0.8081 GB, free: 4.395 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.002014/1.336, allocations: 0.5887 MB / 0.8087 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002257/1.339, allocations: 2.503 MB / 0.8111 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.339, allocations: 0 / 0.8111 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/1.339, allocations: 330.3 kB / 0.8115 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.339, allocations: 54.41 kB / 0.8115 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/1.343, allocations: 2.132 MB / 0.8136 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/1.344, allocations: 1.237 MB / 0.8148 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/1.344, allocations: 0 / 0.8148 GB, free: 14.36 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)