Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7959/0.7959, allocations: 141.8 MB / 149.1 MB, free: 1.77 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 177.3 kB / 181.9 MB, free: 1.242 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.3 MB / 436 MB, free: 5.953 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 96.55 kB / 0.507 GB, free: 2.625 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 277.3 kB / 0.5884 GB, free: 47.68 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3734/0.3755, allocations: 89.67 MB / 0.676 GB, free: 59.87 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.5316, allocations: 82.78 MB / 0.7569 GB, free: 1 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.9972, allocations: 122.8 MB / 0.8768 GB, free: 26.69 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.9975, allocations: 105.6 kB / 0.8769 GB, free: 26.69 MB / 0.5419 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.05972/1.057, allocations: 21.42 MB / 0.8978 GB, free: 24.84 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.057, allocations: 11.69 kB / 0.8978 GB, free: 24.84 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.057, allocations: 46.38 kB / 0.8979 GB, free: 24.82 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/1.058, allocations: 0.6009 MB / 0.8985 GB, free: 24.56 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.058, allocations: 0 / 0.8985 GB, free: 24.56 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/1.058, allocations: 0 / 0.8985 GB, free: 24.56 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/1.059, allocations: 139.8 kB / 0.8986 GB, free: 24.56 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/1.059, allocations: 192.8 kB / 0.8988 GB, free: 24.53 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/1.059, allocations: 3.938 kB / 0.8988 GB, free: 24.52 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.059, allocations: 0 / 0.8988 GB, free: 24.52 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.059, allocations: 0 / 0.8988 GB, free: 24.52 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/1.06, allocations: 473.9 kB / 0.8992 GB, free: 24.36 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/1.06, allocations: 157.9 kB / 0.8994 GB, free: 24.34 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.06, allocations: 149.8 kB / 0.8995 GB, free: 24.33 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/1.06, allocations: 0 / 0.8995 GB, free: 24.33 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/1.06, allocations: 34.12 kB / 0.8996 GB, free: 24.29 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.06, allocations: 0 / 0.8996 GB, free: 24.29 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0006844/1.061, allocations: 356.6 kB / 0.8999 GB, free: 24.23 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/1.061, allocations: 55.34 kB / 0.9 GB, free: 24.17 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/1.062, allocations: 0.5917 MB / 0.9005 GB, free: 24.05 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/1.062, allocations: 25.7 kB / 0.9006 GB, free: 24.02 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/1.062, allocations: 135.8 kB / 0.9007 GB, free: 23.94 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/1.062, allocations: 8.406 kB / 0.9007 GB, free: 23.93 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/1.062, allocations: 0 / 0.9007 GB, free: 23.93 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.062, allocations: 363.4 kB / 0.9011 GB, free: 23.62 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.062, allocations: 136.6 kB / 0.9012 GB, free: 23.62 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.062, allocations: 144.3 kB / 0.9013 GB, free: 23.62 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/1.063, allocations: 145.7 kB / 0.9015 GB, free: 23.62 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.063, allocations: 0 / 0.9015 GB, free: 23.62 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005869/1.063, allocations: 361.9 kB / 0.9018 GB, free: 23.56 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.063, allocations: 3.875 kB / 0.9018 GB, free: 23.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/1.063, allocations: 16.39 kB / 0.9018 GB, free: 23.56 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.063, allocations: 0 / 0.9018 GB, free: 23.56 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/1.063, allocations: 0 / 0.9018 GB, free: 23.56 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/1.063, allocations: 4.609 kB / 0.9018 GB, free: 23.55 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.063, allocations: 31.09 kB / 0.9019 GB, free: 23.55 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/1.064, allocations: 23.22 kB / 0.9019 GB, free: 23.55 MB / 0.5419 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.706e-05/1.064, allocations: 109.7 kB / 0.902 GB, free: 23.44 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/1.064, allocations: 42.84 kB / 0.902 GB, free: 23.42 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.065, allocations: 0.5791 MB / 0.9026 GB, free: 23.38 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.065, allocations: 0 / 0.9026 GB, free: 23.38 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.065, allocations: 7.844 kB / 0.9026 GB, free: 23.37 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.065, allocations: 0.7031 kB / 0.9026 GB, free: 23.37 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/1.065, allocations: 375.9 kB / 0.903 GB, free: 23.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/1.065, allocations: 8.344 kB / 0.903 GB, free: 23.21 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-06/1.065, allocations: 11.89 kB / 0.903 GB, free: 23.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.065, allocations: 0 / 0.903 GB, free: 23.21 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/1.065, allocations: 8.531 kB / 0.903 GB, free: 23.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.065, allocations: 0 / 0.903 GB, free: 23.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.065, allocations: 0.6562 kB / 0.903 GB, free: 23.2 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005832/1.066, allocations: 392.3 kB / 0.9034 GB, free: 23.11 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000704/1.067, allocations: 0.7778 MB / 0.9041 GB, free: 22.64 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/1.067, allocations: 338.1 kB / 0.9044 GB, free: 22.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/1.067, allocations: 0 / 0.9044 GB, free: 22.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/1.068, allocations: 27.34 kB / 0.9045 GB, free: 22.53 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/1.068, allocations: 9.75 kB / 0.9045 GB, free: 22.53 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.068, allocations: 23.25 kB / 0.9045 GB, free: 22.53 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0005944/1.068, allocations: 0.4937 MB / 0.905 GB, free: 22.44 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.002748/1.071, allocations: 0.5248 MB / 0.9055 GB, free: 22.3 MB / 0.5419 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.003004/1.074, allocations: 0.8035 MB / 0.9063 GB, free: 22 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000448/1.075, allocations: 319.7 kB / 0.9066 GB, free: 21.96 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.075, allocations: 0 / 0.9066 GB, free: 21.96 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/1.075, allocations: 171.8 kB / 0.9067 GB, free: 21.93 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.075, allocations: 40.06 kB / 0.9068 GB, free: 21.92 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.077, allocations: 0.6781 MB / 0.9074 GB, free: 21.76 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008968/1.078, allocations: 1.102 MB / 0.9085 GB, free: 21.04 MB / 0.5419 GB Notification: Performance of SimCode: time 3.9e-07/1.078, allocations: 0 / 0.9085 GB, free: 21.04 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)