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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [: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.013/2.013, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001067/0.001067, allocations: 181.3 kB / 490.8 MB, free: 1.977 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.223/1.223, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 88.67 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.542e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6777/0.8986, allocations: 172.7 MB / 1.38 GB, free: 15.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.8989, allocations: 111 kB / 1.38 GB, free: 15.55 MB / 0.823 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: Performance of FrontEnd: time 0.08793/0.9869, allocations: 28.94 MB / 1.409 GB, free: 0.543 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.9869, allocations: 7.938 kB / 1.409 GB, free: 0.5352 MB / 0.823 GB 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.002115/0.989, allocations: 0.9103 MB / 1.41 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.9891, allocations: 12.03 kB / 1.41 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.9893, allocations: 39.44 kB / 1.41 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/0.9902, allocations: 0.6113 MB / 1.41 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.9902, allocations: 0 / 1.41 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.9902, allocations: 0 / 1.41 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00021/0.9904, allocations: 143.8 kB / 1.41 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.9907, allocations: 193.5 kB / 1.41 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.9907, allocations: 0 / 1.41 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9908, allocations: 0 / 1.41 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9908, allocations: 4 kB / 1.41 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.9914, allocations: 476.3 kB / 1.411 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.9916, allocations: 154.5 kB / 1.411 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.9918, allocations: 152.7 kB / 1.411 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.9919, allocations: 0 / 1.411 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.9919, allocations: 37.81 kB / 1.411 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.9919, allocations: 0 / 1.411 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0006456/0.9925, allocations: 364.9 kB / 1.412 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.9926, allocations: 59.34 kB / 1.412 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.9933, allocations: 0.5887 MB / 1.412 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.9933, allocations: 29.7 kB / 1.412 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.9934, allocations: 133 kB / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.9934, allocations: 0 / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.9934, allocations: 0 / 1.412 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9935, allocations: 371 kB / 1.413 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.9937, allocations: 139.9 kB / 1.413 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.9939, allocations: 139.9 kB / 1.413 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.9941, allocations: 143.9 kB / 1.413 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9941, allocations: 0.9375 kB / 1.413 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000616/0.9947, allocations: 367.5 kB / 1.414 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9948, allocations: 4 kB / 1.414 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/0.9948, allocations: 12 kB / 1.414 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.9948, allocations: 0 / 1.414 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.9948, allocations: 0 / 1.414 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.9948, allocations: 4.094 kB / 1.414 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.9951, allocations: 32 kB / 1.414 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.9951, allocations: 27.91 kB / 1.414 GB, free: 11.5 MB / 0.8386 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 7.247e-05/0.9952, allocations: 104.1 kB / 1.414 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.9953, allocations: 47.38 kB / 1.414 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.9964, allocations: 0.5797 MB / 1.414 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9964, allocations: 0 / 1.414 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9964, allocations: 4 kB / 1.414 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9964, allocations: 4.031 kB / 1.414 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.9968, allocations: 375.9 kB / 1.415 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/0.9969, allocations: 19.98 kB / 1.415 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.9969, allocations: 0 / 1.415 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9969, allocations: 0 / 1.415 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.9969, allocations: 7.938 kB / 1.415 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9969, allocations: 0 / 1.415 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9969, allocations: 0 / 1.415 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005665/0.9975, allocations: 395.8 kB / 1.415 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.9979, allocations: 337.5 kB / 1.415 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.9982, allocations: 4 kB / 1.415 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.9984, allocations: 28 kB / 1.415 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.9984, allocations: 7.938 kB / 1.415 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.9985, allocations: 24 kB / 1.415 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005515/0.9991, allocations: 0.501 MB / 1.416 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002466/1.002, allocations: 0.6956 MB / 1.417 GB, free: 8.547 MB / 0.8386 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.004333/1.006, allocations: 1.047 MB / 1.418 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005396/1.006, allocations: 309.5 kB / 1.418 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.398e-05/1.006, allocations: 0 / 1.418 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/1.007, allocations: 169.6 kB / 1.418 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/1.007, allocations: 43.89 kB / 1.418 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.009, allocations: 0.6915 MB / 1.419 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.01, allocations: 1.115 MB / 1.42 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.01, allocations: 0 / 1.42 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.0296/1.039, allocations: 18.53 MB / 1.438 GB, free: 2.797 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)