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.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,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001143/0.001143, allocations: 180.3 kB / 487 MB, free: 5.391 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.402/1.402, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.001031/0.001031, allocations: 95.12 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5771/0.5782, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.8589, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7487/1.608, allocations: 153.7 MB / 1.355 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.608, allocations: 101.1 kB / 1.356 GB, free: 15.93 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.026/1.634, allocations: 9.602 MB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.634, allocations: 12 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/1.634, allocations: 19.72 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.634, allocations: 190.9 kB / 1.365 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/1.634, allocations: 4 kB / 1.365 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/1.634, allocations: 12 kB / 1.365 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003807/1.638, allocations: 2.539 MB / 1.368 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/1.639, allocations: 318.1 kB / 1.368 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.639, allocations: 4 kB / 1.368 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/1.639, allocations: 3.906 kB / 1.368 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/1.639, allocations: 4 kB / 1.368 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/1.639, allocations: 353.9 kB / 1.368 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/1.64, allocations: 0.5014 MB / 1.369 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/1.64, allocations: 233.2 kB / 1.369 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.642, allocations: 1.457 MB / 1.37 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.642, allocations: 38.28 kB / 1.37 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/1.642, allocations: 3.984 kB / 1.37 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.001509/1.643, allocations: 0.6122 MB / 1.371 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/1.643, allocations: 62.69 kB / 1.371 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/1.644, allocations: 128.2 kB / 1.371 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/1.644, allocations: 25.7 kB / 1.371 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/1.644, allocations: 92.3 kB / 1.371 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.644, allocations: 142.6 kB / 1.372 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/1.644, allocations: 0 / 1.372 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/1.644, allocations: 333.6 kB / 1.372 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.644, allocations: 216.1 kB / 1.372 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/1.644, allocations: 212.6 kB / 1.372 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/1.645, allocations: 313.1 kB / 1.373 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.645, allocations: 3.984 kB / 1.373 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001366/1.647, allocations: 0.6106 MB / 1.373 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.647, allocations: 8 kB / 1.373 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.647, allocations: 3.906 kB / 1.373 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.647, allocations: 0 / 1.373 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/1.647, allocations: 100.3 kB / 1.373 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.647, allocations: 0 / 1.373 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/1.647, allocations: 15.75 kB / 1.373 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/1.647, allocations: 23.69 kB / 1.373 GB, free: 2.473 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 (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 9.824e-05/1.647, allocations: 108.9 kB / 1.373 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/1.647, allocations: 19.72 kB / 1.373 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/1.65, allocations: 1.019 MB / 1.374 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.65, allocations: 4 kB / 1.374 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.65, allocations: 0 / 1.374 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/1.65, allocations: 12.89 kB / 1.374 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/1.65, allocations: 360.9 kB / 1.375 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.65, allocations: 0 / 1.375 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/1.65, allocations: 103.5 kB / 1.375 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.65, allocations: 0 / 1.375 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/1.65, allocations: 23.73 kB / 1.375 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.65, allocations: 3.938 kB / 1.375 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.65, allocations: 0.5 kB / 1.375 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001397/1.652, allocations: 0.6563 MB / 1.376 GB, free: 332 kB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001654/1.653, allocations: 1.045 MB / 1.377 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/1.653, allocations: 100.8 kB / 1.377 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/1.654, allocations: 4 kB / 1.377 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/1.654, allocations: 0 / 1.377 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/1.654, allocations: 35.77 kB / 1.377 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/1.654, allocations: 23.94 kB / 1.377 GB, free: 15.13 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.276e-05/1.654, allocations: 113.5 kB / 1.377 GB, free: 15.03 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001467/1.655, allocations: 203.3 kB / 1.377 GB, free: 14.84 MB / 0.823 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.001149/1.656, allocations: 299.2 kB / 1.377 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007831/1.657, allocations: 0.5037 MB / 1.378 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.657, allocations: 0 / 1.378 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/1.658, allocations: 281.9 kB / 1.378 GB, free: 13.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/1.658, allocations: 42.8 kB / 1.378 GB, free: 13.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/1.659, allocations: 493.8 kB / 1.379 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/1.66, allocations: 0.8288 MB / 1.379 GB, free: 12.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.66, allocations: 0 / 1.379 GB, free: 12.46 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)