Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 9.965 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.0008883/0.0008883, allocations: 187.6 kB / 361.1 MB, free: 412 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.1 MB / 0.6195 GB, free: 2.914 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008072/0.0008072, allocations: 89.22 kB / 0.7326 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.721e-06, allocations: 1 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1622, allocations: 115.3 MB / 0.9637 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.6254, allocations: 138.2 MB / 1.099 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.6257, allocations: 70.03 kB / 1.099 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00393/0.6296, allocations: 1.202 MB / 1.1 GB, free: 32.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6296, allocations: 3.75 kB / 1.1 GB, free: 32.21 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.0004324/0.6301, allocations: 438.2 kB / 1.1 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6301, allocations: 14.75 kB / 1.1 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.6302, allocations: 13.53 kB / 1.1 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.6303, allocations: 195.7 kB / 1.1 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.6303, allocations: 0 / 1.1 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6304, allocations: 7.688 kB / 1.1 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/0.6305, allocations: 45.34 kB / 1.101 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.6306, allocations: 92.72 kB / 1.101 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6307, allocations: 0 / 1.101 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.6307, allocations: 3.125 kB / 1.101 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6307, allocations: 0 / 1.101 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.6311, allocations: 326.6 kB / 1.101 GB, free: 31.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.6313, allocations: 75.05 kB / 1.101 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.6313, allocations: 52.94 kB / 1.101 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6313, allocations: 3.875 kB / 1.101 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.6315, allocations: 89.17 kB / 1.101 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6315, allocations: 0 / 1.101 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002042/0.6317, allocations: 109.8 kB / 1.101 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.6317, allocations: 91.05 kB / 1.101 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.6318, allocations: 115 kB / 1.101 GB, free: 30.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6318, allocations: 35.89 kB / 1.101 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.6318, allocations: 94.11 kB / 1.102 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.6319, allocations: 21.44 kB / 1.102 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.6319, allocations: 0 / 1.102 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.6319, allocations: 319.4 kB / 1.102 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.632, allocations: 44.16 kB / 1.102 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.6321, allocations: 47.5 kB / 1.102 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.6321, allocations: 24.58 kB / 1.102 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6321, allocations: 0 / 1.102 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001632/0.6323, allocations: 120.7 kB / 1.102 GB, free: 30.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.6323, allocations: 7.625 kB / 1.102 GB, free: 30.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6323, allocations: 0 / 1.102 GB, free: 30.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.6323, allocations: 0 / 1.102 GB, free: 30.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6325, allocations: 23.12 kB / 1.102 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.6325, allocations: 0 / 1.102 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.6326, allocations: 34.48 kB / 1.102 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6327, allocations: 5.562 kB / 1.102 GB, free: 30.48 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 6.758e-05/0.6327, allocations: 143.8 kB / 1.102 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.6328, allocations: 11.41 kB / 1.102 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.6328, allocations: 8.188 kB / 1.102 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6328, allocations: 3.984 kB / 1.102 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6328, allocations: 0 / 1.102 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6328, allocations: 3.562 kB / 1.102 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.3e-05/0.6329, allocations: 168.3 kB / 1.103 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6329, allocations: 4 kB / 1.103 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.633, allocations: 14.91 kB / 1.103 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.633, allocations: 11.25 kB / 1.103 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.633, allocations: 6.312 kB / 1.103 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.633, allocations: 3.938 kB / 1.103 GB, free: 30.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.633, allocations: 0 / 1.103 GB, free: 30.15 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001579/0.6332, allocations: 141.4 kB / 1.103 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.6332, allocations: 81.02 kB / 1.103 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.6333, allocations: 3.875 kB / 1.103 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.6334, allocations: 34.89 kB / 1.103 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6335, allocations: 37.78 kB / 1.103 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.6335, allocations: 1.75 kB / 1.103 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.341e-05/0.6336, allocations: 96.34 kB / 1.103 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001933/0.6338, allocations: 23 kB / 1.103 GB, free: 29.9 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.0001033/0.6339, allocations: 111.5 kB / 1.103 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.6341, allocations: 165.2 kB / 1.103 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.6341, allocations: 3.875 kB / 1.103 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.6342, allocations: 90.44 kB / 1.103 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.6344, allocations: 5.875 kB / 1.103 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.6347, allocations: 154.7 kB / 1.103 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.635, allocations: 0.7021 MB / 1.104 GB, free: 44.92 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.635, allocations: 7.875 kB / 1.104 GB, free: 44.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.003029/0.638, allocations: 1.591 MB / 1.106 GB, free: 44.79 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)