Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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 10.0.0-master/package.mo): time 2.155/2.155, allocations: 390.4 MB / 397.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 181.1 kB / 490.8 MB, free: 11.17 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.35/1.35, allocations: 221.4 MB / 0.7863 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009836, allocations: 93.47 kB / 0.9264 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2956/0.2966, allocations: 149.2 MB / 1.072 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/1.047, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/1.248, allocations: 154.8 MB / 1.363 GB, free: 36.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.249, allocations: 103.9 kB / 1.363 GB, free: 36.68 MB / 0.8855 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.01982/1.269, allocations: 6.615 MB / 1.369 GB, free: 30.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.269, allocations: 8 kB / 1.369 GB, free: 30.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/1.269, allocations: 7.906 kB / 1.369 GB, free: 30.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.269, allocations: 171.6 kB / 1.37 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.269, allocations: 1.688 kB / 1.37 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/1.269, allocations: 0.6562 kB / 1.37 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001642/1.269, allocations: 55.94 kB / 1.37 GB, free: 29.85 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.269, allocations: 50.33 kB / 1.37 GB, free: 29.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.269, allocations: 4.594 kB / 1.37 GB, free: 29.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.269, allocations: 0 / 1.37 GB, free: 29.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.269, allocations: 4.859 kB / 1.37 GB, free: 29.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/1.269, allocations: 154.7 kB / 1.37 GB, free: 29.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/1.27, allocations: 62.53 kB / 1.37 GB, free: 29.53 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/1.27, allocations: 28.94 kB / 1.37 GB, free: 29.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.982e-05/1.27, allocations: 15.97 kB / 1.37 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.27, allocations: 31.22 kB / 1.37 GB, free: 29.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/1.27, allocations: 0 / 1.37 GB, free: 29.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0003632/1.27, allocations: 85.56 kB / 1.37 GB, free: 29.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/1.27, allocations: 54.78 kB / 1.37 GB, free: 29.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/1.27, allocations: 110.8 kB / 1.37 GB, free: 29.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/1.27, allocations: 25.7 kB / 1.37 GB, free: 29.15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.691e-05/1.27, allocations: 80.14 kB / 1.37 GB, free: 29.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.27, allocations: 19.8 kB / 1.37 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.27, allocations: 0 / 1.37 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/1.27, allocations: 310.8 kB / 1.371 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/1.27, allocations: 23.92 kB / 1.371 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/1.27, allocations: 19.98 kB / 1.371 GB, free: 28.69 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/1.271, allocations: 23.97 kB / 1.371 GB, free: 28.67 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.271, allocations: 4 kB / 1.371 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001857/1.271, allocations: 85.56 kB / 1.371 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.271, allocations: 4 kB / 1.371 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.271, allocations: 0 / 1.371 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.271, allocations: 4 kB / 1.371 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/1.271, allocations: 8 kB / 1.371 GB, free: 28.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.271, allocations: 2.812 kB / 1.371 GB, free: 28.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/1.271, allocations: 3.984 kB / 1.371 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/1.271, allocations: 6.062 kB / 1.371 GB, free: 28.55 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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.987e-05/1.271, allocations: 108.9 kB / 1.371 GB, free: 28.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/1.271, allocations: 4 kB / 1.371 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/1.271, allocations: 141.1 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.271, allocations: 0 / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.271, allocations: 3.938 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.271, allocations: 0 / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/1.272, allocations: 154.2 kB / 1.371 GB, free: 28.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.272, allocations: 0 / 1.371 GB, free: 28.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/1.272, allocations: 12 kB / 1.371 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.272, allocations: 0 / 1.371 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.272, allocations: 11.91 kB / 1.371 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.272, allocations: 0 / 1.371 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.272, allocations: 0 / 1.371 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000194/1.272, allocations: 123.7 kB / 1.371 GB, free: 27.94 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002311/1.272, allocations: 493.4 kB / 1.372 GB, free: 27.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/1.272, allocations: 88.95 kB / 1.372 GB, free: 27.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.272, allocations: 4 kB / 1.372 GB, free: 27.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/1.272, allocations: 3.469 kB / 1.372 GB, free: 27.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/1.272, allocations: 3.984 kB / 1.372 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.272, allocations: 4 kB / 1.372 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.435e-05/1.272, allocations: 95.27 kB / 1.372 GB, free: 27.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001095/1.273, allocations: 143.8 kB / 1.372 GB, free: 27.09 MB / 0.8855 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 (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 Backend phase and start with SimCode phase: time 0.0008273/1.274, allocations: 312.8 kB / 1.372 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001078/1.274, allocations: 43.98 kB / 1.373 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.274, allocations: 0 / 1.373 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/1.274, allocations: 27.98 kB / 1.373 GB, free: 26.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/1.274, allocations: 7.906 kB / 1.373 GB, free: 26.69 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/1.275, allocations: 99.77 kB / 1.373 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.275, allocations: 0.7032 MB / 1.373 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/1.275, allocations: 0 / 1.373 GB, free: 25.84 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)