Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.GFunction_100boreholes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.7565/0.7565, allocations: 141.8 MB / 149.1 MB, free: 3.133 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 181.3 kB / 181.9 MB, free: 4.199 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 436 MB, free: 4.121 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.0009321, allocations: 92.3 kB / 0.507 GB, free: 2.223 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001863, allocations: 286 kB / 0.5884 GB, free: 14.82 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 0.304/0.3059, allocations: 89.67 MB / 0.676 GB, free: 138.7 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.4466, allocations: 82.78 MB / 0.7568 GB, free: 56.34 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.8795, allocations: 122.8 MB / 0.8768 GB, free: 4.41 MB / 0.5028 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.8799, allocations: 110.3 kB / 0.8769 GB, free: 4.348 MB / 0.5028 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.09688/0.9768, allocations: 26.61 MB / 0.9029 GB, free: 13.22 MB / 0.534 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.9769, allocations: 8 kB / 0.9029 GB, free: 13.21 MB / 0.534 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.9776, allocations: 157.4 kB / 0.903 GB, free: 13.06 MB / 0.534 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.9791, allocations: 0.6293 MB / 0.9037 GB, free: 12.36 MB / 0.534 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.9792, allocations: 4 kB / 0.9037 GB, free: 12.36 MB / 0.534 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.9793, allocations: 20 kB / 0.9037 GB, free: 12.34 MB / 0.534 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004725/0.9798, allocations: 427.4 kB / 0.9041 GB, free: 11.93 MB / 0.534 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.9802, allocations: 382.1 kB / 0.9045 GB, free: 11.55 MB / 0.534 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9803, allocations: 0 / 0.9045 GB, free: 11.55 MB / 0.534 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.9803, allocations: 0 / 0.9045 GB, free: 11.55 MB / 0.534 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.9803, allocations: 4 kB / 0.9045 GB, free: 11.54 MB / 0.534 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.9819, allocations: 0.9152 MB / 0.9054 GB, free: 10.75 MB / 0.534 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.9825, allocations: 0.5585 MB / 0.9059 GB, free: 10.18 MB / 0.534 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.9828, allocations: 337 kB / 0.9062 GB, free: 9.852 MB / 0.534 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.984, allocations: 1.032 MB / 0.9072 GB, free: 8.598 MB / 0.534 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.9844, allocations: 399.3 kB / 0.9076 GB, free: 8.199 MB / 0.534 GB Notification: Performance of pre-optimization done (n=8): time 3.967e-06/0.9845, allocations: 0 / 0.9076 GB, free: 8.199 MB / 0.534 GB Notification: Performance of matching and sorting (n=8): time 0.001046/0.9855, allocations: 0.8105 MB / 0.9084 GB, free: 7.391 MB / 0.534 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.9856, allocations: 77.11 kB / 0.9085 GB, free: 7.297 MB / 0.534 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.9879, allocations: 1.533 MB / 0.91 GB, free: 6.02 MB / 0.534 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.9881, allocations: 33.69 kB / 0.91 GB, free: 5.98 MB / 0.534 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.9884, allocations: 331.4 kB / 0.9103 GB, free: 5.734 MB / 0.534 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.9885, allocations: 14.75 kB / 0.9103 GB, free: 5.723 MB / 0.534 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.9885, allocations: 0 / 0.9103 GB, free: 5.723 MB / 0.534 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.9888, allocations: 415.1 kB / 0.9107 GB, free: 5.352 MB / 0.534 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.9903, allocations: 1.47 MB / 0.9122 GB, free: 4.305 MB / 0.534 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.9919, allocations: 1.611 MB / 0.9137 GB, free: 3.145 MB / 0.534 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.9938, allocations: 1.868 MB / 0.9156 GB, free: 1.684 MB / 0.534 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9939, allocations: 4 kB / 0.9156 GB, free: 1.68 MB / 0.534 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00728/1.001, allocations: 7.712 MB / 0.9231 GB, free: 10.79 MB / 0.5497 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.001, allocations: 5.031 kB / 0.9231 GB, free: 10.79 MB / 0.5497 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.553e-05/1.001, allocations: 20 kB / 0.9231 GB, free: 10.77 MB / 0.5497 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.001, allocations: 4 kB / 0.9231 GB, free: 10.76 MB / 0.5497 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/1.002, allocations: 146.5 kB / 0.9233 GB, free: 10.62 MB / 0.5497 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.002, allocations: 3.938 kB / 0.9233 GB, free: 10.62 MB / 0.5497 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/1.003, allocations: 232.3 kB / 0.9235 GB, free: 10.39 MB / 0.5497 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.003, allocations: 94.14 kB / 0.9236 GB, free: 10.31 MB / 0.5497 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001649/1.003, allocations: 116.3 kB / 0.9237 GB, free: 10.19 MB / 0.5497 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/1.003, allocations: 122 kB / 0.9238 GB, free: 10.07 MB / 0.5497 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.004, allocations: 0.7883 MB / 0.9246 GB, free: 9.297 MB / 0.5497 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/1.005, allocations: 4 kB / 0.9246 GB, free: 9.293 MB / 0.5497 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.005, allocations: 0 / 0.9246 GB, free: 9.293 MB / 0.5497 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.005, allocations: 0 / 0.9246 GB, free: 9.293 MB / 0.5497 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/1.005, allocations: 0.6531 MB / 0.9252 GB, free: 8.723 MB / 0.5497 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.005, allocations: 4.031 kB / 0.9252 GB, free: 8.719 MB / 0.5497 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/1.005, allocations: 7.984 kB / 0.9252 GB, free: 8.711 MB / 0.5497 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.005, allocations: 4 kB / 0.9252 GB, free: 8.707 MB / 0.5497 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.005, allocations: 3.75 kB / 0.9252 GB, free: 8.707 MB / 0.5497 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.005, allocations: 0 / 0.9252 GB, free: 8.707 MB / 0.5497 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.005, allocations: 4 kB / 0.9252 GB, free: 8.703 MB / 0.5497 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007543/1.006, allocations: 0.8443 MB / 0.9261 GB, free: 7.836 MB / 0.5497 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009589/1.007, allocations: 1.258 MB / 0.9273 GB, free: 6.562 MB / 0.5497 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/1.007, allocations: 198.8 kB / 0.9275 GB, free: 6.352 MB / 0.5497 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.007, allocations: 0 / 0.9275 GB, free: 6.352 MB / 0.5497 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/1.008, allocations: 11.98 kB / 0.9275 GB, free: 6.34 MB / 0.5497 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/1.008, allocations: 7.906 kB / 0.9275 GB, free: 6.332 MB / 0.5497 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/1.008, allocations: 19.91 kB / 0.9275 GB, free: 6.312 MB / 0.5497 GB Notification: Performance of sort global known variables: time 0.001212/1.009, allocations: 1.013 MB / 0.9285 GB, free: 5.465 MB / 0.5497 GB Notification: Performance of remove unused functions: time 0.002569/1.012, allocations: 0.5263 MB / 0.929 GB, free: 4.977 MB / 0.5497 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001804/1.013, allocations: 0.6052 MB / 0.9296 GB, free: 4.375 MB / 0.5497 GB Notification: Performance of simCode: created initialization part: time 0.002286/1.016, allocations: 2.505 MB / 0.9321 GB, free: 2.645 MB / 0.5497 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.016, allocations: 0 / 0.9321 GB, free: 2.645 MB / 0.5497 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.016, allocations: 330.6 kB / 0.9324 GB, free: 2.328 MB / 0.5497 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.016, allocations: 47.72 kB / 0.9324 GB, free: 2.309 MB / 0.5497 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/1.019, allocations: 2.127 MB / 0.9345 GB, free: 188 kB / 0.5497 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009053/1.02, allocations: 1.23 MB / 0.9357 GB, free: 14.93 MB / 0.5653 GB Notification: Performance of SimCode: time 2.81e-07/1.02, allocations: 0 / 0.9357 GB, free: 14.93 MB / 0.5653 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)