Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [: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.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001142/0.001142, allocations: 181.2 kB / 361.1 MB, free: 7.094 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.545/1.545, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009248/0.000925, allocations: 92.55 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.322e-05, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.678, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.418/5.096, allocations: 2.061 GB / 3.025 GB, free: 94.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.096, allocations: 83.95 kB / 3.025 GB, free: 94.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.005/6.101, allocations: 219.5 MB / 3.239 GB, free: 260.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.088e-05/6.101, allocations: 8 kB / 3.239 GB, free: 260.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001347/6.103, allocations: 0.5625 MB / 3.24 GB, free: 259.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/6.103, allocations: 12.03 kB / 3.24 GB, free: 259.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/6.103, allocations: 51.67 kB / 3.24 GB, free: 259.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/6.104, allocations: 309.4 kB / 3.24 GB, free: 259.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/6.104, allocations: 11.84 kB / 3.24 GB, free: 259.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/6.104, allocations: 8 kB / 3.24 GB, free: 259.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/6.104, allocations: 91.97 kB / 3.24 GB, free: 259.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/6.105, allocations: 157 kB / 3.241 GB, free: 258.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/6.105, allocations: 0 / 3.241 GB, free: 258.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/6.105, allocations: 0 / 3.241 GB, free: 258.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/6.105, allocations: 7.984 kB / 3.241 GB, free: 258.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/6.106, allocations: 0.7545 MB / 3.241 GB, free: 258.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/6.106, allocations: 66.55 kB / 3.241 GB, free: 258.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/6.106, allocations: 53.03 kB / 3.241 GB, free: 258 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/6.107, allocations: 194.2 kB / 3.242 GB, free: 257.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/6.107, allocations: 30.56 kB / 3.242 GB, free: 257.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.035e-06/6.107, allocations: 4 kB / 3.242 GB, free: 257.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005573/6.107, allocations: 141.3 kB / 3.242 GB, free: 257.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/6.107, allocations: 59.34 kB / 3.242 GB, free: 257.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/6.108, allocations: 188.3 kB / 3.242 GB, free: 257.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/6.108, allocations: 25.7 kB / 3.242 GB, free: 257.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/6.108, allocations: 124.2 kB / 3.242 GB, free: 257.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/6.108, allocations: 39.45 kB / 3.242 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/6.108, allocations: 0 / 3.242 GB, free: 257.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/6.108, allocations: 326.8 kB / 3.243 GB, free: 256.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/6.108, allocations: 27.98 kB / 3.243 GB, free: 256.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/6.108, allocations: 86.86 kB / 3.243 GB, free: 256.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/6.108, allocations: 39.91 kB / 3.243 GB, free: 256.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/6.108, allocations: 0 / 3.243 GB, free: 256.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/6.108, allocations: 125.3 kB / 3.243 GB, free: 256.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/6.108, allocations: 360.3 kB / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/6.108, allocations: 4 kB / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/6.108, allocations: 0 / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/6.109, allocations: 31.92 kB / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/6.109, allocations: 80 / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/6.109, allocations: 27.89 kB / 3.243 GB, free: 256.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/6.109, allocations: 11.97 kB / 3.243 GB, free: 256 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/6.109, allocations: 4 kB / 3.243 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001317/6.109, allocations: 71.84 kB / 3.243 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/6.109, allocations: 4.031 kB / 3.243 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-06/6.109, allocations: 0 / 3.243 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/6.109, allocations: 23.98 kB / 3.243 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/6.109, allocations: 7.984 kB / 3.243 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/6.109, allocations: 27.83 kB / 3.243 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/6.109, allocations: 8 kB / 3.243 GB, free: 255.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/6.11, allocations: 108.9 kB / 3.244 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/6.11, allocations: 19.72 kB / 3.244 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/6.11, allocations: 123.3 kB / 3.244 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/6.11, allocations: 0 / 3.244 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/6.11, allocations: 0 / 3.244 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.11, allocations: 0 / 3.244 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/6.11, allocations: 0.5162 MB / 3.244 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/6.11, allocations: 4.156 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/6.111, allocations: 35.92 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/6.111, allocations: 7.906 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/6.111, allocations: 4 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/6.111, allocations: 3.984 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.111, allocations: 4 kB / 3.244 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002429/6.111, allocations: 341.1 kB / 3.245 GB, free: 254.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/6.111, allocations: 105.1 kB / 3.245 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/6.111, allocations: 4 kB / 3.245 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/6.111, allocations: 27.91 kB / 3.245 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/6.111, allocations: 7.938 kB / 3.245 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/6.111, allocations: 16.17 kB / 3.245 GB, free: 254.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001054/6.111, allocations: 152.5 kB / 3.245 GB, free: 254.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006932/6.112, allocations: 159.7 kB / 3.245 GB, free: 254.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/6.114, allocations: 1.029 MB / 3.246 GB, free: 253.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002469/6.114, allocations: 125.1 kB / 3.246 GB, free: 252.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/6.114, allocations: 0 / 3.246 GB, free: 252.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/6.114, allocations: 43.92 kB / 3.246 GB, free: 252.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/6.115, allocations: 105.8 kB / 3.246 GB, free: 252.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/6.115, allocations: 294.6 kB / 3.247 GB, free: 252.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/6.116, allocations: 0.7868 MB / 3.247 GB, free: 251.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/6.116, allocations: 0 / 3.247 GB, free: 251.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01576/6.131, allocations: 8.97 MB / 3.256 GB, free: 242.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)