Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.248/2.248, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 185.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001341/0.00134, allocations: 98.73 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.036e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2277, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.669/0.8968, allocations: 132.7 MB / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.8972, allocations: 69.84 kB / 1.018 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007727/0.9049, allocations: 1.212 MB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.905, allocations: 0 / 1.019 GB, free: 4.582 MB / 0.6355 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.0008531/0.9059, allocations: 435.8 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9059, allocations: 8.031 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.906, allocations: 19.16 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.9063, allocations: 185.8 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.9064, allocations: 4 kB / 1.02 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.9064, allocations: 11.98 kB / 1.02 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002177/0.9066, allocations: 48.97 kB / 1.02 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.9069, allocations: 94.14 kB / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9069, allocations: 0 / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.907, allocations: 4 kB / 1.02 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.907, allocations: 0 / 1.02 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.9078, allocations: 325.2 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.9081, allocations: 76.36 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.9082, allocations: 54.28 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.9083, allocations: 0 / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.9085, allocations: 94.19 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.9085, allocations: 0 / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000427/0.909, allocations: 102.8 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.9091, allocations: 88.23 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.9092, allocations: 122.1 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.9093, allocations: 29.7 kB / 1.021 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.9093, allocations: 87.75 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.9094, allocations: 22.69 kB / 1.021 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.9094, allocations: 4 kB / 1.021 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9096, allocations: 318.6 kB / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.9097, allocations: 45.81 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.9099, allocations: 51.92 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.91, allocations: 23.83 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.91, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003577/0.9104, allocations: 129.1 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9104, allocations: 7.938 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.9104, allocations: 0 / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9104, allocations: 0 / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.9107, allocations: 24.67 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.9107, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.9111, allocations: 31.97 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.9111, allocations: 4 kB / 1.021 GB, free: 2.18 MB / 0.6355 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.0001885/0.9113, allocations: 141.7 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.9113, allocations: 7.906 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.9114, allocations: 16.3 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9114, allocations: 64 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.9114, allocations: 4 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9115, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.9117, allocations: 159.6 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9117, allocations: 0 / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.9119, allocations: 26.61 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.9119, allocations: 7.891 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.9119, allocations: 0 / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.912, allocations: 4 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.912, allocations: 3.938 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004073/0.9124, allocations: 133.1 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.9125, allocations: 88.94 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.9125, allocations: 4 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.9129, allocations: 27.98 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.9131, allocations: 38.39 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.9131, allocations: 7.984 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.767e-05/0.9132, allocations: 92.22 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003158/0.9135, allocations: 31.09 kB / 1.022 GB, free: 1.375 MB / 0.6355 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.000187/0.9137, allocations: 103.2 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.9142, allocations: 160.1 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9142, allocations: 4 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.9144, allocations: 97.23 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.9147, allocations: 8 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.9154, allocations: 156.3 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.9158, allocations: 0.7035 MB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/0.9158, allocations: 11.94 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of Templates: time 0.006229/0.922, allocations: 1.595 MB / 1.025 GB, free: 14.57 MB / 0.6511 GB