Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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 9.1.1-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001025/0.001025, allocations: 181.3 kB / 487 MB, free: 5.359 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.339/1.339, allocations: 221.3 MB / 0.7819 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 96.62 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5417/0.5426, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.8152, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9821/1.797, allocations: 418.4 MB / 1.614 GB, free: 4.984 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.798, allocations: 92.31 kB / 1.614 GB, free: 4.938 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 7.56/9.358, allocations: 2.26 GB / 3.874 GB, free: 86.77 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/9.358, allocations: 9 kB / 3.874 GB, free: 86.76 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/9.363, allocations: 0.8616 MB / 3.875 GB, free: 85.89 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/9.382, allocations: 8.015 MB / 3.882 GB, free: 77.81 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/9.382, allocations: 196 kB / 3.883 GB, free: 77.62 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/9.385, allocations: 359.9 kB / 3.883 GB, free: 77.27 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0151/9.4, allocations: 6.502 MB / 3.889 GB, free: 70.75 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/9.419, allocations: 7.589 MB / 3.897 GB, free: 62.85 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002819/9.419, allocations: 15.88 kB / 3.897 GB, free: 62.83 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/9.421, allocations: 15.91 kB / 3.897 GB, free: 62.82 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/9.421, allocations: 247.5 kB / 3.897 GB, free: 62.57 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03978/9.461, allocations: 33.93 MB / 3.93 GB, free: 27.08 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/9.465, allocations: 3.965 MB / 3.934 GB, free: 23.12 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/9.469, allocations: 3.165 MB / 3.937 GB, free: 19.95 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/9.47, allocations: 0.9661 MB / 3.938 GB, free: 18.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002668/9.472, allocations: 2.245 MB / 3.94 GB, free: 16.52 MB / 1.198 GB Notification: Performance of pre-optimization done (n=317): time 4.759e-06/9.472, allocations: 0 / 3.94 GB, free: 16.52 MB / 1.198 GB Notification: Performance of matching and sorting (n=317): time 0.007192/9.479, allocations: 4.751 MB / 3.945 GB, free: 11.72 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/9.479, allocations: 89.91 kB / 3.945 GB, free: 11.62 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/9.486, allocations: 4.413 MB / 3.949 GB, free: 7.207 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005383/9.486, allocations: 29.7 kB / 3.949 GB, free: 7.172 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002542/9.489, allocations: 2.429 MB / 3.952 GB, free: 4.711 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001716/9.49, allocations: 1.074 MB / 3.953 GB, free: 3.621 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/9.491, allocations: 4 kB / 3.953 GB, free: 3.617 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002348/9.491, allocations: 491.6 kB / 3.953 GB, free: 3.129 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/9.494, allocations: 2.058 MB / 3.955 GB, free: 1.062 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4546/9.948, allocations: 3.562 MB / 3.959 GB, free: 298.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/9.953, allocations: 3.125 MB / 3.962 GB, free: 298.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/9.953, allocations: 15.81 kB / 3.962 GB, free: 298.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01185/9.965, allocations: 6.463 MB / 3.968 GB, free: 298 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/9.965, allocations: 3.125 kB / 3.968 GB, free: 298 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-05/9.965, allocations: 50.56 kB / 3.968 GB, free: 298 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/9.966, allocations: 436.7 kB / 3.968 GB, free: 298 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/9.97, allocations: 1.025 MB / 3.97 GB, free: 298 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/9.975, allocations: 5.008 MB / 3.974 GB, free: 295.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/9.981, allocations: 0.5928 MB / 3.975 GB, free: 295.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006775/9.981, allocations: 219.8 kB / 3.975 GB, free: 295.5 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.0009862/9.982, allocations: 249.6 kB / 3.975 GB, free: 295.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/9.984, allocations: 482.9 kB / 3.976 GB, free: 295.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/9.993, allocations: 5.298 MB / 3.981 GB, free: 295.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/9.993, allocations: 35.91 kB / 3.981 GB, free: 295.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/9.993, allocations: 3.812 kB / 3.981 GB, free: 295.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006174/9.999, allocations: 4.633 MB / 3.986 GB, free: 294.6 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/10.02, allocations: 11.53 MB / 3.997 GB, free: 293.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/10.02, allocations: 6.344 kB / 3.997 GB, free: 293.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/10.02, allocations: 0.6167 MB / 3.997 GB, free: 293.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008356/10.02, allocations: 367 kB / 3.998 GB, free: 293.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/10.02, allocations: 39.69 kB / 3.998 GB, free: 293.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/10.03, allocations: 4.93 MB / 4.003 GB, free: 291.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/10.03, allocations: 0 / 4.003 GB, free: 291.2 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01161/10.04, allocations: 7.96 MB / 4.01 GB, free: 290.5 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01394/10.06, allocations: 11.34 MB / 4.022 GB, free: 289.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004546/10.06, allocations: 1.263 MB / 4.023 GB, free: 289 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/10.06, allocations: 13.72 kB / 4.023 GB, free: 289 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004648/10.07, allocations: 326 kB / 4.023 GB, free: 289 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/10.07, allocations: 178 kB / 4.023 GB, free: 289 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/10.07, allocations: 137.1 kB / 4.023 GB, free: 289 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.005287/10.07, allocations: 3.362 MB / 4.027 GB, free: 288.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.009467/10.08, allocations: 2.128 MB / 4.029 GB, free: 288.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001739/10.08, allocations: 0.7957 MB / 4.03 GB, free: 288.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.00677/10.09, allocations: 5.098 MB / 4.035 GB, free: 288.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/10.09, allocations: 3.219 kB / 4.035 GB, free: 288.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/10.09, allocations: 2.399 MB / 4.037 GB, free: 288 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01446/10.11, allocations: 2.373 MB / 4.039 GB, free: 288 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/10.14, allocations: 11.75 MB / 4.051 GB, free: 286 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01/10.15, allocations: 5.238 MB / 4.056 GB, free: 285.2 MB / 1.198 GB Notification: Performance of SimCode: time 1.152e-06/10.15, allocations: 0 / 4.056 GB, free: 285.2 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)