Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.001275/0.001275, allocations: 178.8 kB / 7.457 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6665/0.6665, allocations: 133.5 MB / 141.4 MB, free: 4.883 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 395 MB, free: 13.87 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 99.41 kB / 477.8 MB, free: 11.17 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3163/0.3174, allocations: 88.48 MB / 0.553 GB, free: 49.9 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.8012, allocations: 82.29 MB / 0.6333 GB, free: 5.664 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.9813, allocations: 125.5 MB / 0.7559 GB, free: 12 MB / 0.5339 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.9817, allocations: 107.9 kB / 0.756 GB, free: 11.89 MB / 0.5339 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.06593/1.048, allocations: 21.42 MB / 0.7769 GB, free: 6.414 MB / 0.5496 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.048, allocations: 15.94 kB / 0.7769 GB, free: 6.398 MB / 0.5496 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/1.048, allocations: 51.28 kB / 0.777 GB, free: 6.348 MB / 0.5496 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/1.049, allocations: 0.5966 MB / 0.7776 GB, free: 5.707 MB / 0.5496 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/1.049, allocations: 0 / 0.7776 GB, free: 5.707 MB / 0.5496 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/1.049, allocations: 0 / 0.7776 GB, free: 5.707 MB / 0.5496 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002179/1.049, allocations: 139.9 kB / 0.7777 GB, free: 5.57 MB / 0.5496 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/1.049, allocations: 193.5 kB / 0.7779 GB, free: 5.375 MB / 0.5496 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.049, allocations: 7.984 kB / 0.7779 GB, free: 5.367 MB / 0.5496 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/1.049, allocations: 3.938 kB / 0.7779 GB, free: 5.363 MB / 0.5496 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.049, allocations: 3.906 kB / 0.7779 GB, free: 5.359 MB / 0.5496 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/1.05, allocations: 470 kB / 0.7783 GB, free: 4.863 MB / 0.5496 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/1.05, allocations: 158.4 kB / 0.7785 GB, free: 4.699 MB / 0.5496 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.05, allocations: 148.8 kB / 0.7786 GB, free: 4.551 MB / 0.5496 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.05, allocations: 0 / 0.7786 GB, free: 4.551 MB / 0.5496 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.05, allocations: 34.56 kB / 0.7787 GB, free: 4.508 MB / 0.5496 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.05, allocations: 0 / 0.7787 GB, free: 4.508 MB / 0.5496 GB Notification: Performance of matching and sorting (n=1): time 0.000688/1.051, allocations: 360.9 kB / 0.779 GB, free: 4.148 MB / 0.5496 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.051, allocations: 51.41 kB / 0.7791 GB, free: 4.086 MB / 0.5496 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/1.052, allocations: 0.5842 MB / 0.7796 GB, free: 3.496 MB / 0.5496 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.052, allocations: 25.7 kB / 0.7797 GB, free: 3.465 MB / 0.5496 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/1.052, allocations: 140.1 kB / 0.7798 GB, free: 3.324 MB / 0.5496 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/1.052, allocations: 3.906 kB / 0.7798 GB, free: 3.32 MB / 0.5496 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/1.052, allocations: 4.031 kB / 0.7798 GB, free: 3.316 MB / 0.5496 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.052, allocations: 366.8 kB / 0.7801 GB, free: 2.949 MB / 0.5496 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.052, allocations: 143.8 kB / 0.7803 GB, free: 2.809 MB / 0.5496 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/1.053, allocations: 135.9 kB / 0.7804 GB, free: 2.676 MB / 0.5496 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/1.053, allocations: 143.9 kB / 0.7805 GB, free: 2.535 MB / 0.5496 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.053, allocations: 0 / 0.7805 GB, free: 2.535 MB / 0.5496 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005883/1.053, allocations: 364.8 kB / 0.7809 GB, free: 2.172 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.054, allocations: 6.812 kB / 0.7809 GB, free: 2.168 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-05/1.054, allocations: 12.08 kB / 0.7809 GB, free: 2.156 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.054, allocations: 8 kB / 0.7809 GB, free: 2.148 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/1.054, allocations: 0 / 0.7809 GB, free: 2.148 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/1.054, allocations: 0 / 0.7809 GB, free: 2.148 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.054, allocations: 28 kB / 0.7809 GB, free: 2.121 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.054, allocations: 24 kB / 0.781 GB, free: 2.098 MB / 0.5496 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.093e-05/1.054, allocations: 109 kB / 0.7811 GB, free: 1.984 MB / 0.5496 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.054, allocations: 47.34 kB / 0.7811 GB, free: 1.938 MB / 0.5496 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.055, allocations: 0.5788 MB / 0.7817 GB, free: 1.348 MB / 0.5496 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.055, allocations: 4.031 kB / 0.7817 GB, free: 1.344 MB / 0.5496 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.055, allocations: 0 / 0.7817 GB, free: 1.344 MB / 0.5496 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/1.055, allocations: 0 / 0.7817 GB, free: 1.344 MB / 0.5496 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/1.056, allocations: 374 kB / 0.782 GB, free: 0.9414 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/1.056, allocations: 15.94 kB / 0.7821 GB, free: 0.9258 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/1.056, allocations: 3.938 kB / 0.7821 GB, free: 0.9219 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.056, allocations: 0 / 0.7821 GB, free: 0.9219 MB / 0.5496 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.056, allocations: 12 kB / 0.7821 GB, free: 0.9102 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.056, allocations: 7.891 kB / 0.7821 GB, free: 0.9023 MB / 0.5496 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.056, allocations: 0 / 0.7821 GB, free: 0.9023 MB / 0.5496 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006014/1.056, allocations: 388.3 kB / 0.7825 GB, free: 0.5039 MB / 0.5496 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000821/1.057, allocations: 0.774 MB / 0.7832 GB, free: 15.71 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/1.058, allocations: 340.3 kB / 0.7835 GB, free: 15.36 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/1.058, allocations: 0 / 0.7835 GB, free: 15.36 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/1.058, allocations: 32.06 kB / 0.7836 GB, free: 15.32 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/1.058, allocations: 4 kB / 0.7836 GB, free: 15.32 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.058, allocations: 28 kB / 0.7836 GB, free: 15.29 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.0005744/1.059, allocations: 0.491 MB / 0.7841 GB, free: 14.8 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.002415/1.061, allocations: 0.5226 MB / 0.7846 GB, free: 14.28 MB / 0.5652 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002125/1.063, allocations: 0.8074 MB / 0.7854 GB, free: 13.52 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.0004564/1.064, allocations: 309.5 kB / 0.7857 GB, free: 13.21 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.064, allocations: 3.938 kB / 0.7857 GB, free: 13.21 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/1.064, allocations: 177.5 kB / 0.7858 GB, free: 13.03 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/1.065, allocations: 34.09 kB / 0.7859 GB, free: 13 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/1.066, allocations: 0.6874 MB / 0.7865 GB, free: 12.28 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009814/1.067, allocations: 1.108 MB / 0.7876 GB, free: 11.14 MB / 0.5652 GB Notification: Performance of SimCode: time 5.41e-07/1.067, allocations: 0 / 0.7876 GB, free: 11.14 MB / 0.5652 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)