Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.949/1.949, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009887/0.0009886, allocations: 185.2 kB / 490.8 MB, free: 1.926 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.289/1.289, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008963/0.0008964, allocations: 113.8 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5441/0.5451, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.7867, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9226/1.709, allocations: 416.6 MB / 1.618 GB, free: 14.82 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.71, allocations: 90.36 kB / 1.619 GB, free: 14.78 MB / 1.042 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.12/8.829, allocations: 2.143 GB / 3.761 GB, free: 206.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/8.83, allocations: 8 kB / 3.761 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/8.834, allocations: 0.7882 MB / 3.762 GB, free: 205.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/8.851, allocations: 7.572 MB / 3.769 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/8.852, allocations: 179.9 kB / 3.77 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/8.854, allocations: 320 kB / 3.77 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01218/8.866, allocations: 5.668 MB / 3.775 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/8.883, allocations: 6.749 MB / 3.782 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/8.883, allocations: 19.84 kB / 3.782 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/8.885, allocations: 11.83 kB / 3.782 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/8.885, allocations: 222.4 kB / 3.782 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04359/8.929, allocations: 29.43 MB / 3.811 GB, free: 154.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/8.933, allocations: 3.339 MB / 3.814 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/8.936, allocations: 2.701 MB / 3.817 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007856/8.937, allocations: 0.8331 MB / 3.818 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/8.937, allocations: 72.67 kB / 3.818 GB, free: 147.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.358e-06/8.937, allocations: 3.938 kB / 3.818 GB, free: 147.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.006307/8.943, allocations: 3.668 MB / 3.821 GB, free: 143.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/8.943, allocations: 85.52 kB / 3.821 GB, free: 143.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006061/8.949, allocations: 4.063 MB / 3.825 GB, free: 139.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004852/8.95, allocations: 29.7 kB / 3.825 GB, free: 139.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/8.951, allocations: 2.156 MB / 3.828 GB, free: 137.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/8.953, allocations: 0.9048 MB / 3.828 GB, free: 136.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/8.953, allocations: 0 / 3.828 GB, free: 136.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001689/8.953, allocations: 457.9 kB / 3.829 GB, free: 136 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/8.955, allocations: 1.604 MB / 3.83 GB, free: 134.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/8.957, allocations: 2.845 MB / 3.833 GB, free: 131 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/8.96, allocations: 2.339 MB / 3.835 GB, free: 128.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/8.96, allocations: 12 kB / 3.835 GB, free: 128.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008346/8.969, allocations: 5.07 MB / 3.84 GB, free: 123.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/8.969, allocations: 4 kB / 3.84 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/8.969, allocations: 40 kB / 3.84 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/8.97, allocations: 421.8 kB / 3.841 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/8.973, allocations: 0.854 MB / 3.842 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/8.977, allocations: 4.972 MB / 3.847 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/8.983, allocations: 0.4958 MB / 3.847 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009023/8.984, allocations: 184 kB / 3.847 GB, free: 116.3 MB / 1.167 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.0009733/8.985, allocations: 227.4 kB / 3.847 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/8.987, allocations: 426.8 kB / 3.848 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/8.994, allocations: 4.07 MB / 3.852 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/8.994, allocations: 31.94 kB / 3.852 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/8.994, allocations: 8 kB / 3.852 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00474/8.999, allocations: 3.574 MB / 3.855 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/9.017, allocations: 9.537 MB / 3.865 GB, free: 98.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/9.017, allocations: 7.938 kB / 3.865 GB, free: 98.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/9.019, allocations: 0.4921 MB / 3.865 GB, free: 97.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/9.02, allocations: 365.4 kB / 3.866 GB, free: 97.37 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/9.02, allocations: 43.95 kB / 3.866 GB, free: 97.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004346/9.025, allocations: 4.915 MB / 3.87 GB, free: 92.18 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/9.025, allocations: 11.94 kB / 3.87 GB, free: 92.17 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008649/9.033, allocations: 6.688 MB / 3.877 GB, free: 85.14 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01124/9.045, allocations: 9.372 MB / 3.886 GB, free: 75.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/9.048, allocations: 1.124 MB / 3.887 GB, free: 74.28 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/9.049, allocations: 23.89 kB / 3.887 GB, free: 74.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/9.053, allocations: 227.3 kB / 3.887 GB, free: 74.03 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/9.053, allocations: 141.8 kB / 3.888 GB, free: 73.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/9.054, allocations: 131.9 kB / 3.888 GB, free: 73.76 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.004642/9.058, allocations: 3.112 MB / 3.891 GB, free: 70.64 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008864/9.067, allocations: 1.924 MB / 3.893 GB, free: 68.71 MB / 1.167 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.001684/9.069, allocations: 0.7016 MB / 3.893 GB, free: 68.09 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005353/9.074, allocations: 4.025 MB / 3.897 GB, free: 64.03 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/9.074, allocations: 8.438 kB / 3.897 GB, free: 64.02 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/9.076, allocations: 1.913 MB / 3.899 GB, free: 62.09 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/9.088, allocations: 2.248 MB / 3.901 GB, free: 59.89 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/9.108, allocations: 10.54 MB / 3.912 GB, free: 49.24 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005022/9.113, allocations: 4.847 MB / 3.916 GB, free: 44.36 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/9.113, allocations: 4 kB / 3.916 GB, free: 44.36 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)