Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource") [: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.81/0.81, allocations: 141.8 MB / 149.1 MB, free: 3.949 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 181.8 kB / 181.9 MB, free: 15.67 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.386/1.386, allocations: 221.3 MB / 436 MB, free: 8.777 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.00104/0.001041, allocations: 102 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 273.8 kB / 0.5884 GB, free: 11.83 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.393e-06, allocations: 0 / 0.6759 GB, free: 2.152 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4887, allocations: 82.75 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.6159, allocations: 108.5 MB / 0.8627 GB, free: 3.754 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6162, allocations: 103.7 kB / 0.8628 GB, free: 3.656 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.00331/0.6196, allocations: 0.9858 MB / 0.8638 GB, free: 2.688 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6196, allocations: 4 kB / 0.8638 GB, free: 2.684 MB / 0.5263 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.0002283/0.6198, allocations: 340.5 kB / 0.8641 GB, free: 2.309 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6199, allocations: 12.03 kB / 0.8641 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.6203, allocations: 27.86 kB / 0.8641 GB, free: 2.27 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6204, allocations: 171 kB / 0.8643 GB, free: 2.062 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.6205, allocations: 16.86 kB / 0.8643 GB, free: 2.047 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.6205, allocations: 0 / 0.8643 GB, free: 2.047 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/0.6206, allocations: 51.94 kB / 0.8644 GB, free: 1.996 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.6207, allocations: 50.58 kB / 0.8644 GB, free: 1.941 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.6207, allocations: 0 / 0.8644 GB, free: 1.941 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6207, allocations: 4.641 kB / 0.8644 GB, free: 1.938 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6207, allocations: 0 / 0.8644 GB, free: 1.938 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.6209, allocations: 155.7 kB / 0.8646 GB, free: 1.75 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/0.621, allocations: 58.55 kB / 0.8646 GB, free: 1.684 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.6211, allocations: 30 kB / 0.8647 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.6211, allocations: 0 / 0.8647 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.6211, allocations: 35.28 kB / 0.8647 GB, free: 1.609 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6211, allocations: 0.7812 kB / 0.8647 GB, free: 1.609 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6): time 0.0002985/0.6214, allocations: 70.33 kB / 0.8648 GB, free: 1.535 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.6214, allocations: 55.89 kB / 0.8648 GB, free: 1.469 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.6215, allocations: 105.5 kB / 0.8649 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.6216, allocations: 26.48 kB / 0.8649 GB, free: 1.328 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.6216, allocations: 80.86 kB / 0.865 GB, free: 1.246 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.6216, allocations: 19.8 kB / 0.865 GB, free: 1.227 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.6216, allocations: 0.9375 kB / 0.865 GB, free: 1.227 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.6217, allocations: 311.6 kB / 0.8653 GB, free: 0.9141 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.6218, allocations: 21.27 kB / 0.8654 GB, free: 0.8945 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.6218, allocations: 23.92 kB / 0.8654 GB, free: 0.8711 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.6219, allocations: 19.92 kB / 0.8654 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6219, allocations: 0.5 kB / 0.8654 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002332/0.6221, allocations: 74.3 kB / 0.8655 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6222, allocations: 8 kB / 0.8655 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6222, allocations: 0.625 kB / 0.8655 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6222, allocations: 5.109 kB / 0.8655 GB, free: 0.7617 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6223, allocations: 9.188 kB / 0.8655 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6224, allocations: 0 / 0.8655 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.6224, allocations: 11.89 kB / 0.8655 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6224, allocations: 0.9062 kB / 0.8655 GB, free: 0.7422 MB / 0.5263 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.422e-05/0.6225, allocations: 105.5 kB / 0.8656 GB, free: 0.6328 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.6226, allocations: 12.41 kB / 0.8656 GB, free: 0.6211 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.6228, allocations: 98.94 kB / 0.8657 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6228, allocations: 0 / 0.8657 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6228, allocations: 4.781 kB / 0.8657 GB, free: 0.5195 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6228, allocations: 0.7188 kB / 0.8657 GB, free: 0.5195 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.305e-05/0.6229, allocations: 154.1 kB / 0.8659 GB, free: 340 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.623, allocations: 2.312 kB / 0.8659 GB, free: 340 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.6231, allocations: 11.98 kB / 0.8659 GB, free: 328 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6231, allocations: 4.812 kB / 0.8659 GB, free: 324 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6231, allocations: 3.984 kB / 0.8659 GB, free: 320 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6231, allocations: 0.5312 kB / 0.8659 GB, free: 320 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6231, allocations: 0.5 kB / 0.8659 GB, free: 320 kB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000236/0.6233, allocations: 109.9 kB / 0.866 GB, free: 192 kB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.6234, allocations: 86.03 kB / 0.8661 GB, free: 88 kB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.6234, allocations: 0 / 0.8661 GB, free: 88 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.6235, allocations: 5.844 kB / 0.8661 GB, free: 84 kB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.6235, allocations: 3.984 kB / 0.8661 GB, free: 80 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.6235, allocations: 4 kB / 0.8661 GB, free: 76 kB / 0.5263 GB Notification: Performance of sort global known variables: time 5.08e-05/0.6236, allocations: 87.28 kB / 0.8662 GB, free: 15.99 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002197/0.6238, allocations: 20.75 kB / 0.8662 GB, free: 15.96 MB / 0.5419 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.0002544/0.6241, allocations: 133.8 kB / 0.8663 GB, free: 15.83 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.6242, allocations: 53.22 kB / 0.8664 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6242, allocations: 3.938 kB / 0.8664 GB, free: 15.77 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.6243, allocations: 28.52 kB / 0.8664 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.6244, allocations: 18.39 kB / 0.8664 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.6247, allocations: 99.75 kB / 0.8665 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.6251, allocations: 0.7075 MB / 0.8672 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of SimCode: time 2.144e-06/0.6251, allocations: 0 / 0.8672 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of Templates: time 0.003923/0.6291, allocations: 1.315 MB / 0.8685 GB, free: 13.62 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)