Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_IDEAS_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.003046/0.003046, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7444/0.7444, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.509/1.509, allocations: 221.3 MB / 395 MB, free: 10.25 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.001165/0.001165, allocations: 103.5 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5023/0.5035, allocations: 88.46 MB / 0.553 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.6927, allocations: 82.31 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5746/1.267, allocations: 125.5 MB / 0.7559 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/1.268, allocations: 111.2 kB / 0.756 GB, free: 9.234 MB / 0.4948 GB [/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.06541/1.333, allocations: 21.41 MB / 0.7769 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.333, allocations: 9.625 kB / 0.7769 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/1.333, allocations: 46.41 kB / 0.777 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/1.334, allocations: 0.6028 MB / 0.7776 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.334, allocations: 0 / 0.7776 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/1.334, allocations: 0 / 0.7776 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001982/1.335, allocations: 135.9 kB / 0.7777 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/1.335, allocations: 193.5 kB / 0.7779 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.335, allocations: 4 kB / 0.7779 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/1.335, allocations: 0 / 0.7779 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.335, allocations: 3.906 kB / 0.7779 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/1.336, allocations: 476.7 kB / 0.7783 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/1.336, allocations: 162.4 kB / 0.7785 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/1.336, allocations: 140.8 kB / 0.7786 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/1.336, allocations: 4 kB / 0.7786 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.336, allocations: 30.56 kB / 0.7787 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/1.336, allocations: 0 / 0.7787 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0006817/1.337, allocations: 360.9 kB / 0.779 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.337, allocations: 51.44 kB / 0.779 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/1.337, allocations: 0.5907 MB / 0.7796 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.337, allocations: 25.7 kB / 0.7797 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/1.338, allocations: 141.1 kB / 0.7798 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/1.338, allocations: 4.844 kB / 0.7798 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.338, allocations: 0 / 0.7798 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.338, allocations: 363.1 kB / 0.7801 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.338, allocations: 147.8 kB / 0.7803 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/1.338, allocations: 139.8 kB / 0.7804 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/1.338, allocations: 144 kB / 0.7805 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.338, allocations: 0 / 0.7805 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006119/1.339, allocations: 368.8 kB / 0.7809 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.339, allocations: 4 kB / 0.7809 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/1.339, allocations: 8 kB / 0.7809 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.339, allocations: 3.938 kB / 0.7809 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.339, allocations: 4 kB / 0.7809 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.339, allocations: 0 / 0.7809 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/1.339, allocations: 28 kB / 0.7809 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/1.339, allocations: 28.03 kB / 0.781 GB, free: 13.12 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: 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 8.817e-05/1.339, allocations: 105 kB / 0.7811 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.34, allocations: 47.34 kB / 0.7811 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/1.341, allocations: 0.5831 MB / 0.7817 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.341, allocations: 0 / 0.7817 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.341, allocations: 0 / 0.7817 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.341, allocations: 0 / 0.7817 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/1.341, allocations: 372.2 kB / 0.782 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/1.341, allocations: 12 kB / 0.7821 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/1.341, allocations: 4.031 kB / 0.7821 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.341, allocations: 0 / 0.7821 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/1.341, allocations: 4 kB / 0.7821 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.341, allocations: 7.906 kB / 0.7821 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.341, allocations: 0 / 0.7821 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006146/1.342, allocations: 383.4 kB / 0.7824 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008228/1.343, allocations: 0.7804 MB / 0.7832 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/1.343, allocations: 340.7 kB / 0.7835 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/1.344, allocations: 0 / 0.7835 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/1.344, allocations: 28 kB / 0.7835 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/1.344, allocations: 8 kB / 0.7836 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/1.344, allocations: 24 kB / 0.7836 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005776/1.344, allocations: 0.4962 MB / 0.7841 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002693/1.347, allocations: 0.5328 MB / 0.7846 GB, free: 9.59 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 (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.002322/1.349, allocations: 0.7991 MB / 0.7854 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005315/1.35, allocations: 321.4 kB / 0.7857 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.35, allocations: 0 / 0.7857 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/1.35, allocations: 169.6 kB / 0.7858 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.351, allocations: 32.53 kB / 0.7859 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/1.353, allocations: 0.6884 MB / 0.7865 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.354, allocations: 1.11 MB / 0.7876 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/1.354, allocations: 0 / 0.7876 GB, free: 6.555 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)