Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4") [: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.521/1.521, 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.001573/0.001573, allocations: 189.2 kB / 361.1 MB, free: 7.102 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.515/1.515, 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.0009793/0.0009797, allocations: 90.11 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.842e-06/6.973e-06, allocations: 0 / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7104, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/5.055, allocations: 2.105 GB / 3.068 GB, free: 2.066 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/5.055, allocations: 91.14 kB / 3.069 GB, free: 1.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.372/10.43, allocations: 1.452 GB / 4.521 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000114/10.43, allocations: 43.98 kB / 4.521 GB, free: 10.63 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004702/10.43, allocations: 1.909 MB / 4.523 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/10.43, allocations: 8.031 kB / 4.523 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/10.43, allocations: 0.5521 MB / 4.523 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/10.44, allocations: 1.239 MB / 4.524 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008709/10.44, allocations: 261.8 kB / 4.525 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/10.44, allocations: 60 kB / 4.525 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001259/10.44, allocations: 0.7302 MB / 4.525 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/10.44, allocations: 1.072 MB / 4.526 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/10.44, allocations: 7.938 kB / 4.526 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/10.44, allocations: 3.984 kB / 4.526 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/10.44, allocations: 46 kB / 4.526 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/10.45, allocations: 6.529 MB / 4.533 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/10.45, allocations: 453.6 kB / 4.533 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/10.45, allocations: 193.3 kB / 4.533 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/10.45, allocations: 372.7 kB / 4.534 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/10.45, allocations: 42.78 kB / 4.534 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/10.45, allocations: 4 kB / 4.534 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.00148/10.45, allocations: 0.5141 MB / 4.534 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/10.45, allocations: 59.41 kB / 4.534 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/10.45, allocations: 0.8305 MB / 4.535 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/10.45, allocations: 25.7 kB / 4.535 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/10.45, allocations: 0.5173 MB / 4.536 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/10.45, allocations: 114.3 kB / 4.536 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/10.45, allocations: 0 / 4.536 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001743/10.45, allocations: 334 kB / 4.536 GB, free: 10 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/10.45, allocations: 193.2 kB / 4.536 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/10.45, allocations: 0.5639 MB / 4.537 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/10.46, allocations: 322.5 kB / 4.537 GB, free: 8.766 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/10.46, allocations: 4 kB / 4.537 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001352/10.46, allocations: 0.7504 MB / 4.538 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001688/10.46, allocations: 4.098 MB / 4.542 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/10.46, allocations: 12 kB / 4.542 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/10.46, allocations: 16 kB / 4.542 GB, free: 3.562 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/10.46, allocations: 215.7 kB / 4.542 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/10.46, allocations: 19.92 kB / 4.542 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/10.46, allocations: 187.2 kB / 4.542 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/10.46, allocations: 47.98 kB / 4.542 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/10.46, allocations: 0 / 4.542 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/10.46, allocations: 0.621 MB / 4.543 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/10.46, allocations: 8 kB / 4.543 GB, free: 2.473 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/10.46, allocations: 16 kB / 4.543 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/10.46, allocations: 215.9 kB / 4.543 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/10.46, allocations: 19.94 kB / 4.543 GB, free: 2.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/10.46, allocations: 155.6 kB / 4.543 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/10.46, allocations: 43.98 kB / 4.544 GB, free: 2.031 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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 0.0002154/10.46, allocations: 136.6 kB / 4.544 GB, free: 1.891 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/10.46, allocations: 122.5 kB / 4.544 GB, free: 1.77 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/10.47, allocations: 0.4976 MB / 4.544 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/10.47, allocations: 4 kB / 4.544 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/10.47, allocations: 0 / 4.544 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/10.47, allocations: 7.922 kB / 4.544 GB, free: 1.25 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5409/11.01, allocations: 1.677 MB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/11.01, allocations: 6.562 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/11.01, allocations: 105.9 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/11.01, allocations: 14.78 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/11.01, allocations: 12.44 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/11.01, allocations: 3.938 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/11.01, allocations: 3.938 kB / 4.546 GB, free: 217.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001287/11.01, allocations: 0.8444 MB / 4.547 GB, free: 216.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/11.01, allocations: 259.9 kB / 4.547 GB, free: 216.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/11.01, allocations: 3.938 kB / 4.547 GB, free: 216.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/11.01, allocations: 114.8 kB / 4.547 GB, free: 216.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/11.01, allocations: 26.19 kB / 4.547 GB, free: 216.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/11.01, allocations: 29.84 kB / 4.547 GB, free: 216.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0009225/11.01, allocations: 0.6171 MB / 4.548 GB, free: 216.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00334/11.02, allocations: 0.8263 MB / 4.549 GB, free: 216.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.005459/11.02, allocations: 3.511 MB / 4.552 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001567/11.02, allocations: 0.821 MB / 4.553 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/11.02, allocations: 3.938 kB / 4.553 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/11.02, allocations: 187.2 kB / 4.553 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/11.02, allocations: 372.9 kB / 4.553 GB, free: 215.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/11.03, allocations: 1.681 MB / 4.555 GB, free: 214.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/11.03, allocations: 1.306 MB / 4.556 GB, free: 213.9 MB / 0.9792 GB Notification: Performance of SimCode: time 7.92e-07/11.03, allocations: 0 / 4.556 GB, free: 213.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.05908/11.09, allocations: 36.5 MB / 4.592 GB, free: 213.4 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)