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.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.192/2.192, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001428/0.001428, allocations: 177.3 kB / 490.8 MB, free: 1.914 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.444/1.444, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 88.78 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7127/0.7139, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.9874, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7784/1.766, allocations: 154.5 MB / 1.363 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.766, allocations: 105.2 kB / 1.363 GB, free: 17.16 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0273/1.794, allocations: 9.601 MB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.794, allocations: 9.922 kB / 1.372 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/1.794, allocations: 20.84 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.794, allocations: 195.5 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.794, allocations: 10.31 kB / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/1.794, allocations: 9.25 kB / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00546/1.8, allocations: 2.539 MB / 1.375 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/1.8, allocations: 318.7 kB / 1.375 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.8, allocations: 0 / 1.375 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.8, allocations: 5.062 kB / 1.375 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.8, allocations: 8.156 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/1.801, allocations: 352.2 kB / 1.375 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/1.802, allocations: 0.4983 MB / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/1.802, allocations: 239.6 kB / 1.376 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.804, allocations: 1.454 MB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.804, allocations: 37.47 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/1.804, allocations: 0 / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.001926/1.806, allocations: 0.6107 MB / 1.378 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/1.806, allocations: 59.3 kB / 1.378 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.806, allocations: 121.7 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/1.806, allocations: 26.67 kB / 1.378 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/1.806, allocations: 90.81 kB / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.807, allocations: 146.1 kB / 1.379 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/1.807, allocations: 1.156 kB / 1.379 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.807, allocations: 336.9 kB / 1.379 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/1.807, allocations: 212.4 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/1.807, allocations: 209.5 kB / 1.379 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.809, allocations: 317.3 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.809, allocations: 0 / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001744/1.81, allocations: 0.6142 MB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.81, allocations: 7.75 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.81, allocations: 0.5 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.81, allocations: 10.17 kB / 1.38 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/1.811, allocations: 96.36 kB / 1.38 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.811, allocations: 2.094 kB / 1.38 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/1.811, allocations: 12.62 kB / 1.38 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/1.811, allocations: 26.42 kB / 1.38 GB, free: 28.5 MB / 0.8386 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 (43): * Single equations (assignments): 43 * 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 0.00015/1.811, allocations: 109.9 kB / 1.381 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/1.811, allocations: 16.97 kB / 1.381 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/1.814, allocations: 1.028 MB / 1.382 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.814, allocations: 9.062 kB / 1.382 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.814, allocations: 0 / 1.382 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.814, allocations: 3.984 kB / 1.382 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/1.814, allocations: 363.8 kB / 1.382 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.814, allocations: 11.84 kB / 1.382 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/1.815, allocations: 97.77 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.815, allocations: 5.344 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/1.815, allocations: 18.16 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.815, allocations: 1.312 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.815, allocations: 5.297 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001678/1.817, allocations: 0.6528 MB / 1.383 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001877/1.818, allocations: 1.042 MB / 1.384 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/1.819, allocations: 100.7 kB / 1.384 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/1.819, allocations: 0 / 1.384 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/1.819, allocations: 1.281 kB / 1.384 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/1.819, allocations: 35.2 kB / 1.384 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/1.819, allocations: 27.67 kB / 1.384 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.716e-05/1.819, allocations: 106.7 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001624/1.821, allocations: 203 kB / 1.384 GB, free: 26.81 MB / 0.8386 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 (44): * Single equations (assignments): 44 * 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.0008501/1.821, allocations: 300.4 kB / 1.384 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.822, allocations: 0.5006 MB / 1.385 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.822, allocations: 0.75 kB / 1.385 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/1.823, allocations: 290.9 kB / 1.385 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/1.823, allocations: 30.39 kB / 1.385 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/1.824, allocations: 499 kB / 1.386 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/1.825, allocations: 0.8315 MB / 1.387 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of SimCode: time 6.52e-07/1.825, allocations: 0 / 1.387 GB, free: 25.55 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)