Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 180.3 kB / 487 MB, free: 5.375 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.324/1.324, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0008999, allocations: 102.8 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6229/0.6238, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.8841, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6766/1.561, allocations: 149.4 MB / 1.351 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.561, allocations: 101.3 kB / 1.351 GB, free: 15.98 MB / 0.8073 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.005627/1.567, allocations: 1.847 MB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.567, allocations: 10.06 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/1.567, allocations: 6.984 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.812e-05/1.567, allocations: 168.3 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/1.567, allocations: 0.7188 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/1.567, allocations: 1.875 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.275e-05/1.567, allocations: 11.34 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/1.567, allocations: 40.14 kB / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/1.567, allocations: 0 / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/1.567, allocations: 0 / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.567, allocations: 4.812 kB / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/1.567, allocations: 132.1 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/1.568, allocations: 44.44 kB / 1.354 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/1.568, allocations: 17.95 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/1.568, allocations: 1.478 MB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/1.568, allocations: 40 kB / 1.355 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/1.568, allocations: 0 / 1.355 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/1.568, allocations: 46.55 kB / 1.355 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/1.569, allocations: 53 kB / 1.355 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.746e-05/1.569, allocations: 85.75 kB / 1.355 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/1.569, allocations: 25.7 kB / 1.355 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/1.569, allocations: 80.14 kB / 1.355 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/1.569, allocations: 15.03 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.569, allocations: 4 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/1.569, allocations: 317.2 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/1.569, allocations: 4.562 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/1.569, allocations: 7.188 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/1.569, allocations: 15.36 kB / 1.356 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.569, allocations: 0 / 1.356 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/1.569, allocations: 52.7 kB / 1.356 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.569, allocations: 6.75 kB / 1.356 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.569, allocations: 1.312 kB / 1.356 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.569, allocations: 4 kB / 1.356 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/1.569, allocations: 11.05 kB / 1.356 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.569, allocations: 0.5625 kB / 1.356 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/1.569, allocations: 1.75 kB / 1.356 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.569, allocations: 1.781 kB / 1.356 GB, free: 12.59 MB / 0.8073 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 5.255e-05/1.569, allocations: 108.7 kB / 1.356 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/1.569, allocations: 5.359 kB / 1.356 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/1.569, allocations: 68.84 kB / 1.356 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.569, allocations: 4.938 kB / 1.356 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.569, allocations: 0.8438 kB / 1.356 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.569, allocations: 0.5156 kB / 1.356 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.343e-05/1.57, allocations: 143.3 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.57, allocations: 0.75 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/1.57, allocations: 9.531 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.57, allocations: 0.9062 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/1.57, allocations: 0.6094 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.57, allocations: 0.6562 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.57, allocations: 0.75 kB / 1.356 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000166/1.57, allocations: 104.9 kB / 1.356 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002161/1.57, allocations: 492.4 kB / 1.357 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.57, allocations: 78.61 kB / 1.357 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.57, allocations: 1.594 kB / 1.357 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/1.57, allocations: 9.125 kB / 1.357 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/1.57, allocations: 7.297 kB / 1.357 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/1.57, allocations: 5.5 kB / 1.357 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.928e-05/1.57, allocations: 76.5 kB / 1.357 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008333/1.571, allocations: 38.86 kB / 1.357 GB, free: 11.57 MB / 0.8073 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.0005187/1.572, allocations: 182.3 kB / 1.357 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001221/1.572, allocations: 31.22 kB / 1.357 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.572, allocations: 0 / 1.357 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/1.572, allocations: 16.88 kB / 1.357 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/1.572, allocations: 0 / 1.357 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/1.572, allocations: 84.05 kB / 1.357 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/1.572, allocations: 0.6917 MB / 1.358 GB, free: 26.68 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/1.572, allocations: 0 / 1.358 GB, free: 26.68 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat does not exist to compare? outputFormat=mat