Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") [: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 1.6.0+build.1/package.mo): time 0.5542/0.5542, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00112/0.00112, allocations: 174.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.113/1.113, allocations: 170.5 MB / 319 MB, free: 9.43 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001896/0.001896, allocations: 112.8 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 0 / 448.5 MB, free: 2.152 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.4428, allocations: 93.9 MB / 0.5898 GB, free: 8.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4431, allocations: 79.17 kB / 0.5899 GB, free: 8.449 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004393/0.4475, allocations: 1.173 MB / 0.591 GB, free: 7.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.4475, allocations: 0 / 0.591 GB, free: 7.328 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005504/0.4481, allocations: 436 kB / 0.5914 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4481, allocations: 12.72 kB / 0.5915 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.4482, allocations: 14.56 kB / 0.5915 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.4484, allocations: 199 kB / 0.5917 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4484, allocations: 0 / 0.5917 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.4484, allocations: 8.188 kB / 0.5917 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001423/0.4486, allocations: 51.92 kB / 0.5917 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.4488, allocations: 89.66 kB / 0.5918 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4488, allocations: 0 / 0.5918 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4488, allocations: 3.984 kB / 0.5918 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4488, allocations: 4 kB / 0.5918 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.4494, allocations: 321.3 kB / 0.5921 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.4495, allocations: 82.41 kB / 0.5922 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.4496, allocations: 56.34 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.4496, allocations: 0 / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.4498, allocations: 95.38 kB / 0.5923 GB, free: 5.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4498, allocations: 0 / 0.5923 GB, free: 5.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002468/0.45, allocations: 97.58 kB / 0.5924 GB, free: 5.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.4501, allocations: 89.11 kB / 0.5925 GB, free: 5.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4502, allocations: 114.2 kB / 0.5926 GB, free: 5.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4503, allocations: 29.7 kB / 0.5927 GB, free: 5.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.4503, allocations: 96.72 kB / 0.5928 GB, free: 5.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.4504, allocations: 15.81 kB / 0.5928 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.4504, allocations: 6.516 kB / 0.5928 GB, free: 5.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4505, allocations: 318.8 kB / 0.5931 GB, free: 5.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.4506, allocations: 43.94 kB / 0.5931 GB, free: 4.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.4507, allocations: 49.02 kB / 0.5932 GB, free: 4.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.4507, allocations: 27.98 kB / 0.5932 GB, free: 4.914 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4508, allocations: 0 / 0.5932 GB, free: 4.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002043/0.451, allocations: 120.8 kB / 0.5933 GB, free: 4.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.451, allocations: 7.938 kB / 0.5933 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.451, allocations: 0 / 0.5933 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.451, allocations: 0 / 0.5933 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4512, allocations: 27.98 kB / 0.5933 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4512, allocations: 0.625 kB / 0.5933 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.4513, allocations: 31.88 kB / 0.5934 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.4514, allocations: 8 kB / 0.5934 GB, free: 4.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001144/0.4515, allocations: 139.5 kB / 0.5935 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.4515, allocations: 7.906 kB / 0.5935 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.4516, allocations: 16.48 kB / 0.5935 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4516, allocations: 0 / 0.5935 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4516, allocations: 0 / 0.5935 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4516, allocations: 0 / 0.5935 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4517, allocations: 170 kB / 0.5937 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4517, allocations: 0 / 0.5937 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4518, allocations: 27.97 kB / 0.5937 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4519, allocations: 0 / 0.5937 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4519, allocations: 4 kB / 0.5937 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4519, allocations: 0 / 0.5937 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4519, allocations: 3.938 kB / 0.5937 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001936/0.4521, allocations: 133.9 kB / 0.5939 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4522, allocations: 97 kB / 0.594 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4523, allocations: 12.88 kB / 0.594 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4524, allocations: 32.64 kB / 0.594 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4526, allocations: 35.95 kB / 0.594 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4526, allocations: 3.984 kB / 0.594 GB, free: 3.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.139e-05/0.4526, allocations: 98.52 kB / 0.5941 GB, free: 3.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.4529, allocations: 23.94 kB / 0.5942 GB, free: 3.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001371/0.453, allocations: 112.3 kB / 0.5943 GB, free: 3.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.4533, allocations: 159.3 kB / 0.5944 GB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4533, allocations: 2.344 kB / 0.5944 GB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.4534, allocations: 97.67 kB / 0.5945 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4536, allocations: 15.91 kB / 0.5945 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.454, allocations: 145.1 kB / 0.5947 GB, free: 3.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.4543, allocations: 0.7074 MB / 0.5953 GB, free: 2.555 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4543, allocations: 0 / 0.5953 GB, free: 2.555 MB / 410.7 MB Notification: Performance of Templates: time 0.003645/0.458, allocations: 1.596 MB / 0.5969 GB, free: 1.02 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)