Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6825/0.6825, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 185.2 kB / 164.4 MB, free: 6.914 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 399.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.56 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.794e-06/7.825e-06, allocations: 4 kB / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1587, allocations: 76.75 MB / 0.6209 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.54, allocations: 102.8 MB / 0.7213 GB, free: 9.699 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.5402, allocations: 75.95 kB / 0.7213 GB, free: 9.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004591/0.5448, allocations: 1.204 MB / 0.7225 GB, free: 8.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.5448, allocations: 4 kB / 0.7225 GB, free: 8.426 MB / 490.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.0006447/0.5455, allocations: 433.7 kB / 0.7229 GB, free: 7.945 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5455, allocations: 8.031 kB / 0.7229 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.5456, allocations: 15.84 kB / 0.723 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.5459, allocations: 196.5 kB / 0.7231 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5459, allocations: 8 kB / 0.7232 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.5459, allocations: 4.562 kB / 0.7232 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001561/0.5461, allocations: 47.98 kB / 0.7232 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.5463, allocations: 89.66 kB / 0.7233 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.5463, allocations: 0 / 0.7233 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.5463, allocations: 8 kB / 0.7233 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5463, allocations: 0 / 0.7233 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.5469, allocations: 323.3 kB / 0.7236 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.5471, allocations: 70.5 kB / 0.7237 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.5472, allocations: 48.98 kB / 0.7237 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5472, allocations: 3.984 kB / 0.7237 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.5473, allocations: 103.3 kB / 0.7238 GB, free: 6.934 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5473, allocations: 0 / 0.7238 GB, free: 6.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002405/0.5476, allocations: 101.6 kB / 0.7239 GB, free: 6.828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.5477, allocations: 89.09 kB / 0.724 GB, free: 6.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.5478, allocations: 115.7 kB / 0.7241 GB, free: 6.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.5478, allocations: 29.7 kB / 0.7241 GB, free: 6.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.5479, allocations: 91.98 kB / 0.7242 GB, free: 6.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.5479, allocations: 11.84 kB / 0.7242 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.5479, allocations: 8 kB / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.548, allocations: 322.7 kB / 0.7246 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.5481, allocations: 47.98 kB / 0.7246 GB, free: 6.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.5482, allocations: 48.67 kB / 0.7246 GB, free: 6.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.357e-05/0.5483, allocations: 23.98 kB / 0.7247 GB, free: 6.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5483, allocations: 96 / 0.7247 GB, free: 6.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000194/0.5485, allocations: 125.5 kB / 0.7248 GB, free: 5.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5485, allocations: 4 kB / 0.7248 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5485, allocations: 0 / 0.7248 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5485, allocations: 3.984 kB / 0.7248 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5487, allocations: 23.98 kB / 0.7248 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5487, allocations: 0 / 0.7248 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.5489, allocations: 35.88 kB / 0.7249 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.5489, allocations: 8 kB / 0.7249 GB, free: 5.812 MB / 490.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.00012/0.549, allocations: 138.7 kB / 0.725 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.5491, allocations: 7.906 kB / 0.725 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.5491, allocations: 12.44 kB / 0.725 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5491, allocations: 4 kB / 0.725 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5491, allocations: 0 / 0.725 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5491, allocations: 4 kB / 0.725 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.5493, allocations: 170.1 kB / 0.7252 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5493, allocations: 4 kB / 0.7252 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.5494, allocations: 15.98 kB / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.5494, allocations: 0 / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5494, allocations: 3.938 kB / 0.7252 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5494, allocations: 4 kB / 0.7252 GB, free: 5.406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5495, allocations: 4 kB / 0.7252 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002172/0.5497, allocations: 135.4 kB / 0.7253 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.5498, allocations: 85.02 kB / 0.7254 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5498, allocations: 0 / 0.7254 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.55, allocations: 35.88 kB / 0.7255 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.5501, allocations: 39.95 kB / 0.7255 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5502, allocations: 7.938 kB / 0.7255 GB, free: 5.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.595e-05/0.5502, allocations: 95.27 kB / 0.7256 GB, free: 4.977 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.5504, allocations: 28 kB / 0.7256 GB, free: 4.949 MB / 490.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.0001352/0.5506, allocations: 103.9 kB / 0.7257 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.5508, allocations: 167.3 kB / 0.7259 GB, free: 4.664 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5508, allocations: 0 / 0.7259 GB, free: 4.664 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.551, allocations: 89.69 kB / 0.726 GB, free: 4.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.5512, allocations: 15.92 kB / 0.726 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.5516, allocations: 139.5 kB / 0.7261 GB, free: 4.395 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.552, allocations: 0.7153 MB / 0.7268 GB, free: 3.652 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.552, allocations: 0 / 0.7268 GB, free: 3.652 MB / 490.7 MB Notification: Performance of Templates: time 0.003783/0.5558, allocations: 1.588 MB / 0.7284 GB, free: 2.078 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)