Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009989/0.0009989, allocations: 189.2 kB / 366.3 MB, free: 2 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.054/1.054, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007831/0.000783, allocations: 91.77 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.272e-06, allocations: 3.938 kB / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4659, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.6112, allocations: 139.2 MB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.6113, allocations: 68.47 kB / 1.109 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004299/0.6157, allocations: 1.201 MB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6157, allocations: 4.188 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB 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.0004753/0.6162, allocations: 443.1 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.6162, allocations: 8.031 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.6163, allocations: 7.906 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.6165, allocations: 190.9 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6165, allocations: 4 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.6165, allocations: 8 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/0.6166, allocations: 51.98 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.6168, allocations: 91.14 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.6168, allocations: 3.938 kB / 1.11 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6168, allocations: 4.547 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.6168, allocations: 0 / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6173, allocations: 321.2 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.6174, allocations: 74.55 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.6175, allocations: 56.97 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.6175, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.6177, allocations: 96.91 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.6177, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000216/0.6179, allocations: 105.6 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.618, allocations: 81.11 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.618, allocations: 112.9 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.6181, allocations: 33.7 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.6181, allocations: 92.05 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.6181, allocations: 23.73 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.6182, allocations: 0 / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.6183, allocations: 322.8 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.6183, allocations: 40.08 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.6184, allocations: 47.97 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.6185, allocations: 24.64 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6185, allocations: 0 / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001889/0.6187, allocations: 122.5 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6187, allocations: 7.984 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6187, allocations: 4 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.6187, allocations: 0 / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6189, allocations: 24.05 kB / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.6189, allocations: 0 / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.619, allocations: 37.86 kB / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.6191, allocations: 3.984 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB 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 8.884e-05/0.6192, allocations: 146.6 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.6192, allocations: 11.91 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.6192, allocations: 8.375 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6192, allocations: 0 / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6192, allocations: 3.984 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6192, allocations: 7.906 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.6194, allocations: 158.2 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6194, allocations: 0 / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.6195, allocations: 19.98 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.6195, allocations: 3.938 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6195, allocations: 11.98 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6195, allocations: 0 / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6195, allocations: 0 / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00018/0.6197, allocations: 135.4 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.6198, allocations: 81.02 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.6198, allocations: 15.98 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.62, allocations: 27.92 kB / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6201, allocations: 31.95 kB / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6201, allocations: 8 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.813e-05/0.6202, allocations: 103.5 kB / 1.113 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001981/0.6204, allocations: 20 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB 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.0001055/0.6205, allocations: 107.2 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.6207, allocations: 159.4 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.6207, allocations: 0 / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6208, allocations: 93.62 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.621, allocations: 22.7 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.6214, allocations: 144.3 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.6216, allocations: 0.7058 MB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6216, allocations: 0 / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.003343/0.625, allocations: 1.591 MB / 1.116 GB, free: 1.762 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)