Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.169/2.169, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.001609, allocations: 191.6 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.2 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 101.8 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.957e-06, allocations: 0 / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5356/0.5357, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.7388, allocations: 138 MB / 1.098 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.7391, allocations: 72.61 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006973/0.7461, allocations: 1.205 MB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.7462, allocations: 0 / 1.099 GB, free: 1.574 MB / 0.698 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.0007628/0.7469, allocations: 442.2 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.747, allocations: 16.59 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.747, allocations: 15.89 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.7473, allocations: 191.5 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.7473, allocations: 4 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.7474, allocations: 4 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/0.7476, allocations: 51.98 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.7478, allocations: 85.66 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7479, allocations: 0.7969 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.7479, allocations: 4 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.7479, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.7487, allocations: 333.1 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.7489, allocations: 70.56 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.749, allocations: 48.98 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.7491, allocations: 0 / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.7493, allocations: 95.94 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.7493, allocations: 0 / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0003616/0.7497, allocations: 106.8 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.7498, allocations: 89.12 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.7499, allocations: 119.9 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.7499, allocations: 29.7 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.75, allocations: 88.05 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.7501, allocations: 28.38 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.7501, allocations: 4 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7502, allocations: 314.8 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.7504, allocations: 43.98 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.7505, allocations: 49.95 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.7506, allocations: 27.98 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7507, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003244/0.751, allocations: 117.5 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.751, allocations: 4.781 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.751, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7511, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7513, allocations: 31.97 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.7513, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.7516, allocations: 27.89 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.7517, allocations: 8.656 kB / 1.101 GB, free: 14.96 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 0.0001448/0.7518, allocations: 150.9 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.7518, allocations: 7.906 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.7519, allocations: 12.38 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7519, allocations: 1.125 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7519, allocations: 0.8438 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7519, allocations: 3.906 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.7522, allocations: 169.9 kB / 1.101 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7522, allocations: 0 / 1.101 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.7524, allocations: 19.98 kB / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.7524, allocations: 3.938 kB / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.7524, allocations: 8 kB / 1.101 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7524, allocations: 1.562 kB / 1.101 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7524, allocations: 0 / 1.101 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003053/0.7527, allocations: 139.4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.7528, allocations: 85.02 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.7529, allocations: 4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.7532, allocations: 31.97 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7533, allocations: 36.52 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.7534, allocations: 5.188 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.75e-05/0.7535, allocations: 99.2 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002882/0.7538, allocations: 24 kB / 1.102 GB, free: 14.1 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.000146/0.7539, allocations: 103.2 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.7543, allocations: 161.6 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7543, allocations: 4 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.7545, allocations: 93.62 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7548, allocations: 21.44 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.7553, allocations: 141.5 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.7557, allocations: 0.7075 MB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.7557, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.005312/0.761, allocations: 1.597 MB / 1.105 GB, free: 11.28 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)