Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001193/0.001193, allocations: 181.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.446/1.446, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009846/0.0009847, allocations: 93.58 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5934/0.5944, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.8728, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7584/1.631, allocations: 163.5 MB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.632, allocations: 107.4 kB / 1.365 GB, free: 11.42 MB / 0.8073 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.05966/1.691, allocations: 21.43 MB / 1.386 GB, free: 8.969 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.691, allocations: 12 kB / 1.386 GB, free: 8.957 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/1.691, allocations: 43.44 kB / 1.386 GB, free: 8.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/1.692, allocations: 0.5978 MB / 1.387 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/1.692, allocations: 0 / 1.387 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/1.692, allocations: 0 / 1.387 GB, free: 8.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/1.692, allocations: 143.9 kB / 1.387 GB, free: 8.199 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/1.693, allocations: 193.5 kB / 1.387 GB, free: 8.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/1.693, allocations: 0 / 1.387 GB, free: 8.004 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/1.693, allocations: 3.984 kB / 1.387 GB, free: 8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/1.693, allocations: 3.984 kB / 1.387 GB, free: 7.996 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/1.693, allocations: 484.6 kB / 1.387 GB, free: 7.527 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/1.694, allocations: 150.5 kB / 1.388 GB, free: 7.371 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.694, allocations: 144.8 kB / 1.388 GB, free: 7.227 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/1.694, allocations: 3.938 kB / 1.388 GB, free: 7.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.694, allocations: 34.56 kB / 1.388 GB, free: 7.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/1.694, allocations: 0 / 1.388 GB, free: 7.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0006803/1.695, allocations: 368.8 kB / 1.388 GB, free: 6.812 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.695, allocations: 51.41 kB / 1.388 GB, free: 6.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/1.695, allocations: 0.5824 MB / 1.389 GB, free: 6.227 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.695, allocations: 33.95 kB / 1.389 GB, free: 6.191 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/1.695, allocations: 133.9 kB / 1.389 GB, free: 6.074 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/1.696, allocations: 7.891 kB / 1.389 GB, free: 6.066 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.696, allocations: 0 / 1.389 GB, free: 6.066 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.696, allocations: 363.6 kB / 1.389 GB, free: 5.723 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.696, allocations: 139.9 kB / 1.389 GB, free: 5.586 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/1.696, allocations: 143.9 kB / 1.39 GB, free: 5.445 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/1.696, allocations: 139.9 kB / 1.39 GB, free: 5.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.696, allocations: 0 / 1.39 GB, free: 5.309 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006315/1.697, allocations: 360.9 kB / 1.39 GB, free: 4.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.697, allocations: 10.75 kB / 1.39 GB, free: 4.941 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-05/1.697, allocations: 12 kB / 1.39 GB, free: 4.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.697, allocations: 3.938 kB / 1.39 GB, free: 4.926 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/1.697, allocations: 0 / 1.39 GB, free: 4.926 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.697, allocations: 3.906 kB / 1.39 GB, free: 4.922 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/1.697, allocations: 36.09 kB / 1.39 GB, free: 4.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/1.697, allocations: 24 kB / 1.39 GB, free: 4.863 MB / 0.823 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 0.0001094/1.698, allocations: 101 kB / 1.39 GB, free: 4.758 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.698, allocations: 43.44 kB / 1.39 GB, free: 4.715 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.699, allocations: 0.5805 MB / 1.391 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.699, allocations: 3.906 kB / 1.391 GB, free: 4.164 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.699, allocations: 4 kB / 1.391 GB, free: 4.16 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.699, allocations: 0 / 1.391 GB, free: 4.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/1.699, allocations: 376.2 kB / 1.391 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/1.699, allocations: 12 kB / 1.391 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/1.699, allocations: 0 / 1.391 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.699, allocations: 0 / 1.391 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.699, allocations: 4 kB / 1.391 GB, free: 3.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.699, allocations: 0 / 1.391 GB, free: 3.777 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.699, allocations: 4 kB / 1.391 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005826/1.7, allocations: 399.2 kB / 1.392 GB, free: 3.367 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007537/1.701, allocations: 0.7731 MB / 1.392 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/1.701, allocations: 335.5 kB / 1.393 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/1.701, allocations: 0 / 1.393 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/1.702, allocations: 35.98 kB / 1.393 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/1.702, allocations: 4 kB / 1.393 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/1.702, allocations: 24 kB / 1.393 GB, free: 2.242 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005448/1.702, allocations: 0.4966 MB / 1.393 GB, free: 1.805 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002496/1.705, allocations: 0.5215 MB / 1.394 GB, free: 1.344 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 (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.002235/1.707, allocations: 0.817 MB / 1.394 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004794/1.707, allocations: 313.5 kB / 1.395 GB, free: 284 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.707, allocations: 0 / 1.395 GB, free: 284 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/1.708, allocations: 169.6 kB / 1.395 GB, free: 108 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.708, allocations: 37.81 kB / 1.395 GB, free: 92 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/1.71, allocations: 0.6864 MB / 1.396 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.711, allocations: 1.115 MB / 1.397 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.711, allocations: 0 / 1.397 GB, free: 14.26 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat