Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.573/2.573, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.002476/0.002475, allocations: 169.3 kB / 360.3 MB, free: 7.531 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.794/1.794, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001203/0.001203, allocations: 83.67 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2535/0.2548, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.8285, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.83, allocations: 406.3 MB / 1.36 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.831, allocations: 84.14 kB / 1.36 GB, free: 161.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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 10.25/12.08, allocations: 2.189 GB / 3.549 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/12.08, allocations: 10.78 kB / 3.549 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/12.08, allocations: 0.8534 MB / 3.549 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02908/12.11, allocations: 7.795 MB / 3.557 GB, free: 139 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/12.11, allocations: 195.4 kB / 3.557 GB, free: 139 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/12.12, allocations: 364.5 kB / 3.558 GB, free: 139 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02337/12.14, allocations: 6.511 MB / 3.564 GB, free: 139 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/12.18, allocations: 7.583 MB / 3.571 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000364/12.18, allocations: 26.34 kB / 3.571 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002585/12.18, allocations: 10.12 kB / 3.571 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/12.18, allocations: 178.3 kB / 3.572 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07955/12.26, allocations: 33.91 MB / 3.605 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/12.28, allocations: 3.962 MB / 3.609 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01403/12.29, allocations: 3.16 MB / 3.612 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/12.29, allocations: 0.9657 MB / 3.613 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00766/12.3, allocations: 2.249 MB / 3.615 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 7.785e-06/12.3, allocations: 0.8438 kB / 3.615 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01745/12.32, allocations: 4.743 MB / 3.619 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/12.32, allocations: 90.48 kB / 3.62 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/12.33, allocations: 4.347 MB / 3.624 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001432/12.33, allocations: 33.08 kB / 3.624 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006275/12.34, allocations: 2.415 MB / 3.626 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004987/12.35, allocations: 1.073 MB / 3.627 GB, free: 113 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/12.35, allocations: 5.625 kB / 3.627 GB, free: 113 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0007022/12.35, allocations: 494.2 kB / 3.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008407/12.36, allocations: 2.053 MB / 3.63 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009216/12.37, allocations: 3.562 MB / 3.633 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009806/12.38, allocations: 3.121 MB / 3.636 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.213e-05/12.38, allocations: 14.91 kB / 3.636 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02758/12.4, allocations: 6.454 MB / 3.643 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/12.4, allocations: 6.594 kB / 3.643 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/12.4, allocations: 48.53 kB / 3.643 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/12.41, allocations: 439.8 kB / 3.643 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/12.42, allocations: 1.026 MB / 3.644 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/12.43, allocations: 5.012 MB / 3.649 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/12.44, allocations: 0.5932 MB / 3.649 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/12.44, allocations: 218.6 kB / 3.65 GB, free: 102.4 MB / 0.9636 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.001672/12.44, allocations: 250.3 kB / 3.65 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002428/12.45, allocations: 475.2 kB / 3.65 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/12.47, allocations: 5.29 MB / 3.656 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.222e-05/12.47, allocations: 32.38 kB / 3.656 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/12.47, allocations: 2.75 kB / 3.656 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0199/12.49, allocations: 4.639 MB / 3.66 GB, free: 98.49 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05023/12.54, allocations: 11.5 MB / 3.671 GB, free: 93.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/12.54, allocations: 7.234 kB / 3.671 GB, free: 93.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009785/12.55, allocations: 0.6151 MB / 3.672 GB, free: 92.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/12.55, allocations: 370.5 kB / 3.672 GB, free: 92.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008659/12.55, allocations: 41.94 kB / 3.672 GB, free: 92.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009867/12.56, allocations: 4.919 MB / 3.677 GB, free: 87.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/12.56, allocations: 1.594 kB / 3.677 GB, free: 87.89 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02316/12.58, allocations: 7.952 MB / 3.685 GB, free: 80.91 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02837/12.61, allocations: 11.33 MB / 3.696 GB, free: 70.94 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006133/12.62, allocations: 1.26 MB / 3.697 GB, free: 69.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/12.62, allocations: 19.28 kB / 3.697 GB, free: 69.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008517/12.63, allocations: 321.7 kB / 3.698 GB, free: 69.62 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/12.63, allocations: 163.4 kB / 3.698 GB, free: 69.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007037/12.63, allocations: 146.2 kB / 3.698 GB, free: 69.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01216/12.64, allocations: 3.303 MB / 3.701 GB, free: 66.55 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01704/12.66, allocations: 2.136 MB / 3.703 GB, free: 64.43 MB / 0.9636 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.003069/12.66, allocations: 0.7798 MB / 3.704 GB, free: 63.86 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0147/12.68, allocations: 5.093 MB / 3.709 GB, free: 59.28 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/12.68, allocations: 7.781 kB / 3.709 GB, free: 59.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006138/12.68, allocations: 2.399 MB / 3.711 GB, free: 57.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0227/12.71, allocations: 2.37 MB / 3.714 GB, free: 55.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04094/12.75, allocations: 11.68 MB / 3.725 GB, free: 45.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01438/12.76, allocations: 5.209 MB / 3.73 GB, free: 41.45 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/12.76, allocations: 0 / 3.73 GB, free: 41.45 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)