Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [: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.354/1.354, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009038/0.0009038, allocations: 181.3 kB / 361.1 MB, free: 7.117 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.04/1.04, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007482/0.0007483, allocations: 89.7 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.112e-05, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4394, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5727, allocations: 137.5 MB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.5729, allocations: 73.03 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0496/0.6226, allocations: 17.08 MB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.6226, allocations: 4 kB / 1.115 GB, free: 1.477 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000864/0.6235, allocations: 0.9602 MB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6235, allocations: 8.531 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.6237, allocations: 64.88 kB / 1.116 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.6239, allocations: 211.3 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6239, allocations: 8 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6241, allocations: 64.03 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.6242, allocations: 35.94 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6244, allocations: 213 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6244, allocations: 0 / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.6245, allocations: 11.97 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6245, allocations: 5.031 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.6253, allocations: 0.8137 MB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.6256, allocations: 307.3 kB / 1.117 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.6257, allocations: 120.9 kB / 1.117 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.6257, allocations: 8 kB / 1.117 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.6261, allocations: 346.8 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.6261, allocations: 4 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006317/0.6267, allocations: 357 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.6269, allocations: 435.2 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.6271, allocations: 247.3 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.6273, allocations: 53.7 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6274, allocations: 138.7 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.6275, allocations: 94.91 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.6276, allocations: 28 kB / 1.119 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6278, allocations: 346.8 kB / 1.119 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.6285, allocations: 369.2 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.6293, allocations: 0.6341 MB / 1.12 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.6313, allocations: 0.5271 MB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.6313, allocations: 3.906 kB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003283/0.6346, allocations: 1.259 MB / 1.122 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6346, allocations: 8 kB / 1.122 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6346, allocations: 9.375 kB / 1.122 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.6346, allocations: 16 kB / 1.122 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.6347, allocations: 31.86 kB / 1.122 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.6347, allocations: 19.92 kB / 1.122 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.637, allocations: 0.5968 MB / 1.123 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.6372, allocations: 90.36 kB / 1.123 GB, free: 8.277 MB / 0.7292 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.0002196/0.6374, allocations: 180.7 kB / 1.123 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.6375, allocations: 39.53 kB / 1.123 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.6375, allocations: 38.23 kB / 1.123 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.6375, allocations: 11.98 kB / 1.123 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6376, allocations: 4 kB / 1.123 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.6376, allocations: 4 kB / 1.123 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.6379, allocations: 293.9 kB / 1.123 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6379, allocations: 1 kB / 1.123 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.638, allocations: 19.92 kB / 1.123 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.638, allocations: 8 kB / 1.123 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.638, allocations: 15.98 kB / 1.124 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.638, allocations: 7.938 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.638, allocations: 11.98 kB / 1.124 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000549/0.6386, allocations: 0.5837 MB / 1.124 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.6386, allocations: 108.6 kB / 1.124 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.6387, allocations: 11.98 kB / 1.124 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6388, allocations: 7.984 kB / 1.124 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.6389, allocations: 55.88 kB / 1.124 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6389, allocations: 31.89 kB / 1.124 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001297/0.6391, allocations: 179.1 kB / 1.124 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005807/0.6397, allocations: 172 kB / 1.125 GB, free: 6.305 MB / 0.7292 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.0001564/0.6398, allocations: 138 kB / 1.125 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6412, allocations: 1.094 MB / 1.126 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6412, allocations: 4.062 kB / 1.126 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.6414, allocations: 159.8 kB / 1.126 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.642, allocations: 105.6 kB / 1.126 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.6427, allocations: 489.2 kB / 1.127 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.643, allocations: 0.8208 MB / 1.127 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.643, allocations: 4 kB / 1.127 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of Templates: time 0.01338/0.6564, allocations: 9.922 MB / 1.137 GB, free: 9.688 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)