Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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.7511/0.7511, allocations: 141.8 MB / 149.1 MB, free: 13.23 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 189.8 kB / 181.9 MB, free: 9.895 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.384/1.384, allocations: 221.4 MB / 436 MB, free: 2.395 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.000975/0.000975, allocations: 100.2 kB / 0.507 GB, free: 11.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 269 kB / 0.5884 GB, free: 7.961 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1932/0.1951, allocations: 89.69 MB / 0.676 GB, free: 14.18 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.6167, allocations: 82.77 MB / 0.7569 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.7349, allocations: 108.1 MB / 0.8624 GB, free: 30.88 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.7352, allocations: 104.4 kB / 0.8625 GB, free: 30.78 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.003148/0.7383, allocations: 1.307 MB / 0.8638 GB, free: 29.43 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7384, allocations: 8.562 kB / 0.8638 GB, free: 29.43 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.7384, allocations: 87.69 kB / 0.8639 GB, free: 29.34 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7386, allocations: 242.9 kB / 0.8641 GB, free: 29.06 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.7386, allocations: 155.3 kB / 0.8643 GB, free: 28.91 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.7386, allocations: 155.3 kB / 0.8644 GB, free: 28.76 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.03e-05/0.7387, allocations: 151.2 kB / 0.8646 GB, free: 28.61 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.256e-05/0.7387, allocations: 110.5 kB / 0.8647 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7387, allocations: 75.28 kB / 0.8647 GB, free: 28.42 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.7388, allocations: 155 kB / 0.8649 GB, free: 28.27 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.7388, allocations: 155.2 kB / 0.865 GB, free: 28.12 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.739, allocations: 428.4 kB / 0.8654 GB, free: 27.66 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.739, allocations: 169.7 kB / 0.8656 GB, free: 27.49 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.739, allocations: 88.64 kB / 0.8657 GB, free: 27.4 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.7391, allocations: 75.97 kB / 0.8658 GB, free: 27.32 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.7391, allocations: 111.5 kB / 0.8659 GB, free: 27.21 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.7391, allocations: 0 / 0.8659 GB, free: 27.21 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 7.007e-05/0.7392, allocations: 29.61 kB / 0.8659 GB, free: 27.17 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.7392, allocations: 51.94 kB / 0.8659 GB, free: 27.11 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.7393, allocations: 107.6 kB / 0.866 GB, free: 27 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.7393, allocations: 26.36 kB / 0.8661 GB, free: 26.97 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.7393, allocations: 84.67 kB / 0.8661 GB, free: 26.88 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.7393, allocations: 0 / 0.8661 GB, free: 26.88 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.7393, allocations: 0.875 kB / 0.8661 GB, free: 26.88 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.7394, allocations: 315.8 kB / 0.8664 GB, free: 26.57 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.7394, allocations: 7.984 kB / 0.8665 GB, free: 26.56 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.7394, allocations: 12 kB / 0.8665 GB, free: 26.55 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.7395, allocations: 12.72 kB / 0.8665 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7395, allocations: 0 / 0.8665 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/0.7396, allocations: 59.31 kB / 0.8665 GB, free: 26.47 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.7396, allocations: 8 kB / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7397, allocations: 0 / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7397, allocations: 0 / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.7397, allocations: 1.469 kB / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.7397, allocations: 0 / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.7397, allocations: 3.906 kB / 0.8665 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7397, allocations: 0 / 0.8665 GB, free: 26.46 MB / 0.5575 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: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 5.688e-05/0.7398, allocations: 181.6 kB / 0.8667 GB, free: 26.28 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.7398, allocations: 110 kB / 0.8668 GB, free: 26.16 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.7399, allocations: 108.4 kB / 0.8669 GB, free: 26.05 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.7399, allocations: 181.9 kB / 0.8671 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-05/0.7399, allocations: 180.8 kB / 0.8673 GB, free: 25.68 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/0.74, allocations: 185.5 kB / 0.8675 GB, free: 25.49 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.7401, allocations: 385.8 kB / 0.8678 GB, free: 25.07 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.7401, allocations: 102.1 kB / 0.8679 GB, free: 24.96 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.7402, allocations: 108.9 kB / 0.868 GB, free: 24.85 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.014e-05/0.7402, allocations: 185.1 kB / 0.8682 GB, free: 24.66 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.7402, allocations: 180.9 kB / 0.8684 GB, free: 24.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.171e-05/0.7403, allocations: 185.4 kB / 0.8685 GB, free: 24.29 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.27e-05/0.7403, allocations: 177 kB / 0.8687 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.692e-05/0.7404, allocations: 314.2 kB / 0.869 GB, free: 23.79 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00011/0.7405, allocations: 0.6706 MB / 0.8697 GB, free: 23.09 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.7405, allocations: 193.9 kB / 0.8699 GB, free: 22.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.7406, allocations: 177.1 kB / 0.87 GB, free: 22.7 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.7407, allocations: 101.6 kB / 0.8701 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.7407, allocations: 188.3 kB / 0.8703 GB, free: 22.4 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.7407, allocations: 105.3 kB / 0.8704 GB, free: 22.29 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.782e-05/0.7408, allocations: 87.28 kB / 0.8705 GB, free: 22.2 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008281/0.7416, allocations: 15.94 kB / 0.8705 GB, free: 22.19 MB / 0.5575 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001701/0.7418, allocations: 190.5 kB / 0.8707 GB, free: 21.99 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.7419, allocations: 16 kB / 0.8707 GB, free: 21.98 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7419, allocations: 4.062 kB / 0.8707 GB, free: 21.97 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.7419, allocations: 3.938 kB / 0.8707 GB, free: 21.97 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.7421, allocations: 0.5184 MB / 0.8712 GB, free: 21.45 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.7423, allocations: 135.2 kB / 0.8713 GB, free: 21.29 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.7424, allocations: 0.6919 MB / 0.872 GB, free: 20.57 MB / 0.5575 GB Notification: Performance of SimCode: time 2.01e-07/0.7425, allocations: 0 / 0.872 GB, free: 20.57 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1)