Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.7515/0.7515, allocations: 141.8 MB / 149.1 MB, free: 11.86 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.00121/0.00121, allocations: 187.4 kB / 182 MB, free: 8.617 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.356/1.356, allocations: 221.4 MB / 436.1 MB, free: 0.8906 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.0009975/0.0009974, allocations: 106.9 kB / 0.507 GB, free: 9.875 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 285.9 kB / 0.5885 GB, free: 6.684 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2006/0.2024, allocations: 89.68 MB / 0.6761 GB, free: 12.92 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.6217, allocations: 82.76 MB / 0.7569 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.7411, allocations: 109.5 MB / 0.8638 GB, free: 28.19 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.7415, allocations: 107.9 kB / 0.8639 GB, free: 28.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004418/0.7459, allocations: 2.031 MB / 0.8659 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.746, allocations: 16.62 kB / 0.8659 GB, free: 26 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.746, allocations: 0 / 0.8659 GB, free: 26 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7461, allocations: 171.6 kB / 0.8661 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7462, allocations: 0.5938 kB / 0.8661 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7462, allocations: 0 / 0.8661 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.1e-05/0.7462, allocations: 4.656 kB / 0.8661 GB, free: 25.79 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.305e-05/0.7463, allocations: 35.34 kB / 0.8661 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7463, allocations: 0 / 0.8661 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7463, allocations: 0 / 0.8661 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7463, allocations: 0 / 0.8661 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.7467, allocations: 442.3 kB / 0.8666 GB, free: 25.27 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.7467, allocations: 174.3 kB / 0.8667 GB, free: 25.09 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.7467, allocations: 80.86 kB / 0.8668 GB, free: 25 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7468, allocations: 80.53 kB / 0.8669 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.7468, allocations: 110.4 kB / 0.867 GB, free: 24.81 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.7468, allocations: 0 / 0.867 GB, free: 24.81 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 6.363e-05/0.7469, allocations: 26.27 kB / 0.867 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.7469, allocations: 59.98 kB / 0.8671 GB, free: 24.71 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.747, allocations: 93.53 kB / 0.8672 GB, free: 24.61 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.747, allocations: 26.33 kB / 0.8672 GB, free: 24.58 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.747, allocations: 84.05 kB / 0.8673 GB, free: 24.49 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.747, allocations: 0.875 kB / 0.8673 GB, free: 24.49 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.747, allocations: 0 / 0.8673 GB, free: 24.49 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.7471, allocations: 315.6 kB / 0.8676 GB, free: 24.18 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.7471, allocations: 5.094 kB / 0.8676 GB, free: 24.17 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.7471, allocations: 0 / 0.8676 GB, free: 24.17 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.7472, allocations: 8.734 kB / 0.8676 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7472, allocations: 0 / 0.8676 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.7473, allocations: 34.14 kB / 0.8676 GB, free: 24.12 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.7473, allocations: 8.75 kB / 0.8676 GB, free: 24.12 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7473, allocations: 0 / 0.8676 GB, free: 24.12 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7473, allocations: 4.922 kB / 0.8676 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/0.7474, allocations: 0 / 0.8676 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7474, allocations: 4.469 kB / 0.8676 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.7474, allocations: 0.8125 kB / 0.8676 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.7474, allocations: 0 / 0.8676 GB, free: 24.11 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: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 4.708e-05/0.7475, allocations: 181 kB / 0.8678 GB, free: 23.93 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.7475, allocations: 102.5 kB / 0.8679 GB, free: 23.82 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.7475, allocations: 108.1 kB / 0.868 GB, free: 23.71 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.7476, allocations: 185.6 kB / 0.8682 GB, free: 23.52 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/0.7476, allocations: 180.3 kB / 0.8683 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.7476, allocations: 185.4 kB / 0.8685 GB, free: 23.15 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7478, allocations: 384 kB / 0.8689 GB, free: 22.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.7478, allocations: 105 kB / 0.869 GB, free: 22.62 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.7478, allocations: 108.9 kB / 0.8691 GB, free: 22.51 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/0.7478, allocations: 181.6 kB / 0.8693 GB, free: 22.32 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.7479, allocations: 176.3 kB / 0.8694 GB, free: 22.14 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.7479, allocations: 189.5 kB / 0.8696 GB, free: 21.95 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/0.7479, allocations: 181 kB / 0.8698 GB, free: 21.77 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.398e-05/0.748, allocations: 307.4 kB / 0.8701 GB, free: 21.45 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000113/0.7481, allocations: 0.67 MB / 0.8707 GB, free: 20.75 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.7482, allocations: 190.6 kB / 0.8709 GB, free: 20.54 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.7482, allocations: 181 kB / 0.8711 GB, free: 20.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.7483, allocations: 105.8 kB / 0.8712 GB, free: 20.25 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.7484, allocations: 181.5 kB / 0.8714 GB, free: 20.07 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.7484, allocations: 101.3 kB / 0.8715 GB, free: 19.96 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.801e-05/0.7484, allocations: 80.06 kB / 0.8715 GB, free: 19.88 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009023/0.7493, allocations: 35.97 kB / 0.8716 GB, free: 19.85 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.0003613/0.7497, allocations: 225.8 kB / 0.8718 GB, free: 19.62 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 5.233e-05/0.7498, allocations: 7.938 kB / 0.8718 GB, free: 19.62 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7498, allocations: 0 / 0.8718 GB, free: 19.62 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.7498, allocations: 4 kB / 0.8718 GB, free: 19.61 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.75, allocations: 0.53 MB / 0.8723 GB, free: 19.08 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.7525, allocations: 1.033 MB / 0.8733 GB, free: 18.02 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.7526, allocations: 0.6841 MB / 0.874 GB, free: 17.3 MB / 0.5575 GB Notification: Performance of SimCode: time 1.022e-06/0.7527, allocations: 0 / 0.874 GB, free: 17.3 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)