Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 184.3 kB / 487 MB, free: 5.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009793, allocations: 96.06 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6257/0.6267, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.9073, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7774/1.685, allocations: 149.1 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.685, allocations: 97.72 kB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003757/1.689, allocations: 1.311 MB / 1.352 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.689, allocations: 12.75 kB / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/1.689, allocations: 31.58 kB / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.689, allocations: 177.2 kB / 1.353 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.69, allocations: 0 / 1.353 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/1.69, allocations: 2.344 kB / 1.353 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/1.69, allocations: 53.38 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.69, allocations: 58.66 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.69, allocations: 2.969 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.69, allocations: 0 / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.69, allocations: 0 / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/1.69, allocations: 156.4 kB / 1.353 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/1.69, allocations: 60.47 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/1.69, allocations: 23.56 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/1.69, allocations: 4.938 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/1.69, allocations: 36.34 kB / 1.353 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/1.69, allocations: 0 / 1.353 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0003128/1.691, allocations: 76.52 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/1.691, allocations: 56.44 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/1.691, allocations: 102.4 kB / 1.353 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/1.691, allocations: 26.5 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/1.691, allocations: 81.72 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/1.691, allocations: 15.59 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/1.691, allocations: 0 / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.546e-05/1.691, allocations: 319.5 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/1.691, allocations: 18.59 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/1.691, allocations: 20.5 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.691, allocations: 19.55 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.691, allocations: 0 / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002471/1.691, allocations: 77.58 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.691, allocations: 4.469 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.691, allocations: 1.812 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.691, allocations: 0.7812 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.691, allocations: 16.02 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.691, allocations: 1.406 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/1.692, allocations: 2.078 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/1.692, allocations: 6.891 kB / 1.354 GB, free: 14.29 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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 5.824e-05/1.692, allocations: 112.9 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/1.692, allocations: 9.656 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/1.692, allocations: 95.22 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.692, allocations: 1.062 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.692, allocations: 0.75 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.692, allocations: 4 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/1.692, allocations: 154.3 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.692, allocations: 0.7188 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/1.692, allocations: 13.36 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.692, allocations: 0.6562 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.692, allocations: 2.797 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.692, allocations: 0.75 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.692, allocations: 0 / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002695/1.693, allocations: 109.8 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003062/1.693, allocations: 492.5 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/1.693, allocations: 84.52 kB / 1.355 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/1.693, allocations: 0.7031 kB / 1.355 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/1.693, allocations: 2.906 kB / 1.355 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/1.693, allocations: 4.578 kB / 1.355 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/1.693, allocations: 4.938 kB / 1.355 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.544e-05/1.693, allocations: 97.38 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008056/1.694, allocations: 25.47 kB / 1.355 GB, free: 13.27 MB / 0.8073 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 (7): * Single equations (assignments): 7 * 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.0002389/1.694, allocations: 129.2 kB / 1.355 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.694, allocations: 53.72 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.694, allocations: 0 / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/1.694, allocations: 26.14 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.695, allocations: 11.95 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/1.695, allocations: 109.9 kB / 1.355 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.695, allocations: 0.7094 MB / 1.356 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/1.695, allocations: 0 / 1.356 GB, free: 12.39 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)