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.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",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.096/2.096, 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.001218/0.001218, allocations: 173.9 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.401/1.401, allocations: 221.4 MB / 0.7863 GB, free: 13.51 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.001039/0.001039, allocations: 96.19 kB / 0.9264 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3334/0.3345, allocations: 149.2 MB / 1.072 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/1.115, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/1.297, allocations: 151.8 MB / 1.36 GB, free: 39.74 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.297, allocations: 105.2 kB / 1.36 GB, free: 39.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00747/1.305, allocations: 2.526 MB / 1.362 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.305, allocations: 16.58 kB / 1.362 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/1.305, allocations: 2.844 kB / 1.363 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/1.305, allocations: 167 kB / 1.363 GB, free: 36.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.305, allocations: 4.562 kB / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.305, allocations: 0 / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.45e-05/1.305, allocations: 8 kB / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.189e-05/1.305, allocations: 30.8 kB / 1.363 GB, free: 36.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.305, allocations: 3.938 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/1.305, allocations: 0.625 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.305, allocations: 0 / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/1.305, allocations: 139.1 kB / 1.363 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/1.305, allocations: 23.14 kB / 1.363 GB, free: 36.65 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/1.305, allocations: 9.797 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/1.306, allocations: 128.2 kB / 1.363 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/1.306, allocations: 36.12 kB / 1.363 GB, free: 36.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.306, allocations: 0 / 1.363 GB, free: 36.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/1.306, allocations: 39.39 kB / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/1.306, allocations: 59.25 kB / 1.363 GB, free: 36.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/1.306, allocations: 89 kB / 1.363 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/1.306, allocations: 26.7 kB / 1.363 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/1.306, allocations: 88.12 kB / 1.363 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/1.306, allocations: 4 kB / 1.363 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/1.306, allocations: 1.125 kB / 1.363 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/1.306, allocations: 314.8 kB / 1.364 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/1.306, allocations: 4.938 kB / 1.364 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/1.306, allocations: 0 / 1.364 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/1.306, allocations: 9.031 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.306, allocations: 0 / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.023e-05/1.306, allocations: 38.25 kB / 1.364 GB, free: 35.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.306, allocations: 8.906 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.306, allocations: 3.438 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.306, allocations: 0.6875 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/1.306, allocations: 4 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.306, allocations: 1.844 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/1.306, allocations: 3.906 kB / 1.364 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/1.306, allocations: 0 / 1.364 GB, free: 35.73 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 (2): * Single equations (assignments): 2 * 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.834e-05/1.306, allocations: 108 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/1.306, allocations: 5.156 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/1.306, allocations: 52.91 kB / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.306, allocations: 1.156 kB / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.307, allocations: 0 / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.307, allocations: 0 / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.942e-05/1.307, allocations: 134.4 kB / 1.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.307, allocations: 0 / 1.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/1.307, allocations: 4.531 kB / 1.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.307, allocations: 0.5312 kB / 1.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.307, allocations: 3.938 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.307, allocations: 4.406 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.307, allocations: 4.469 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.956e-05/1.307, allocations: 70.75 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001149/1.307, allocations: 450.9 kB / 1.364 GB, free: 34.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/1.307, allocations: 77.61 kB / 1.365 GB, free: 34.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/1.307, allocations: 4.75 kB / 1.365 GB, free: 34.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/1.307, allocations: 0 / 1.365 GB, free: 34.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/1.307, allocations: 8.703 kB / 1.365 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/1.307, allocations: 0 / 1.365 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.156e-05/1.307, allocations: 86.2 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000851/1.308, allocations: 56.42 kB / 1.365 GB, free: 34.6 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 (2): * Single equations (assignments): 2 * 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.0004313/1.308, allocations: 198.5 kB / 1.365 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/1.308, allocations: 12.62 kB / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.308, allocations: 0.5 kB / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-06/1.308, allocations: 5 kB / 1.365 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/1.309, allocations: 4.594 kB / 1.365 GB, free: 34.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001736/1.309, allocations: 61.31 kB / 1.365 GB, free: 34.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.309, allocations: 0.688 MB / 1.366 GB, free: 33.58 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/1.309, allocations: 0 / 1.366 GB, free: 33.58 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.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_res.mat does not exist to compare? outputFormat=mat