Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.InfiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.111/2.111, allocations: 390.4 MB / 397.7 MB, free: 10.59 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.001266/0.001266, allocations: 173.5 kB / 490.8 MB, free: 11.14 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.586/1.586, 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.001075/0.001074, allocations: 85.23 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3739/0.375, allocations: 149.2 MB / 1.072 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/1.274, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/1.471, allocations: 149.9 MB / 1.358 GB, free: 41.62 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.471, allocations: 96.92 kB / 1.358 GB, free: 41.53 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.003781/1.475, allocations: 1.323 MB / 1.359 GB, free: 40.19 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.475, allocations: 12 kB / 1.359 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/1.475, allocations: 36.44 kB / 1.36 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/1.476, allocations: 164.9 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.476, allocations: 7.906 kB / 1.36 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/1.476, allocations: 3.984 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001388/1.476, allocations: 51.94 kB / 1.36 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/1.476, allocations: 61.53 kB / 1.36 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.476, allocations: 0.5312 kB / 1.36 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.476, allocations: 0.8438 kB / 1.36 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.476, allocations: 0 / 1.36 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/1.476, allocations: 162.9 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/1.476, allocations: 61.61 kB / 1.36 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/1.476, allocations: 29.5 kB / 1.36 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/1.476, allocations: 0 / 1.36 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/1.476, allocations: 35.34 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/1.476, allocations: 0.5625 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0003022/1.477, allocations: 74.48 kB / 1.36 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/1.477, allocations: 51.41 kB / 1.36 GB, free: 39.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/1.477, allocations: 109.7 kB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.477, allocations: 25.7 kB / 1.36 GB, free: 39.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/1.477, allocations: 80.86 kB / 1.36 GB, free: 39.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/1.477, allocations: 17.28 kB / 1.36 GB, free: 39.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.477, allocations: 0 / 1.36 GB, free: 39.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/1.477, allocations: 322.8 kB / 1.361 GB, free: 38.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/1.477, allocations: 12.64 kB / 1.361 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/1.477, allocations: 16 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/1.477, allocations: 24.53 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.477, allocations: 0.75 kB / 1.361 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002227/1.477, allocations: 73.58 kB / 1.361 GB, free: 38.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.477, allocations: 8 kB / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.477, allocations: 0 / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.477, allocations: 4.469 kB / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/1.477, allocations: 16.52 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.477, allocations: 6.578 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/1.478, allocations: 4.531 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/1.478, allocations: 6.203 kB / 1.361 GB, free: 38.61 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 7.544e-05/1.478, allocations: 109.5 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/1.478, allocations: 5 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/1.478, allocations: 86.83 kB / 1.361 GB, free: 38.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.478, allocations: 5.125 kB / 1.361 GB, free: 38.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.478, allocations: 0 / 1.361 GB, free: 38.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.478, allocations: 3.938 kB / 1.361 GB, free: 38.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/1.478, allocations: 158.7 kB / 1.361 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.478, allocations: 0.9062 kB / 1.361 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/1.478, allocations: 19.98 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.478, allocations: 0 / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.478, allocations: 0.9375 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.478, allocations: 0 / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.478, allocations: 0.5938 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002529/1.479, allocations: 112.3 kB / 1.361 GB, free: 38.07 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002872/1.479, allocations: 492.4 kB / 1.362 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/1.479, allocations: 81.02 kB / 1.362 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.479, allocations: 4.562 kB / 1.362 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/1.479, allocations: 4.578 kB / 1.362 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/1.479, allocations: 0.6875 kB / 1.362 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/1.479, allocations: 4 kB / 1.362 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.343e-05/1.479, allocations: 92.27 kB / 1.362 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007654/1.48, allocations: 20 kB / 1.362 GB, free: 37.35 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 (7): * Single equations (assignments): 7 * 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.0002462/1.48, allocations: 144.2 kB / 1.362 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001261/1.48, allocations: 49.62 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.48, allocations: 0 / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/1.48, allocations: 27.98 kB / 1.362 GB, free: 37.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/1.48, allocations: 13.08 kB / 1.362 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/1.481, allocations: 103.7 kB / 1.362 GB, free: 37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/1.481, allocations: 0.709 MB / 1.363 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/1.481, allocations: 0 / 1.363 GB, free: 36.26 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)