Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.734/2.734, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001652/0.001652, allocations: 185.2 kB / 360.3 MB, free: 7.504 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.887/1.887, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001249/0.001249, allocations: 87.53 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2708/0.2721, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5979/0.8701, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.91, allocations: 403.7 MB / 1.357 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000688/1.911, allocations: 91.28 kB / 1.357 GB, free: 163.6 MB / 0.8542 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 9.85/11.76, allocations: 2.074 GB / 3.431 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/11.76, allocations: 9.5 kB / 3.431 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006053/11.77, allocations: 0.7845 MB / 3.432 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02773/11.8, allocations: 7.35 MB / 3.439 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/11.8, allocations: 183.5 kB / 3.439 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002641/11.8, allocations: 324 kB / 3.44 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02032/11.82, allocations: 5.669 MB / 3.445 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02789/11.85, allocations: 6.739 MB / 3.452 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/11.85, allocations: 18 kB / 3.452 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/11.85, allocations: 12.78 kB / 3.452 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/11.85, allocations: 167.3 kB / 3.452 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07484/11.92, allocations: 29.39 MB / 3.481 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008648/11.93, allocations: 3.343 MB / 3.484 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006716/11.94, allocations: 2.695 MB / 3.486 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/11.94, allocations: 0.8278 MB / 3.487 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/11.94, allocations: 71.7 kB / 3.487 GB, free: 129.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.4e-06/11.94, allocations: 2.969 kB / 3.487 GB, free: 129.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01299/11.95, allocations: 3.657 MB / 3.491 GB, free: 128.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/11.95, allocations: 81.58 kB / 3.491 GB, free: 128.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01755/11.97, allocations: 3.997 MB / 3.495 GB, free: 128.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/11.97, allocations: 29.33 kB / 3.495 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003382/11.98, allocations: 2.152 MB / 3.497 GB, free: 127.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003034/11.98, allocations: 0.9005 MB / 3.498 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/11.98, allocations: 0 / 3.498 GB, free: 126.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000421/11.98, allocations: 461.4 kB / 3.498 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004894/11.98, allocations: 1.605 MB / 3.5 GB, free: 126.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/11.99, allocations: 2.839 MB / 3.503 GB, free: 124.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/12, allocations: 2.338 MB / 3.505 GB, free: 124.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.183e-05/12, allocations: 12.38 kB / 3.505 GB, free: 124.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01989/12.02, allocations: 5.065 MB / 3.51 GB, free: 124.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/12.02, allocations: 11.56 kB / 3.51 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.572e-05/12.02, allocations: 43.05 kB / 3.51 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/12.02, allocations: 421.8 kB / 3.51 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006812/12.03, allocations: 0.854 MB / 3.511 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008408/12.03, allocations: 4.976 MB / 3.516 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009344/12.04, allocations: 0.4937 MB / 3.517 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/12.05, allocations: 180.9 kB / 3.517 GB, free: 121.6 MB / 0.948 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.001251/12.05, allocations: 230 kB / 3.517 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/12.05, allocations: 419.1 kB / 3.517 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/12.06, allocations: 4.059 MB / 3.521 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-05/12.06, allocations: 28.64 kB / 3.521 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/12.06, allocations: 9.156 kB / 3.521 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01033/12.07, allocations: 3.585 MB / 3.525 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/12.1, allocations: 9.512 MB / 3.534 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/12.1, allocations: 6.844 kB / 3.534 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00495/12.11, allocations: 494.9 kB / 3.535 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/12.11, allocations: 375.6 kB / 3.535 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007501/12.11, allocations: 44.44 kB / 3.535 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007944/12.12, allocations: 4.916 MB / 3.54 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/12.12, allocations: 3.938 kB / 3.54 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0162/12.14, allocations: 6.673 MB / 3.546 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02424/12.16, allocations: 9.356 MB / 3.555 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006579/12.17, allocations: 1.127 MB / 3.557 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002806/12.17, allocations: 21.22 kB / 3.557 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007403/12.18, allocations: 223.8 kB / 3.557 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008689/12.18, allocations: 151.4 kB / 3.557 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006519/12.18, allocations: 125 kB / 3.557 GB, free: 113.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00903/12.19, allocations: 3.054 MB / 3.56 GB, free: 113.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01315/12.2, allocations: 1.927 MB / 3.562 GB, free: 113.2 MB / 0.948 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.003093/12.2, allocations: 0.6972 MB / 3.563 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01291/12.22, allocations: 4.019 MB / 3.567 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-05/12.22, allocations: 7.562 kB / 3.567 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/12.22, allocations: 1.914 MB / 3.568 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02153/12.24, allocations: 2.24 MB / 3.571 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04001/12.28, allocations: 10.47 MB / 3.581 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01169/12.3, allocations: 4.808 MB / 3.586 GB, free: 108 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/12.3, allocations: 0 / 3.586 GB, free: 108 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)