Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.1.4-maint.8.1.x/package.mo): time 1.472/1.472, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001073/0.001073, allocations: 185.2 kB / 366.3 MB, free: 1.918 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.183/1.183, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.0008522/0.0008522, allocations: 97.47 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2262/0.2271, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.7758, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.57, allocations: 404.9 MB / 1.368 GB, free: 79.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.57, allocations: 92 kB / 1.368 GB, free: 79.69 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 7.159/8.729, allocations: 2.074 GB / 3.442 GB, free: 218.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/8.729, allocations: 7.438 kB / 3.442 GB, free: 218.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/8.734, allocations: 0.7764 MB / 3.443 GB, free: 218.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/8.751, allocations: 7.345 MB / 3.45 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/8.751, allocations: 176.3 kB / 3.45 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/8.753, allocations: 327.3 kB / 3.451 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/8.766, allocations: 5.68 MB / 3.456 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/8.778, allocations: 6.736 MB / 3.463 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/8.778, allocations: 18.5 kB / 3.463 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006649/8.778, allocations: 7.062 kB / 3.463 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/8.779, allocations: 166.6 kB / 3.463 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/8.822, allocations: 29.42 MB / 3.492 GB, free: 204.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/8.827, allocations: 3.336 MB / 3.495 GB, free: 204.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/8.831, allocations: 2.704 MB / 3.498 GB, free: 204.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008687/8.832, allocations: 0.8296 MB / 3.498 GB, free: 203.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/8.832, allocations: 71.98 kB / 3.498 GB, free: 203.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 5.31e-06/8.832, allocations: 0 / 3.498 GB, free: 203.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.006711/8.838, allocations: 3.654 MB / 3.502 GB, free: 203 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/8.838, allocations: 84.84 kB / 3.502 GB, free: 202.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/8.845, allocations: 4.005 MB / 3.506 GB, free: 202.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008783/8.846, allocations: 29.48 kB / 3.506 GB, free: 202.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/8.848, allocations: 2.142 MB / 3.508 GB, free: 201.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002069/8.85, allocations: 0.9079 MB / 3.509 GB, free: 200.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/8.851, allocations: 0 / 3.509 GB, free: 200.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002305/8.851, allocations: 460.2 kB / 3.509 GB, free: 200.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/8.853, allocations: 1.608 MB / 3.511 GB, free: 200.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/8.856, allocations: 2.835 MB / 3.514 GB, free: 199 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/8.859, allocations: 2.344 MB / 3.516 GB, free: 199 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/8.859, allocations: 11.38 kB / 3.516 GB, free: 199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009182/8.868, allocations: 5.058 MB / 3.521 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/8.868, allocations: 8.125 kB / 3.521 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/8.868, allocations: 44.69 kB / 3.521 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/8.869, allocations: 422 kB / 3.521 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/8.873, allocations: 0.8471 MB / 3.522 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/8.878, allocations: 4.992 MB / 3.527 GB, free: 196 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/8.884, allocations: 0.49 MB / 3.528 GB, free: 195.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/8.885, allocations: 183 kB / 3.528 GB, free: 195.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009635/8.886, allocations: 220.7 kB / 3.528 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/8.888, allocations: 424.5 kB / 3.528 GB, free: 195.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007524/8.896, allocations: 4.049 MB / 3.532 GB, free: 195.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/8.896, allocations: 29.06 kB / 3.532 GB, free: 195.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/8.896, allocations: 7.844 kB / 3.532 GB, free: 195.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004782/8.901, allocations: 3.585 MB / 3.536 GB, free: 194.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/8.924, allocations: 9.513 MB / 3.545 GB, free: 194.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/8.924, allocations: 7.812 kB / 3.545 GB, free: 194.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/8.927, allocations: 489.1 kB / 3.546 GB, free: 194.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/8.928, allocations: 373.4 kB / 3.546 GB, free: 194 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/8.928, allocations: 44.14 kB / 3.546 GB, free: 194 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/8.933, allocations: 4.919 MB / 3.551 GB, free: 191.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/8.933, allocations: 11.41 kB / 3.551 GB, free: 191.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009977/8.943, allocations: 6.679 MB / 3.557 GB, free: 190 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0118/8.954, allocations: 9.352 MB / 3.567 GB, free: 188.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003975/8.958, allocations: 1.119 MB / 3.568 GB, free: 187.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/8.96, allocations: 16.06 kB / 3.568 GB, free: 187.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/8.964, allocations: 222.9 kB / 3.568 GB, free: 187.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/8.965, allocations: 146.7 kB / 3.568 GB, free: 187.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/8.965, allocations: 130.8 kB / 3.568 GB, free: 187.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005281/8.97, allocations: 3.059 MB / 3.571 GB, free: 187.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01178/8.982, allocations: 1.928 MB / 3.573 GB, free: 187.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/8.984, allocations: 0.7013 MB / 3.574 GB, free: 187.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006547/8.991, allocations: 4.026 MB / 3.578 GB, free: 187 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/8.991, allocations: 3.438 kB / 3.578 GB, free: 187 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/8.993, allocations: 1.92 MB / 3.579 GB, free: 186.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/9.006, allocations: 2.245 MB / 3.582 GB, free: 186.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/9.029, allocations: 10.47 MB / 3.592 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0061/9.035, allocations: 4.814 MB / 3.597 GB, free: 184 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/9.035, allocations: 0 / 3.597 GB, free: 184 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)