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_Integrand_Length.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_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.13/2.13, allocations: 390.4 MB / 397.7 MB, free: 10.73 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.001231/0.001231, allocations: 179.1 kB / 490.8 MB, free: 11.27 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.523/1.523, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.001114/0.001114, allocations: 101.9 kB / 0.9264 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.353/0.3542, allocations: 149.2 MB / 1.072 GB, free: 15.49 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/1.156, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/1.34, allocations: 153.3 MB / 1.361 GB, free: 38.37 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.34, allocations: 103.9 kB / 1.361 GB, free: 38.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.008844/1.349, allocations: 3.105 MB / 1.365 GB, free: 35.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.349, allocations: 8.594 kB / 1.365 GB, free: 35.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/1.349, allocations: 7.906 kB / 1.365 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.349, allocations: 168.7 kB / 1.365 GB, free: 34.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/1.349, allocations: 3.656 kB / 1.365 GB, free: 34.94 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/1.349, allocations: 4 kB / 1.365 GB, free: 34.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001335/1.35, allocations: 43.91 kB / 1.365 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/1.35, allocations: 58.19 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.35, allocations: 0 / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.35, allocations: 0.6562 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.35, allocations: 4.781 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/1.35, allocations: 147.1 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/1.35, allocations: 53.75 kB / 1.365 GB, free: 34.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/1.35, allocations: 13.48 kB / 1.365 GB, free: 34.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/1.35, allocations: 9.25 kB / 1.365 GB, free: 34.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.35, allocations: 35.14 kB / 1.365 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/1.35, allocations: 0 / 1.365 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002713/1.35, allocations: 70.77 kB / 1.365 GB, free: 34.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/1.35, allocations: 59.31 kB / 1.365 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/1.35, allocations: 95.52 kB / 1.365 GB, free: 34.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/1.35, allocations: 25.7 kB / 1.365 GB, free: 34.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/1.35, allocations: 85.08 kB / 1.365 GB, free: 34.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.351, allocations: 15.8 kB / 1.365 GB, free: 34.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/1.351, allocations: 0 / 1.365 GB, free: 34.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/1.351, allocations: 315.5 kB / 1.366 GB, free: 33.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/1.351, allocations: 16.55 kB / 1.366 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/1.351, allocations: 5.625 kB / 1.366 GB, free: 33.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/1.351, allocations: 16 kB / 1.366 GB, free: 33.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.351, allocations: 3.906 kB / 1.366 GB, free: 33.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000185/1.351, allocations: 69.67 kB / 1.366 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.351, allocations: 5.375 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.351, allocations: 4 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.351, allocations: 0 / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/1.351, allocations: 11.94 kB / 1.366 GB, free: 33.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/1.351, allocations: 5.625 kB / 1.366 GB, free: 33.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/1.351, allocations: 7.844 kB / 1.366 GB, free: 33.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.351, allocations: 7.984 kB / 1.366 GB, free: 33.68 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 (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.978e-05/1.351, allocations: 101.5 kB / 1.366 GB, free: 33.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/1.351, allocations: 8.719 kB / 1.366 GB, free: 33.57 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/1.352, allocations: 224 kB / 1.366 GB, free: 33.37 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.352, allocations: 8.828 kB / 1.366 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.352, allocations: 3.938 kB / 1.366 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.352, allocations: 1.219 kB / 1.366 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/1.352, allocations: 164.5 kB / 1.366 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.352, allocations: 4 kB / 1.366 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.352, allocations: 31.92 kB / 1.366 GB, free: 33.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.352, allocations: 4.906 kB / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.352, allocations: 0 / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.352, allocations: 5.078 kB / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.352, allocations: 4 kB / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002223/1.352, allocations: 138.1 kB / 1.366 GB, free: 32.97 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002529/1.353, allocations: 0.5153 MB / 1.367 GB, free: 32.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/1.353, allocations: 81.02 kB / 1.367 GB, free: 32.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/1.353, allocations: 0.5938 kB / 1.367 GB, free: 32.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/1.353, allocations: 5.094 kB / 1.367 GB, free: 32.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/1.353, allocations: 11.98 kB / 1.367 GB, free: 32.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.353, allocations: 4 kB / 1.367 GB, free: 32.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.327e-05/1.353, allocations: 90.48 kB / 1.367 GB, free: 32.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000857/1.354, allocations: 67.83 kB / 1.367 GB, free: 32.16 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 (16): * Single equations (assignments): 16 * 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.0004397/1.354, allocations: 200.8 kB / 1.367 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.354, allocations: 48.7 kB / 1.367 GB, free: 31.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.354, allocations: 0.5625 kB / 1.367 GB, free: 31.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/1.354, allocations: 39.94 kB / 1.368 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.354, allocations: 16.88 kB / 1.368 GB, free: 31.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/1.355, allocations: 115.9 kB / 1.368 GB, free: 31.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.355, allocations: 0.72 MB / 1.368 GB, free: 30.98 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/1.355, allocations: 0.5 kB / 1.368 GB, free: 30.98 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat does not exist to compare? outputFormat=mat