Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") [: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.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009473/0.0009472, allocations: 184.1 kB / 361.1 MB, free: 7.113 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.041/1.041, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007411/0.000741, allocations: 99.47 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.13e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4074, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5423, allocations: 142.9 MB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.5425, allocations: 76.89 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03502/0.5776, allocations: 13.73 MB / 1.117 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.145e-05/0.5777, allocations: 23.92 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001809/0.5795, allocations: 1.023 MB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5795, allocations: 8.031 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.5798, allocations: 98.88 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.5807, allocations: 0.4926 MB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.5807, allocations: 27.94 kB / 1.118 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.5808, allocations: 40 kB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008498/0.5817, allocations: 466.6 kB / 1.119 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.5825, allocations: 471.9 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5826, allocations: 4 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.5826, allocations: 3.75 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5826, allocations: 19.94 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.5858, allocations: 1.816 MB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.5868, allocations: 449 kB / 1.121 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.5871, allocations: 170.2 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.5871, allocations: 16.41 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.5876, allocations: 329 kB / 1.122 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 2.224e-06/0.5876, allocations: 0 / 1.122 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.0007514/0.5884, allocations: 435.9 kB / 1.122 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.5885, allocations: 239.8 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.5889, allocations: 361 kB / 1.123 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.5889, allocations: 29.7 kB / 1.123 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.5891, allocations: 260.3 kB / 1.123 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5892, allocations: 169.5 kB / 1.123 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5893, allocations: 3.938 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5894, allocations: 362.8 kB / 1.124 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.5897, allocations: 153.3 kB / 1.124 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.5901, allocations: 321.1 kB / 1.124 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.5904, allocations: 180.7 kB / 1.124 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5904, allocations: 0 / 1.124 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007701/0.5912, allocations: 478 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.5914, allocations: 454.8 kB / 1.125 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5914, allocations: 7.875 kB / 1.125 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5914, allocations: 4 kB / 1.125 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.592, allocations: 127.9 kB / 1.125 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.592, allocations: 4 kB / 1.125 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.5926, allocations: 127.5 kB / 1.125 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5926, allocations: 19.98 kB / 1.126 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.5927, allocations: 4 kB / 1.126 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000648/0.5933, allocations: 385.4 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5933, allocations: 4.078 kB / 1.126 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.5933, allocations: 8 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.5938, allocations: 105.5 kB / 1.126 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5938, allocations: 4 kB / 1.126 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.5944, allocations: 99.53 kB / 1.126 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5944, allocations: 19.98 kB / 1.126 GB, free: 5.387 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0001512/0.5946, allocations: 120.9 kB / 1.126 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.5946, allocations: 59.25 kB / 1.126 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009462/0.5956, allocations: 0.5062 MB / 1.127 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5956, allocations: 7.188 kB / 1.127 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5956, allocations: 0 / 1.127 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5956, allocations: 7.906 kB / 1.127 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.598, allocations: 1.555 MB / 1.128 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.598, allocations: 4 kB / 1.128 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.5985, allocations: 124.4 kB / 1.128 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.5985, allocations: 8 kB / 1.128 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.5985, allocations: 8.812 kB / 1.128 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.5985, allocations: 11.91 kB / 1.128 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5986, allocations: 7.938 kB / 1.128 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009035/0.5995, allocations: 0.9282 MB / 1.129 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.5997, allocations: 196.3 kB / 1.13 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.5998, allocations: 14.3 kB / 1.13 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.6003, allocations: 75.84 kB / 1.13 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6004, allocations: 55.88 kB / 1.13 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.6004, allocations: 27.91 kB / 1.13 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002731/0.6007, allocations: 271.2 kB / 1.13 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007766/0.6015, allocations: 254.7 kB / 1.13 GB, free: 0.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003338/0.6018, allocations: 178.3 kB / 1.13 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.6029, allocations: 0.6495 MB / 1.131 GB, free: 24 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6029, allocations: 0 / 1.131 GB, free: 24 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.6034, allocations: 264.5 kB / 1.131 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.6039, allocations: 88.33 kB / 1.131 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6058, allocations: 0.9429 MB / 1.132 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006619/0.6064, allocations: 0.997 MB / 1.133 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.6064, allocations: 0 / 1.133 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of Templates: time 0.01555/0.622, allocations: 9.85 MB / 1.143 GB, free: 4 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)