Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001147/0.001147, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.349/1.349, allocations: 205.2 MB / 0.6256 GB, free: 5.891 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.0008868/0.0008869, allocations: 90.31 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.763e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5723, allocations: 116.3 MB / 0.9725 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.7378, allocations: 143.8 MB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.7381, allocations: 80.52 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03584/0.774, allocations: 13.73 MB / 1.126 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.289e-05/0.774, allocations: 23.94 kB / 1.127 GB, free: 6.84 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.001596/0.7756, allocations: 1.027 MB / 1.128 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7757, allocations: 12.03 kB / 1.128 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.7758, allocations: 90.88 kB / 1.128 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.7767, allocations: 0.4926 MB / 1.128 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.7767, allocations: 24.66 kB / 1.128 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.7768, allocations: 44 kB / 1.128 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008118/0.7776, allocations: 462.6 kB / 1.129 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.7784, allocations: 479.9 kB / 1.129 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7785, allocations: 0 / 1.129 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.7785, allocations: 0 / 1.129 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.7785, allocations: 21.25 kB / 1.129 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.7817, allocations: 1.815 MB / 1.131 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.7827, allocations: 449 kB / 1.131 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.783, allocations: 182.1 kB / 1.131 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.783, allocations: 8.422 kB / 1.131 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.7835, allocations: 329.1 kB / 1.132 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 2.043e-06/0.7835, allocations: 0 / 1.132 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.0007792/0.7843, allocations: 439.8 kB / 1.132 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.7844, allocations: 239.8 kB / 1.132 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.7848, allocations: 357 kB / 1.133 GB, free: 180 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.7849, allocations: 29.7 kB / 1.133 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.7852, allocations: 268.2 kB / 1.133 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.7853, allocations: 165.5 kB / 1.133 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.7854, allocations: 5.297 kB / 1.133 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7856, allocations: 362.8 kB / 1.134 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.7859, allocations: 149.3 kB / 1.134 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.7863, allocations: 317.1 kB / 1.134 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.7867, allocations: 190.3 kB / 1.134 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7867, allocations: 0 / 1.134 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007765/0.7875, allocations: 486.4 kB / 1.135 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.7876, allocations: 446.8 kB / 1.135 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7877, allocations: 7.938 kB / 1.135 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7877, allocations: 4 kB / 1.135 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.7883, allocations: 131.8 kB / 1.135 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7883, allocations: 4 kB / 1.135 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.7889, allocations: 123.5 kB / 1.135 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.7889, allocations: 16 kB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.7889, allocations: 4.75 kB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006529/0.7896, allocations: 387.6 kB / 1.136 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.7896, allocations: 0 / 1.136 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.7896, allocations: 4 kB / 1.136 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.7902, allocations: 115.9 kB / 1.136 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7902, allocations: 4 kB / 1.136 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.7907, allocations: 95.53 kB / 1.136 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.7907, allocations: 20 kB / 1.136 GB, free: 12.8 MB / 0.7448 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.0001616/0.7909, allocations: 129.9 kB / 1.136 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.791, allocations: 55.25 kB / 1.136 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.7919, allocations: 0.5023 MB / 1.137 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.792, allocations: 8 kB / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.792, allocations: 0 / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.792, allocations: 7.891 kB / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.7944, allocations: 1.55 MB / 1.138 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7944, allocations: 4 kB / 1.138 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.7949, allocations: 120.3 kB / 1.138 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.7949, allocations: 8 kB / 1.138 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.7949, allocations: 15.98 kB / 1.138 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.795, allocations: 15.84 kB / 1.138 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.795, allocations: 5.688 kB / 1.138 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001024/0.796, allocations: 0.9243 MB / 1.139 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.7962, allocations: 192.3 kB / 1.139 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7964, allocations: 8 kB / 1.139 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.7968, allocations: 79.84 kB / 1.139 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.797, allocations: 55.86 kB / 1.14 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.797, allocations: 27.91 kB / 1.14 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002723/0.7973, allocations: 271.2 kB / 1.14 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007717/0.7981, allocations: 254.7 kB / 1.14 GB, free: 8.25 MB / 0.7448 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.0003683/0.7985, allocations: 193.7 kB / 1.14 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.7995, allocations: 0.6465 MB / 1.141 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7995, allocations: 4 kB / 1.141 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.8, allocations: 264.9 kB / 1.141 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.8005, allocations: 87.78 kB / 1.141 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.8025, allocations: 0.948 MB / 1.142 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/0.8033, allocations: 0.9892 MB / 1.143 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.8033, allocations: 4 kB / 1.143 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.01704/0.8203, allocations: 9.844 MB / 1.153 GB, free: 11.29 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)