Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.117/2.117, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.001187/0.001187, allocations: 190.9 kB / 490.8 MB, free: 11.23 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.618/1.618, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0014/0.0014, allocations: 90.78 kB / 0.9264 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3834/0.3849, allocations: 149.2 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/1.324, allocations: 143 MB / 1.212 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.539, allocations: 172.7 MB / 1.38 GB, free: 18.89 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.54, allocations: 108.7 kB / 1.38 GB, free: 18.79 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/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.09382/1.634, allocations: 29.86 MB / 1.41 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.634, allocations: 8 kB / 1.41 GB, free: 5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/1.634, allocations: 51.44 kB / 1.41 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/1.635, allocations: 0.6043 MB / 1.41 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/1.635, allocations: 0 / 1.41 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/1.635, allocations: 4 kB / 1.41 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/1.635, allocations: 135.9 kB / 1.41 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/1.635, allocations: 197.4 kB / 1.411 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.635, allocations: 0 / 1.411 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.635, allocations: 1.062 kB / 1.411 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.636, allocations: 4 kB / 1.411 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/1.636, allocations: 478 kB / 1.411 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/1.637, allocations: 158.5 kB / 1.411 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.637, allocations: 140.8 kB / 1.411 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/1.637, allocations: 7.906 kB / 1.411 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/1.637, allocations: 34.56 kB / 1.411 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/1.637, allocations: 0 / 1.411 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0008055/1.638, allocations: 364.8 kB / 1.412 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/1.638, allocations: 55.44 kB / 1.412 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/1.639, allocations: 0.5919 MB / 1.412 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/1.639, allocations: 25.7 kB / 1.412 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/1.639, allocations: 132.1 kB / 1.413 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/1.639, allocations: 7.188 kB / 1.413 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/1.639, allocations: 3.938 kB / 1.413 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.639, allocations: 370.7 kB / 1.413 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.639, allocations: 139.9 kB / 1.413 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.639, allocations: 139.9 kB / 1.413 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/1.64, allocations: 143.9 kB / 1.413 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.64, allocations: 0 / 1.413 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006411/1.64, allocations: 364.9 kB / 1.414 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.64, allocations: 4 kB / 1.414 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.041e-05/1.641, allocations: 12 kB / 1.414 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.641, allocations: 0 / 1.414 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-06/1.641, allocations: 3.984 kB / 1.414 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.641, allocations: 3.938 kB / 1.414 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/1.641, allocations: 28.72 kB / 1.414 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/1.641, allocations: 28 kB / 1.414 GB, free: 0.6758 MB / 0.9011 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.977e-05/1.641, allocations: 108.9 kB / 1.414 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.641, allocations: 39.44 kB / 1.414 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/1.642, allocations: 0.5798 MB / 1.414 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.642, allocations: 3.984 kB / 1.414 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.642, allocations: 0 / 1.414 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.642, allocations: 0 / 1.414 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/1.643, allocations: 373.9 kB / 1.415 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/1.643, allocations: 16.72 kB / 1.415 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/1.643, allocations: 3.984 kB / 1.415 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.643, allocations: 0 / 1.415 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/1.643, allocations: 8 kB / 1.415 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.643, allocations: 0.625 kB / 1.415 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.643, allocations: 0 / 1.415 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000814/1.644, allocations: 388.2 kB / 1.415 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001071/1.645, allocations: 0.7781 MB / 1.416 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/1.646, allocations: 344.2 kB / 1.416 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.646, allocations: 1.375 kB / 1.416 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/1.646, allocations: 28 kB / 1.416 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/1.646, allocations: 8 kB / 1.416 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/1.646, allocations: 27.47 kB / 1.416 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0007773/1.647, allocations: 0.5027 MB / 1.417 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003703/1.651, allocations: 0.7607 MB / 1.418 GB, free: 12.63 MB / 0.9167 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.004683/1.655, allocations: 1.055 MB / 1.419 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005559/1.656, allocations: 309.5 kB / 1.419 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.656, allocations: 0 / 1.419 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/1.656, allocations: 173.6 kB / 1.419 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/1.657, allocations: 45.09 kB / 1.419 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/1.659, allocations: 0.6874 MB / 1.42 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.66, allocations: 1.112 MB / 1.421 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/1.66, allocations: 0 / 1.421 GB, free: 9.312 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat