Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7467/0.7467, allocations: 141.8 MB / 149.1 MB, free: 13.96 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.8 kB / 182 MB, free: 10.52 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.3 MB / 436 MB, free: 3.148 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 97.09 kB / 0.507 GB, free: 18.1 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 275.9 kB / 0.5885 GB, free: 4.527 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.807e-06/9.067e-06, allocations: 1.375 kB / 0.6759 GB, free: 137.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1755, allocations: 82.78 MB / 0.7567 GB, free: 84.68 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.838, allocations: 375 MB / 1.123 GB, free: 5.828 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.8383, allocations: 86.58 kB / 1.123 GB, free: 5.785 MB / 0.6982 GB Notification: Performance of FrontEnd: time 7.945/8.783, allocations: 2.104 GB / 3.227 GB, free: 53.46 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.001389/8.785, allocations: 167.4 kB / 3.227 GB, free: 53.31 MB / 0.7138 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 0.01972/8.805, allocations: 5.417 MB / 3.232 GB, free: 47.88 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/8.805, allocations: 8.031 kB / 3.232 GB, free: 47.87 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/8.81, allocations: 0.7844 MB / 3.233 GB, free: 47.08 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/8.829, allocations: 7.357 MB / 3.24 GB, free: 39.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/8.829, allocations: 176 kB / 3.24 GB, free: 39.63 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/8.832, allocations: 323.9 kB / 3.241 GB, free: 39.31 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01421/8.846, allocations: 5.672 MB / 3.246 GB, free: 33.64 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/8.867, allocations: 6.749 MB / 3.253 GB, free: 26.66 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004002/8.868, allocations: 19.86 kB / 3.253 GB, free: 26.64 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002376/8.87, allocations: 8 kB / 3.253 GB, free: 26.63 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000276/8.871, allocations: 222.4 kB / 3.253 GB, free: 26.41 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4858/9.356, allocations: 29.4 MB / 3.282 GB, free: 124.8 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00511/9.362, allocations: 3.34 MB / 3.285 GB, free: 124.8 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/9.365, allocations: 2.702 MB / 3.288 GB, free: 124.8 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/9.366, allocations: 0.8305 MB / 3.288 GB, free: 123.9 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/9.366, allocations: 70.95 kB / 3.289 GB, free: 123.9 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=267): time 4.418e-06/9.366, allocations: 0 / 3.289 GB, free: 123.9 MB / 0.7138 GB Notification: Performance of matching and sorting (n=267): time 0.007388/9.373, allocations: 3.656 MB / 3.292 GB, free: 123.7 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/9.373, allocations: 76.7 kB / 3.292 GB, free: 123.7 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007758/9.381, allocations: 4 MB / 3.296 GB, free: 123.4 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009074/9.382, allocations: 29.27 kB / 3.296 GB, free: 123.4 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/9.384, allocations: 2.146 MB / 3.298 GB, free: 122.8 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/9.386, allocations: 0.9067 MB / 3.299 GB, free: 122.3 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/9.386, allocations: 0 / 3.299 GB, free: 122.3 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0002258/9.387, allocations: 461.2 kB / 3.3 GB, free: 122 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/9.389, allocations: 1.6 MB / 3.301 GB, free: 122 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/9.391, allocations: 2.843 MB / 3.304 GB, free: 120.5 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/9.395, allocations: 2.343 MB / 3.306 GB, free: 120.5 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/9.395, allocations: 13.86 kB / 3.306 GB, free: 120.5 MB / 0.7138 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00888/9.404, allocations: 5.061 MB / 3.311 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/9.404, allocations: 6.969 kB / 3.311 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-05/9.404, allocations: 41.91 kB / 3.311 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009405/9.405, allocations: 420 kB / 3.312 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/9.408, allocations: 0.8539 MB / 3.312 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/9.413, allocations: 4.985 MB / 3.317 GB, free: 117.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005939/9.419, allocations: 0.4913 MB / 3.318 GB, free: 117.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006933/9.419, allocations: 184.2 kB / 3.318 GB, free: 117.4 MB / 0.7138 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.001235/9.42, allocations: 226.1 kB / 3.318 GB, free: 117.3 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001985/9.422, allocations: 417.5 kB / 3.319 GB, free: 117.1 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/9.432, allocations: 4.065 MB / 3.323 GB, free: 116.9 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/9.432, allocations: 24.56 kB / 3.323 GB, free: 116.9 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/9.432, allocations: 12.5 kB / 3.323 GB, free: 116.9 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005616/9.437, allocations: 3.585 MB / 3.326 GB, free: 116.4 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/9.463, allocations: 9.512 MB / 3.335 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/9.464, allocations: 3.812 kB / 3.335 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/9.466, allocations: 497.3 kB / 3.336 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/9.467, allocations: 372 kB / 3.336 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004834/9.468, allocations: 48.44 kB / 3.336 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/9.473, allocations: 4.92 MB / 3.341 GB, free: 113.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/9.473, allocations: 3.781 kB / 3.341 GB, free: 113.1 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0118/9.484, allocations: 6.675 MB / 3.348 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004653/9.489, allocations: 1.115 MB / 3.349 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002313/9.492, allocations: 18.19 kB / 3.349 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005162/9.497, allocations: 230 kB / 3.349 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/9.497, allocations: 149.7 kB / 3.349 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006214/9.498, allocations: 127.5 kB / 3.349 GB, free: 111.4 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.007291/9.505, allocations: 3.053 MB / 3.352 GB, free: 111.2 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01046/9.516, allocations: 1.844 MB / 3.354 GB, free: 110.9 MB / 0.7138 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.002551/9.518, allocations: 0.7047 MB / 3.355 GB, free: 110.8 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.007583/9.526, allocations: 4.022 MB / 3.359 GB, free: 110.5 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/9.526, allocations: 3.219 kB / 3.359 GB, free: 110.5 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.003329/9.529, allocations: 1.915 MB / 3.36 GB, free: 110.3 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0138/9.543, allocations: 2.242 MB / 3.363 GB, free: 110.3 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/9.578, allocations: 10.44 MB / 3.373 GB, free: 108.4 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01235/9.59, allocations: 4.761 MB / 3.377 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of SimCode: time 2.244e-06/9.59, allocations: 0 / 3.377 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of Templates: time 0.1553/9.746, allocations: 85.55 MB / 3.461 GB, free: 103.2 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)