Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009967/0.0009968, allocations: 197.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.064/1.064, allocations: 205.2 MB / 0.5667 GB, free: 15.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 104.1 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3248/0.3256, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.4891, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.499, allocations: 397.3 MB / 1.273 GB, free: 328.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.5, allocations: 85.81 kB / 1.273 GB, free: 328.5 MB / 0.8698 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 5.84/7.339, allocations: 2.023 GB / 3.295 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/7.339, allocations: 10.44 kB / 3.295 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/7.343, allocations: 0.7739 MB / 3.296 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/7.358, allocations: 7.347 MB / 3.303 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/7.358, allocations: 177.3 kB / 3.304 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/7.36, allocations: 326.5 kB / 3.304 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01143/7.371, allocations: 5.721 MB / 3.309 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/7.384, allocations: 6.633 MB / 3.316 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/7.384, allocations: 19.45 kB / 3.316 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/7.384, allocations: 7.719 kB / 3.316 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/7.384, allocations: 169.3 kB / 3.316 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/7.42, allocations: 28.77 MB / 3.344 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/7.424, allocations: 3.45 MB / 3.348 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/7.427, allocations: 2.714 MB / 3.35 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/7.428, allocations: 0.8327 MB / 3.351 GB, free: 190 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/7.428, allocations: 72.02 kB / 3.351 GB, free: 190 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 4.529e-06/7.428, allocations: 0 / 3.351 GB, free: 190 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.006193/7.434, allocations: 3.727 MB / 3.355 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/7.434, allocations: 82.02 kB / 3.355 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/7.44, allocations: 4.007 MB / 3.359 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005018/7.44, allocations: 29.58 kB / 3.359 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/7.442, allocations: 2.128 MB / 3.361 GB, free: 188 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/7.443, allocations: 0.9362 MB / 3.362 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/7.444, allocations: 0 / 3.362 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001695/7.444, allocations: 468 kB / 3.362 GB, free: 187 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/7.446, allocations: 1.626 MB / 3.364 GB, free: 187 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/7.448, allocations: 2.821 MB / 3.367 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/7.451, allocations: 2.416 MB / 3.369 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/7.451, allocations: 11.78 kB / 3.369 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007877/7.459, allocations: 5.161 MB / 3.374 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/7.459, allocations: 3.844 kB / 3.374 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/7.459, allocations: 43.62 kB / 3.374 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008115/7.46, allocations: 416.4 kB / 3.374 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/7.463, allocations: 0.8625 MB / 3.375 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/7.467, allocations: 4.977 MB / 3.38 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/7.472, allocations: 0.4921 MB / 3.381 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/7.472, allocations: 187.4 kB / 3.381 GB, free: 182.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.0007117/7.473, allocations: 219 kB / 3.381 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009059/7.474, allocations: 416.8 kB / 3.381 GB, free: 182 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006452/7.481, allocations: 4.143 MB / 3.385 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/7.481, allocations: 25.09 kB / 3.385 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/7.481, allocations: 7.094 kB / 3.385 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004504/7.485, allocations: 3.66 MB / 3.389 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/7.502, allocations: 9.871 MB / 3.399 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/7.502, allocations: 6.969 kB / 3.399 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/7.504, allocations: 0.4992 MB / 3.399 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007489/7.505, allocations: 372.7 kB / 3.399 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/7.505, allocations: 47.3 kB / 3.4 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/7.51, allocations: 4.919 MB / 3.404 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/7.51, allocations: 7.188 kB / 3.404 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008227/7.518, allocations: 6.913 MB / 3.411 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01039/7.528, allocations: 9.614 MB / 3.42 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003169/7.531, allocations: 1.102 MB / 3.422 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/7.533, allocations: 24.59 kB / 3.422 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/7.536, allocations: 221.9 kB / 3.422 GB, free: 174 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/7.536, allocations: 154.9 kB / 3.422 GB, free: 174 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/7.536, allocations: 123.6 kB / 3.422 GB, free: 174 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.004076/7.541, allocations: 3.058 MB / 3.425 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008557/7.549, allocations: 1.933 MB / 3.427 GB, free: 173.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * 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.001448/7.551, allocations: 0.7004 MB / 3.428 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004801/7.555, allocations: 4.078 MB / 3.432 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/7.555, allocations: 7.422 kB / 3.432 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/7.557, allocations: 1.944 MB / 3.434 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/7.568, allocations: 2.235 MB / 3.436 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/7.587, allocations: 10.76 MB / 3.446 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005122/7.592, allocations: 4.836 MB / 3.451 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.213e-06/7.592, allocations: 0 / 3.451 GB, free: 170.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)