Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 187 kB / 7.802 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4685/0.4685, allocations: 90.84 MB / 99.06 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 342.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009592, allocations: 93.56 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1911/0.1921, allocations: 78.45 MB / 494 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.5461, allocations: 72.29 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5926/1.139, allocations: 368 MB / 0.9124 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.139, allocations: 85.05 kB / 0.9125 GB, free: 6.062 MB / 0.5886 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 6.491/7.63, allocations: 2.143 GB / 3.055 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/7.631, allocations: 8 kB / 3.055 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/7.635, allocations: 0.7843 MB / 3.056 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2595/7.895, allocations: 7.573 MB / 3.063 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/7.895, allocations: 174.6 kB / 3.064 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009804/7.896, allocations: 323.9 kB / 3.064 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009761/7.906, allocations: 5.667 MB / 3.069 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/7.917, allocations: 6.749 MB / 3.076 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/7.917, allocations: 24.08 kB / 3.076 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005695/7.918, allocations: 7.375 kB / 3.076 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/7.918, allocations: 225.9 kB / 3.076 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/7.955, allocations: 29.41 MB / 3.105 GB, free: 93.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/7.959, allocations: 3.347 MB / 3.108 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/7.963, allocations: 2.69 MB / 3.111 GB, free: 92.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/7.964, allocations: 0.8332 MB / 3.112 GB, free: 92.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/7.964, allocations: 68.61 kB / 3.112 GB, free: 92.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=267): time 5.691e-06/7.964, allocations: 1.406 kB / 3.112 GB, free: 92.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=267): time 0.006497/7.97, allocations: 3.667 MB / 3.115 GB, free: 91.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/7.971, allocations: 84.48 kB / 3.115 GB, free: 91.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/7.977, allocations: 4.065 MB / 3.119 GB, free: 91.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005785/7.978, allocations: 29.61 kB / 3.119 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/7.979, allocations: 2.161 MB / 3.121 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/7.981, allocations: 0.9034 MB / 3.122 GB, free: 89.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/7.981, allocations: 0 / 3.122 GB, free: 89.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001694/7.981, allocations: 461.8 kB / 3.123 GB, free: 89.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/7.983, allocations: 1.603 MB / 3.124 GB, free: 89.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/7.986, allocations: 2.838 MB / 3.127 GB, free: 87.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/7.989, allocations: 2.342 MB / 3.129 GB, free: 87.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/7.989, allocations: 10.72 kB / 3.129 GB, free: 87.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007908/7.997, allocations: 5.073 MB / 3.134 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/7.997, allocations: 5.5 kB / 3.134 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.082e-05/7.997, allocations: 41.38 kB / 3.134 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008874/7.998, allocations: 427.5 kB / 3.135 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/8.001, allocations: 0.847 MB / 3.136 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/8.005, allocations: 4.993 MB / 3.141 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/8.01, allocations: 0.4902 MB / 3.141 GB, free: 84.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005087/8.011, allocations: 186.4 kB / 3.141 GB, free: 84.4 MB / 0.6198 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.0007705/8.012, allocations: 216.8 kB / 3.141 GB, free: 84.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/8.013, allocations: 428.4 kB / 3.142 GB, free: 84.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/8.019, allocations: 4.071 MB / 3.146 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/8.019, allocations: 29.72 kB / 3.146 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/8.019, allocations: 3.688 kB / 3.146 GB, free: 83.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00493/8.024, allocations: 3.582 MB / 3.149 GB, free: 83.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/8.043, allocations: 9.531 MB / 3.159 GB, free: 82.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/8.043, allocations: 7.344 kB / 3.159 GB, free: 82.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/8.045, allocations: 497.8 kB / 3.159 GB, free: 82.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/8.046, allocations: 371.9 kB / 3.159 GB, free: 82.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/8.046, allocations: 39.03 kB / 3.16 GB, free: 82.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/8.051, allocations: 4.923 MB / 3.164 GB, free: 80.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/8.051, allocations: 7.812 kB / 3.164 GB, free: 80.03 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009668/8.06, allocations: 6.699 MB / 3.171 GB, free: 78.64 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01186/8.072, allocations: 9.362 MB / 3.18 GB, free: 76.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003617/8.076, allocations: 1.127 MB / 3.181 GB, free: 76.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0014/8.077, allocations: 17.08 kB / 3.181 GB, free: 76.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/8.081, allocations: 231.8 kB / 3.181 GB, free: 76.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/8.082, allocations: 140.6 kB / 3.181 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/8.082, allocations: 129.8 kB / 3.182 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.004812/8.087, allocations: 3.112 MB / 3.185 GB, free: 76.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008749/8.095, allocations: 1.929 MB / 3.187 GB, free: 76.03 MB / 0.6198 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.001733/8.097, allocations: 0.7008 MB / 3.187 GB, free: 75.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005747/8.103, allocations: 4.019 MB / 3.191 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/8.103, allocations: 7.219 kB / 3.191 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002661/8.106, allocations: 1.913 MB / 3.193 GB, free: 75.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/8.118, allocations: 2.239 MB / 3.195 GB, free: 75.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/8.14, allocations: 10.55 MB / 3.206 GB, free: 73.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007318/8.148, allocations: 4.847 MB / 3.21 GB, free: 72.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/8.148, allocations: 2.344 kB / 3.21 GB, free: 72.64 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)