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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.001549/0.001549, allocations: 187 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4583/0.4583, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.348/1.348, allocations: 221.4 MB / 342.7 MB, free: 5.504 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.0009092/0.0009093, allocations: 87.41 kB / 415.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1773/0.1782, allocations: 78.49 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.5922, allocations: 72.3 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.7351, allocations: 124.2 MB / 0.6743 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.7355, allocations: 111.9 kB / 0.6744 GB, free: 1.684 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: 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.09956/0.8351, allocations: 29.87 MB / 0.7036 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8351, allocations: 12 kB / 0.7036 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.8353, allocations: 51.33 kB / 0.7036 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.8363, allocations: 0.6005 MB / 0.7042 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8363, allocations: 0 / 0.7042 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.8364, allocations: 0 / 0.7042 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002566/0.8366, allocations: 143.9 kB / 0.7043 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.8369, allocations: 189.5 kB / 0.7045 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8369, allocations: 0 / 0.7045 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.837, allocations: 3.906 kB / 0.7045 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.837, allocations: 4 kB / 0.7045 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.8377, allocations: 478 kB / 0.705 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.8379, allocations: 162.5 kB / 0.7051 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.8382, allocations: 140.8 kB / 0.7053 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.8382, allocations: 0 / 0.7053 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.8382, allocations: 34.56 kB / 0.7053 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.8382, allocations: 0 / 0.7053 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0007552/0.839, allocations: 364.9 kB / 0.7057 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.839, allocations: 58.78 kB / 0.7057 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.8399, allocations: 0.5919 MB / 0.7063 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.8399, allocations: 25.7 kB / 0.7063 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.84, allocations: 136.1 kB / 0.7064 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.84, allocations: 3.938 kB / 0.7064 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.8401, allocations: 3.938 kB / 0.7065 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8402, allocations: 366.8 kB / 0.7068 GB, free: 356 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.8404, allocations: 143.9 kB / 0.7069 GB, free: 212 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.8406, allocations: 139.9 kB / 0.7071 GB, free: 72 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.8409, allocations: 140 kB / 0.7072 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8409, allocations: 0 / 0.7072 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006385/0.8416, allocations: 364.8 kB / 0.7076 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8416, allocations: 8 kB / 0.7076 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/0.8417, allocations: 8 kB / 0.7076 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.8417, allocations: 0 / 0.7076 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.8417, allocations: 0 / 0.7076 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8417, allocations: 8.094 kB / 0.7076 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.8419, allocations: 28 kB / 0.7076 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.842, allocations: 25.17 kB / 0.7076 GB, free: 15.49 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 9.573e-05/0.8421, allocations: 104.9 kB / 0.7077 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.8422, allocations: 47.34 kB / 0.7078 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.8434, allocations: 0.59 MB / 0.7083 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8434, allocations: 3.984 kB / 0.7084 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8435, allocations: 0 / 0.7084 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8435, allocations: 4.031 kB / 0.7084 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.844, allocations: 366 kB / 0.7087 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/0.844, allocations: 15.98 kB / 0.7087 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.844, allocations: 0 / 0.7087 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.844, allocations: 0 / 0.7087 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8441, allocations: 7.906 kB / 0.7087 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8441, allocations: 0 / 0.7087 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8441, allocations: 4 kB / 0.7087 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006464/0.8447, allocations: 388.3 kB / 0.7091 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008303/0.8456, allocations: 0.7779 MB / 0.7099 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.8461, allocations: 344.3 kB / 0.7102 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.8463, allocations: 0 / 0.7102 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.8466, allocations: 28 kB / 0.7102 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.8466, allocations: 10.52 kB / 0.7102 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.8467, allocations: 35.97 kB / 0.7103 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000642/0.8473, allocations: 0.4949 MB / 0.7107 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003307/0.8506, allocations: 0.7608 MB / 0.7115 GB, free: 11.44 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.003417/0.854, allocations: 1.05 MB / 0.7125 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.8546, allocations: 309.5 kB / 0.7128 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8546, allocations: 7.906 kB / 0.7128 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.8548, allocations: 173.6 kB / 0.713 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.8552, allocations: 36.36 kB / 0.713 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.8571, allocations: 0.6797 MB / 0.7137 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.8583, allocations: 1.116 MB / 0.7148 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/0.8583, allocations: 3.938 kB / 0.7148 GB, free: 8.125 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)