Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.7188/0.7188, allocations: 141.8 MB / 149.1 MB, free: 4.348 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.001204/0.001205, allocations: 188.1 kB / 181.9 MB, free: 24 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.3/1.3, allocations: 221.3 MB / 436 MB, free: 9.148 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.001085/0.001085, allocations: 95.77 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 275 kB / 0.5884 GB, free: 12.14 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1888/0.1906, allocations: 89.69 MB / 0.676 GB, free: 2.375 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.6059, allocations: 82.77 MB / 0.7569 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.7251, allocations: 108.8 MB / 0.8631 GB, free: 3.77 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.7255, allocations: 103.9 kB / 0.8632 GB, free: 3.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005115/0.7306, allocations: 1.843 MB / 0.865 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7307, allocations: 8.719 kB / 0.865 GB, free: 1.805 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.7308, allocations: 11.98 kB / 0.865 GB, free: 1.793 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.276e-05/0.7309, allocations: 163.5 kB / 0.8652 GB, free: 1.594 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.7309, allocations: 4.469 kB / 0.8652 GB, free: 1.59 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.7309, allocations: 8.688 kB / 0.8652 GB, free: 1.582 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.674e-05/0.731, allocations: 4 kB / 0.8652 GB, free: 1.578 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.056e-05/0.7311, allocations: 42.69 kB / 0.8652 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7311, allocations: 0 / 0.8652 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.7311, allocations: 0 / 0.8652 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7311, allocations: 1.438 kB / 0.8652 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.7312, allocations: 130.2 kB / 0.8653 GB, free: 1.367 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.7314, allocations: 51.92 kB / 0.8654 GB, free: 1.309 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.7314, allocations: 20.84 kB / 0.8654 GB, free: 1.285 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/0.7321, allocations: 1.478 MB / 0.8669 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.7322, allocations: 35.48 kB / 0.8669 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.7322, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.7324, allocations: 45.69 kB / 0.8669 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.7324, allocations: 51.41 kB / 0.867 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.7325, allocations: 85 kB / 0.8671 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.7325, allocations: 29.7 kB / 0.8671 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.7325, allocations: 80.14 kB / 0.8672 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.7326, allocations: 19.75 kB / 0.8672 GB, free: 15.07 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7326, allocations: 0 / 0.8672 GB, free: 15.07 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7327, allocations: 314.8 kB / 0.8675 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.7328, allocations: 11.38 kB / 0.8675 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.7328, allocations: 7.938 kB / 0.8675 GB, free: 14.74 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.7328, allocations: 8 kB / 0.8675 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7328, allocations: 4 kB / 0.8675 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.733, allocations: 53.59 kB / 0.8676 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.733, allocations: 8 kB / 0.8676 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.733, allocations: 3.938 kB / 0.8676 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.733, allocations: 0 / 0.8676 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.7331, allocations: 11.98 kB / 0.8676 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7331, allocations: 0 / 0.8676 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.7331, allocations: 0 / 0.8676 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.7331, allocations: 0 / 0.8676 GB, free: 14.64 MB / 0.5419 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 (5): * Single equations (assignments): 5 * 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 8.29e-05/0.7332, allocations: 112.9 kB / 0.8677 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.7332, allocations: 4 kB / 0.8677 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.7334, allocations: 65.14 kB / 0.8678 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7334, allocations: 4 kB / 0.8678 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7334, allocations: 0 / 0.8678 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7334, allocations: 0 / 0.8678 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.7336, allocations: 138.4 kB / 0.8679 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7336, allocations: 0 / 0.8679 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.7337, allocations: 12 kB / 0.8679 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.7337, allocations: 4 kB / 0.8679 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.7337, allocations: 4 kB / 0.8679 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7337, allocations: 0 / 0.8679 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7337, allocations: 0 / 0.8679 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001738/0.7339, allocations: 104.6 kB / 0.868 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002977/0.7342, allocations: 489.6 kB / 0.8685 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.7342, allocations: 85.23 kB / 0.8686 GB, free: 13.54 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.7343, allocations: 3.984 kB / 0.8686 GB, free: 13.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.7343, allocations: 0 / 0.8686 GB, free: 13.53 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.7343, allocations: 3.906 kB / 0.8686 GB, free: 13.53 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.7343, allocations: 4 kB / 0.8686 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.54e-05/0.7344, allocations: 75.28 kB / 0.8687 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008097/0.7352, allocations: 43.91 kB / 0.8687 GB, free: 13.41 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003981/0.7356, allocations: 179.1 kB / 0.8689 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.7357, allocations: 23.98 kB / 0.8689 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7357, allocations: 0.8438 kB / 0.8689 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.7357, allocations: 16 kB / 0.8689 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.968e-05/0.7358, allocations: 0 / 0.8689 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.7361, allocations: 88.14 kB / 0.869 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.7363, allocations: 0.6954 MB / 0.8697 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.7363, allocations: 0 / 0.8697 GB, free: 12.35 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)