Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") [: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.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001011/0.001011, allocations: 191.9 kB / 366.3 MB, free: 1.934 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.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 5.746 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.0007713/0.0007713, allocations: 97.39 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.898e-06/9.929e-06, allocations: 4 kB / 0.859 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4378, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5754, allocations: 138.5 MB / 1.108 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5756, allocations: 71.95 kB / 1.108 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04895/0.6246, allocations: 17.09 MB / 1.125 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6247, allocations: 4 kB / 1.125 GB, free: 8.789 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008852/0.6256, allocations: 0.9652 MB / 1.126 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6256, allocations: 11.97 kB / 1.126 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.6258, allocations: 64.38 kB / 1.126 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.6259, allocations: 207.3 kB / 1.126 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.626, allocations: 7.984 kB / 1.126 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.6261, allocations: 63.98 kB / 1.126 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.6262, allocations: 40 kB / 1.126 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.6265, allocations: 207 kB / 1.126 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6265, allocations: 4 kB / 1.126 GB, free: 7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.6265, allocations: 7.984 kB / 1.126 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6265, allocations: 0.8438 kB / 1.126 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.6274, allocations: 0.8176 MB / 1.127 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.6276, allocations: 303.4 kB / 1.127 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.6278, allocations: 132.8 kB / 1.127 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.6278, allocations: 4 kB / 1.127 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.6282, allocations: 342.8 kB / 1.128 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/0.6282, allocations: 3.984 kB / 1.128 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006347/0.6288, allocations: 353.4 kB / 1.128 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.629, allocations: 439.2 kB / 1.128 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.6292, allocations: 244.2 kB / 1.129 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.6293, allocations: 61.69 kB / 1.129 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6295, allocations: 137.3 kB / 1.129 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.6296, allocations: 82.94 kB / 1.129 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.6297, allocations: 35.98 kB / 1.129 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6298, allocations: 346.8 kB / 1.129 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006836/0.6305, allocations: 361.2 kB / 1.13 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.6313, allocations: 0.6341 MB / 1.13 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6332, allocations: 0.5345 MB / 1.131 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.6332, allocations: 7.906 kB / 1.131 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003229/0.6365, allocations: 1.252 MB / 1.132 GB, free: 360 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6365, allocations: 4 kB / 1.132 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6365, allocations: 12 kB / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.6365, allocations: 12 kB / 1.132 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.6366, allocations: 35.86 kB / 1.132 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.6366, allocations: 23.86 kB / 1.132 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6388, allocations: 0.5894 MB / 1.133 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.639, allocations: 95.86 kB / 1.133 GB, free: 15.58 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002108/0.6392, allocations: 179.5 kB / 1.133 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.6393, allocations: 43.52 kB / 1.133 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.6394, allocations: 42.23 kB / 1.133 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6394, allocations: 8.938 kB / 1.133 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6394, allocations: 4 kB / 1.133 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6394, allocations: 7.984 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.6397, allocations: 285.9 kB / 1.133 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6397, allocations: 4 kB / 1.133 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.6397, allocations: 27.92 kB / 1.133 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6398, allocations: 4 kB / 1.133 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.6398, allocations: 19.98 kB / 1.133 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6398, allocations: 7.938 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6398, allocations: 5.875 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005484/0.6404, allocations: 0.5757 MB / 1.134 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.6404, allocations: 112.6 kB / 1.134 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.6405, allocations: 15.98 kB / 1.134 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6406, allocations: 7.984 kB / 1.134 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.6407, allocations: 47.89 kB / 1.134 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.6407, allocations: 39.88 kB / 1.134 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000123/0.6408, allocations: 171.1 kB / 1.134 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000579/0.6414, allocations: 168.5 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001552/0.6416, allocations: 138.2 kB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.6429, allocations: 1.096 MB / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6429, allocations: 0 / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.6431, allocations: 164.9 kB / 1.136 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.6437, allocations: 107.3 kB / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.6444, allocations: 481.8 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.6448, allocations: 0.8188 MB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.6448, allocations: 0.5625 kB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.0131/0.6579, allocations: 9.933 MB / 1.147 GB, free: 0.9141 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)