Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.375/1.375, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007822/0.0007821, allocations: 96.94 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2091/0.2099, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.6899, allocations: 115.3 MB / 0.9638 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.8483, allocations: 152 MB / 1.112 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.8486, allocations: 109.7 kB / 1.112 GB, free: 3.902 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213: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.07231/0.921, allocations: 27.26 MB / 1.139 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.921, allocations: 8.5 kB / 1.139 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.9212, allocations: 47.34 kB / 1.139 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.922, allocations: 0.5966 MB / 1.14 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.922, allocations: 0 / 1.14 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.922, allocations: 0 / 1.14 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002085/0.9222, allocations: 143.9 kB / 1.14 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.9225, allocations: 193.5 kB / 1.14 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9225, allocations: 0 / 1.14 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.9226, allocations: 3.906 kB / 1.14 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.9226, allocations: 1.812 kB / 1.14 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.9232, allocations: 474 kB / 1.14 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.9234, allocations: 150.5 kB / 1.141 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.9237, allocations: 153.5 kB / 1.141 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.9237, allocations: 7.938 kB / 1.141 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.9237, allocations: 30.56 kB / 1.141 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.9237, allocations: 0 / 1.141 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0006603/0.9244, allocations: 360.9 kB / 1.141 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.9244, allocations: 55.41 kB / 1.141 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.9252, allocations: 0.5841 MB / 1.142 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.9252, allocations: 25.7 kB / 1.142 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.9253, allocations: 144.1 kB / 1.142 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.9253, allocations: 4 kB / 1.142 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.9253, allocations: 0 / 1.142 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9255, allocations: 366.8 kB / 1.142 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.9256, allocations: 135.9 kB / 1.142 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.9258, allocations: 142 kB / 1.142 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.926, allocations: 143.9 kB / 1.143 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.926, allocations: 0 / 1.143 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005566/0.9266, allocations: 372.8 kB / 1.143 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9266, allocations: 4 kB / 1.143 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/0.9267, allocations: 15.98 kB / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.9267, allocations: 0 / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.9267, allocations: 0 / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.9267, allocations: 2.344 kB / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.9269, allocations: 28 kB / 1.143 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.927, allocations: 28 kB / 1.143 GB, free: 4.387 MB / 0.7448 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.443e-05/0.9271, allocations: 107 kB / 1.143 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.9272, allocations: 51.38 kB / 1.143 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.9282, allocations: 0.5769 MB / 1.144 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9283, allocations: 3.984 kB / 1.144 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9283, allocations: 3.938 kB / 1.144 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.9283, allocations: 4 kB / 1.144 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.9287, allocations: 374 kB / 1.144 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/0.9288, allocations: 8 kB / 1.144 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.9288, allocations: 4 kB / 1.144 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9288, allocations: 0 / 1.144 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.9288, allocations: 7.906 kB / 1.144 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.9288, allocations: 4.031 kB / 1.144 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9288, allocations: 5.578 kB / 1.144 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005986/0.9294, allocations: 380.4 kB / 1.145 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007029/0.9301, allocations: 0.7858 MB / 1.145 GB, free: 2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.9306, allocations: 332.3 kB / 1.146 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.9308, allocations: 2.188 kB / 1.146 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.931, allocations: 28 kB / 1.146 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.9311, allocations: 8 kB / 1.146 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.9311, allocations: 24 kB / 1.146 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0005278/0.9317, allocations: 0.4987 MB / 1.146 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002103/0.9338, allocations: 0.5188 MB / 1.147 GB, free: 0.582 MB / 0.7448 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.002518/0.9363, allocations: 0.7947 MB / 1.147 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.9368, allocations: 317.5 kB / 1.148 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9368, allocations: 1.594 kB / 1.148 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.937, allocations: 173.6 kB / 1.148 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.9372, allocations: 14.09 kB / 1.148 GB, free: 15.34 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4954/1.433, allocations: 139.8 MB / 1.284 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/1.433, allocations: 0.8351 MB / 1.285 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/1.433, allocations: 0 / 1.285 GB, free: 271.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)