Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [: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.0009994/0.0009994, allocations: 189.1 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.437/0.437, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.000974, allocations: 97.02 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.728e-06, allocations: 4 kB / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4151, allocations: 124.2 MB / 0.6742 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4154, allocations: 111.9 kB / 0.6743 GB, free: 1.715 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd: time 0.09216/0.5076, allocations: 28.94 MB / 0.7026 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.5077, allocations: 4 kB / 0.7026 GB, free: 4.824 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001852/0.5095, allocations: 0.9102 MB / 0.7035 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5096, allocations: 8.031 kB / 0.7035 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.5098, allocations: 47.34 kB / 0.7035 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.5106, allocations: 0.6083 MB / 0.7041 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.5106, allocations: 4 kB / 0.7041 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.5107, allocations: 0 / 0.7041 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002112/0.5109, allocations: 139.8 kB / 0.7042 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.5112, allocations: 193.5 kB / 0.7044 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5112, allocations: 0 / 0.7044 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.5112, allocations: 7.906 kB / 0.7044 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5112, allocations: 0 / 0.7044 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.5119, allocations: 474 kB / 0.7049 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.5121, allocations: 162.5 kB / 0.705 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.5123, allocations: 144.8 kB / 0.7052 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5124, allocations: 0 / 0.7052 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.5124, allocations: 34.56 kB / 0.7052 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.5124, allocations: 0 / 0.7052 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0006648/0.5131, allocations: 364.8 kB / 0.7056 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5131, allocations: 55.34 kB / 0.7056 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.5139, allocations: 0.5919 MB / 0.7062 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5139, allocations: 29.69 kB / 0.7062 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.5139, allocations: 136.1 kB / 0.7064 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.514, allocations: 0 / 0.7064 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.514, allocations: 0 / 0.7064 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5141, allocations: 366.8 kB / 0.7067 GB, free: 404 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.5143, allocations: 139.9 kB / 0.7068 GB, free: 264 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.5145, allocations: 139.9 kB / 0.707 GB, free: 124 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.5148, allocations: 149.8 kB / 0.7071 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5148, allocations: 0 / 0.7071 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005859/0.5154, allocations: 368.8 kB / 0.7075 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5154, allocations: 7.984 kB / 0.7075 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-05/0.5154, allocations: 12 kB / 0.7075 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5155, allocations: 0 / 0.7075 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.5155, allocations: 0 / 0.7075 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5155, allocations: 0 / 0.7075 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.5157, allocations: 28 kB / 0.7075 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.5158, allocations: 24 kB / 0.7075 GB, free: 15.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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 7.709e-05/0.5158, allocations: 109 kB / 0.7076 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.516, allocations: 47.34 kB / 0.7077 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.5171, allocations: 0.578 MB / 0.7082 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5171, allocations: 0 / 0.7082 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5171, allocations: 0 / 0.7082 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5171, allocations: 3.984 kB / 0.7083 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.5176, allocations: 370 kB / 0.7086 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/0.5176, allocations: 11.98 kB / 0.7086 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.5176, allocations: 4.031 kB / 0.7086 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5176, allocations: 1.688 kB / 0.7086 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5177, allocations: 19.89 kB / 0.7086 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5177, allocations: 3.938 kB / 0.7086 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5177, allocations: 0 / 0.7086 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005829/0.5183, allocations: 380.3 kB / 0.709 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.5187, allocations: 348.2 kB / 0.7093 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.519, allocations: 0 / 0.7093 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.5192, allocations: 32.03 kB / 0.7094 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.5193, allocations: 8 kB / 0.7094 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.5193, allocations: 27.94 kB / 0.7094 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005622/0.5199, allocations: 0.4949 MB / 0.7099 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002142/0.522, allocations: 0.6983 MB / 0.7106 GB, free: 12.35 MB / 0.5261 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 (1): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0034/0.5254, allocations: 1.058 MB / 0.7116 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.5259, allocations: 309.5 kB / 0.7119 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5259, allocations: 0 / 0.7119 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.5261, allocations: 169.6 kB / 0.7121 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.5264, allocations: 36.44 kB / 0.7121 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.5281, allocations: 0.6927 MB / 0.7128 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.5291, allocations: 1.112 MB / 0.7139 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5291, allocations: 0 / 0.7139 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of Templates: time 0.1941/0.7233, allocations: 18.53 MB / 0.732 GB, free: 186.1 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)