Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6996/0.6996, allocations: 127.4 MB / 134.6 MB, free: 4.121 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 173.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 399.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009263/0.0009264, allocations: 95.16 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.259/0.26, allocations: 82.93 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.4248, allocations: 76.76 MB / 0.6211 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.8512, allocations: 117.5 MB / 0.7358 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003976/0.8517, allocations: 107.9 kB / 0.7359 GB, free: 10.6 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213: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.08602/0.9378, allocations: 28.04 MB / 0.7633 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9378, allocations: 12 kB / 0.7633 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.9381, allocations: 43.44 kB / 0.7634 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.9391, allocations: 0.6131 MB / 0.764 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.9391, allocations: 0 / 0.764 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.9391, allocations: 0 / 0.764 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002358/0.9394, allocations: 143.9 kB / 0.7641 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.9397, allocations: 197.4 kB / 0.7643 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9397, allocations: 0 / 0.7643 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.9397, allocations: 0 / 0.7643 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.9397, allocations: 0 / 0.7643 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.9405, allocations: 485.8 kB / 0.7648 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.9408, allocations: 150.5 kB / 0.7649 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.941, allocations: 148.8 kB / 0.7651 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.9411, allocations: 0 / 0.7651 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.9411, allocations: 38.56 kB / 0.7651 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.9411, allocations: 0 / 0.7651 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0008838/0.942, allocations: 364.9 kB / 0.7654 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.9421, allocations: 51.41 kB / 0.7655 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9431, allocations: 0.5841 MB / 0.7661 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.9431, allocations: 29.7 kB / 0.7661 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.9433, allocations: 140 kB / 0.7662 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.9433, allocations: 7.906 kB / 0.7662 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.9433, allocations: 0 / 0.7662 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002274/0.9436, allocations: 362.8 kB / 0.7666 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.9438, allocations: 143.9 kB / 0.7667 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.944, allocations: 139.9 kB / 0.7668 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.9443, allocations: 139.9 kB / 0.767 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9444, allocations: 0 / 0.767 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006888/0.9451, allocations: 360.9 kB / 0.7673 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.9451, allocations: 4 kB / 0.7673 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-05/0.9451, allocations: 12 kB / 0.7673 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.9452, allocations: 0 / 0.7673 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.9452, allocations: 0 / 0.7673 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.9452, allocations: 4 kB / 0.7673 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.9455, allocations: 36 kB / 0.7674 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.9455, allocations: 28 kB / 0.7674 GB, free: 10.18 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 0.0001129/0.9456, allocations: 101 kB / 0.7675 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.9458, allocations: 47.42 kB / 0.7675 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.9471, allocations: 0.5788 MB / 0.7681 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9472, allocations: 0 / 0.7681 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9472, allocations: 7.906 kB / 0.7681 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.9472, allocations: 0 / 0.7681 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.9478, allocations: 382 kB / 0.7685 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/0.9478, allocations: 12 kB / 0.7685 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.9478, allocations: 0 / 0.7685 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.9478, allocations: 0 / 0.7685 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.9479, allocations: 4 kB / 0.7685 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9479, allocations: 0 / 0.7685 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9479, allocations: 0 / 0.7685 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006434/0.9485, allocations: 396.2 kB / 0.7689 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008493/0.9494, allocations: 0.7818 MB / 0.7696 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.95, allocations: 356.3 kB / 0.77 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.9502, allocations: 0 / 0.77 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.9504, allocations: 32 kB / 0.77 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.9505, allocations: 7.938 kB / 0.77 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.9505, allocations: 27.98 kB / 0.77 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006267/0.9512, allocations: 0.491 MB / 0.7705 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002477/0.9536, allocations: 0.5188 MB / 0.771 GB, free: 6.359 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.004744/0.9584, allocations: 0.7881 MB / 0.7718 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006822/0.9591, allocations: 317.4 kB / 0.7721 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9591, allocations: 0 / 0.7721 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.9594, allocations: 169.6 kB / 0.7723 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.9601, allocations: 26.09 kB / 0.7723 GB, free: 5.082 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5831/1.543, allocations: 140.9 MB / 0.9099 GB, free: 267.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.544, allocations: 0.8336 MB / 0.9107 GB, free: 266.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.833e-06/1.544, allocations: 0 / 0.9107 GB, free: 266.6 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)