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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.738/0.738, allocations: 141.8 MB / 149.1 MB, free: 4.332 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.001131/0.001131, allocations: 182.1 kB / 181.9 MB, free: 16 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 436 MB, free: 9.176 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.001052/0.001052, allocations: 95.81 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001838/0.001837, allocations: 282 kB / 0.5884 GB, free: 12.2 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.202/0.2039, allocations: 89.68 MB / 0.676 GB, free: 2.426 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.6203, allocations: 82.77 MB / 0.7568 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.7401, allocations: 108.5 MB / 0.8628 GB, free: 4.082 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.7404, allocations: 100.6 kB / 0.8629 GB, free: 3.988 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.003482/0.7439, allocations: 1.324 MB / 0.8642 GB, free: 2.633 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.744, allocations: 9.031 kB / 0.8642 GB, free: 2.625 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.7444, allocations: 27.86 kB / 0.8642 GB, free: 2.598 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.7445, allocations: 172 kB / 0.8644 GB, free: 2.391 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7445, allocations: 3.906 kB / 0.8644 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.7445, allocations: 0 / 0.8644 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001296/0.7447, allocations: 56.53 kB / 0.8645 GB, free: 2.332 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.7448, allocations: 54.31 kB / 0.8645 GB, free: 2.273 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7448, allocations: 0 / 0.8645 GB, free: 2.273 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7448, allocations: 5.031 kB / 0.8645 GB, free: 2.27 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7448, allocations: 4 kB / 0.8645 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.745, allocations: 155.3 kB / 0.8647 GB, free: 2.078 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.7451, allocations: 58.62 kB / 0.8647 GB, free: 2.012 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.7451, allocations: 25.62 kB / 0.8648 GB, free: 1.984 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.7451, allocations: 4.719 kB / 0.8648 GB, free: 1.98 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.7452, allocations: 35.41 kB / 0.8648 GB, free: 1.938 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.7452, allocations: 0 / 0.8648 GB, free: 1.938 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6): time 0.0003129/0.7455, allocations: 70.16 kB / 0.8649 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.7455, allocations: 56 kB / 0.8649 GB, free: 1.797 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.7456, allocations: 108.2 kB / 0.865 GB, free: 1.688 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.7456, allocations: 31.2 kB / 0.865 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/0.7456, allocations: 84.14 kB / 0.8651 GB, free: 1.566 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.7457, allocations: 12.42 kB / 0.8651 GB, free: 1.555 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.7457, allocations: 0 / 0.8651 GB, free: 1.555 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.7457, allocations: 319.3 kB / 0.8654 GB, free: 1.234 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.7458, allocations: 16.7 kB / 0.8655 GB, free: 1.219 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.7458, allocations: 20.52 kB / 0.8655 GB, free: 1.199 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.7459, allocations: 16.92 kB / 0.8655 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7459, allocations: 1.781 kB / 0.8655 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000221/0.7461, allocations: 85.5 kB / 0.8656 GB, free: 1.094 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7461, allocations: 4 kB / 0.8656 GB, free: 1.09 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7462, allocations: 0 / 0.8656 GB, free: 1.09 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.7462, allocations: 0.5625 kB / 0.8656 GB, free: 1.09 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7463, allocations: 15.98 kB / 0.8656 GB, free: 1.074 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7463, allocations: 0.8438 kB / 0.8656 GB, free: 1.074 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.7464, allocations: 3.906 kB / 0.8656 GB, free: 1.07 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.7464, allocations: 4.75 kB / 0.8656 GB, free: 1.066 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 4.837e-05/0.7465, allocations: 113.2 kB / 0.8657 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.7465, allocations: 7.906 kB / 0.8657 GB, free: 0.9453 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.7468, allocations: 95.25 kB / 0.8658 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7468, allocations: 0.6875 kB / 0.8658 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7468, allocations: 0.5 kB / 0.8658 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7468, allocations: 3.984 kB / 0.8658 GB, free: 0.8438 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.7469, allocations: 146.8 kB / 0.866 GB, free: 0.6641 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7469, allocations: 5.047 kB / 0.866 GB, free: 0.6602 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.747, allocations: 12.25 kB / 0.866 GB, free: 0.6484 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.747, allocations: 0 / 0.866 GB, free: 0.6484 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.747, allocations: 8.766 kB / 0.866 GB, free: 0.6406 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.747, allocations: 3.938 kB / 0.866 GB, free: 0.6367 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.747, allocations: 4.844 kB / 0.866 GB, free: 0.6328 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000238/0.7473, allocations: 106.2 kB / 0.8661 GB, free: 0.5117 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002743/0.7476, allocations: 494 kB / 0.8666 GB, free: 12 kB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.7477, allocations: 85.02 kB / 0.8666 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.7477, allocations: 1.375 kB / 0.8666 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.7478, allocations: 0 / 0.8666 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.7478, allocations: 7.984 kB / 0.8666 GB, free: 15.9 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7478, allocations: 1.156 kB / 0.8667 GB, free: 15.9 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.738e-05/0.7479, allocations: 91.22 kB / 0.8667 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009309/0.7488, allocations: 27.98 kB / 0.8668 GB, free: 15.78 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.0002555/0.7491, allocations: 137.9 kB / 0.8669 GB, free: 15.64 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.7492, allocations: 35.98 kB / 0.8669 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7492, allocations: 0 / 0.8669 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.7493, allocations: 39.91 kB / 0.867 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.7494, allocations: 15.92 kB / 0.867 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.7497, allocations: 99.75 kB / 0.8671 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.75, allocations: 0.7075 MB / 0.8678 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.7501, allocations: 0 / 0.8678 GB, free: 14.7 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)