Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003747/0.003748, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7346/0.7346, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.4 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 98.45 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.502/0.5034, allocations: 88.47 MB / 0.553 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.7007, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5353/1.236, allocations: 113 MB / 0.7437 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.236, allocations: 100.7 kB / 0.7438 GB, free: 10.79 MB / 0.4948 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.00779/1.244, allocations: 2.521 MB / 0.7463 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.244, allocations: 12.17 kB / 0.7463 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/1.244, allocations: 3.906 kB / 0.7463 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.244, allocations: 160.2 kB / 0.7465 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.244, allocations: 3.844 kB / 0.7465 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/1.244, allocations: 0 / 0.7465 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.793e-05/1.244, allocations: 17.81 kB / 0.7465 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.475e-05/1.245, allocations: 34.84 kB / 0.7465 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.245, allocations: 0 / 0.7465 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/1.245, allocations: 0 / 0.7465 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.245, allocations: 4 kB / 0.7465 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/1.245, allocations: 131.2 kB / 0.7467 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/1.245, allocations: 22.23 kB / 0.7467 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/1.245, allocations: 9.531 kB / 0.7467 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/1.245, allocations: 128.2 kB / 0.7468 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.245, allocations: 31.17 kB / 0.7468 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.245, allocations: 0 / 0.7468 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/1.246, allocations: 45.45 kB / 0.7469 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.246, allocations: 59.28 kB / 0.7469 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/1.246, allocations: 93.36 kB / 0.747 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/1.246, allocations: 25.7 kB / 0.747 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/1.246, allocations: 80.94 kB / 0.7471 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/1.246, allocations: 5.438 kB / 0.7471 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/1.246, allocations: 0 / 0.7471 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.246, allocations: 318.9 kB / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/1.246, allocations: 0 / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/1.246, allocations: 3.844 kB / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/1.246, allocations: 8.609 kB / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.246, allocations: 0 / 0.7474 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.663e-05/1.246, allocations: 42.55 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.246, allocations: 8.703 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.246, allocations: 3.875 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.246, allocations: 0 / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/1.246, allocations: 4.359 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.246, allocations: 5.453 kB / 0.7475 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/1.246, allocations: 0 / 0.7475 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/1.246, allocations: 5.219 kB / 0.7475 GB, free: 25.06 MB / 0.5105 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 6.93e-05/1.246, allocations: 101.6 kB / 0.7476 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/1.246, allocations: 7.75 kB / 0.7476 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/1.246, allocations: 47.84 kB / 0.7477 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.246, allocations: 0 / 0.7477 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.246, allocations: 0 / 0.7477 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.246, allocations: 0.75 kB / 0.7477 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/1.246, allocations: 132.7 kB / 0.7478 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.246, allocations: 0 / 0.7478 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/1.247, allocations: 8.438 kB / 0.7478 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.247, allocations: 4.547 kB / 0.7478 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/1.247, allocations: 0.9375 kB / 0.7478 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.247, allocations: 4.453 kB / 0.7478 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.247, allocations: 3.844 kB / 0.7478 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.239e-05/1.247, allocations: 66.55 kB / 0.7479 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002033/1.247, allocations: 444.2 kB / 0.7483 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/1.247, allocations: 89.28 kB / 0.7484 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.247, allocations: 1.391 kB / 0.7484 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/1.247, allocations: 0.6562 kB / 0.7484 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/1.247, allocations: 0 / 0.7484 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/1.247, allocations: 0.6562 kB / 0.7484 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.29e-05/1.247, allocations: 80.17 kB / 0.7485 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008747/1.248, allocations: 57.19 kB / 0.7485 GB, free: 24.04 MB / 0.5105 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.0004393/1.248, allocations: 198.5 kB / 0.7487 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/1.248, allocations: 11.31 kB / 0.7487 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.248, allocations: 0 / 0.7487 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-06/1.248, allocations: 3.844 kB / 0.7487 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/1.249, allocations: 13.64 kB / 0.7487 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/1.249, allocations: 62.22 kB / 0.7488 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/1.249, allocations: 0.6958 MB / 0.7495 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.249, allocations: 0 / 0.7495 GB, free: 23.13 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)