Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.0009551/0.0009551, allocations: 187.8 kB / 366.3 MB, free: 1.992 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.065/1.065, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0007654/0.0007653, allocations: 95.03 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.283e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4422, allocations: 116.3 MB / 0.9726 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5785, allocations: 138.5 MB / 1.108 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.5787, allocations: 75.94 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04852/0.6272, allocations: 17.08 MB / 1.125 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.6273, allocations: 4.562 kB / 1.125 GB, free: 10.98 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.0008164/0.6281, allocations: 0.9652 MB / 1.126 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.6281, allocations: 11.97 kB / 1.126 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.6283, allocations: 69.98 kB / 1.126 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.6285, allocations: 207.3 kB / 1.126 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6285, allocations: 7.984 kB / 1.126 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.6286, allocations: 66.05 kB / 1.126 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.6288, allocations: 39.94 kB / 1.126 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.629, allocations: 202.4 kB / 1.126 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.629, allocations: 7.938 kB / 1.126 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.629, allocations: 11.98 kB / 1.126 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.629, allocations: 0 / 1.126 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.6299, allocations: 0.806 MB / 1.127 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.6301, allocations: 315.3 kB / 1.127 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6303, allocations: 116.9 kB / 1.127 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.6303, allocations: 11.94 kB / 1.127 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.6306, allocations: 345.9 kB / 1.128 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.6306, allocations: 0 / 1.128 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006031/0.6313, allocations: 357.4 kB / 1.128 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.6314, allocations: 439.2 kB / 1.128 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.6316, allocations: 243.3 kB / 1.129 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.6318, allocations: 57.7 kB / 1.129 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.6319, allocations: 137.3 kB / 1.129 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.632, allocations: 90.91 kB / 1.129 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.6321, allocations: 28 kB / 1.129 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6322, allocations: 354.8 kB / 1.129 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.6329, allocations: 361.2 kB / 1.13 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.6337, allocations: 0.6302 MB / 1.13 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.6356, allocations: 0.537 MB / 1.131 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6356, allocations: 7.906 kB / 1.131 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003182/0.6388, allocations: 1.251 MB / 1.132 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6388, allocations: 4 kB / 1.132 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.6388, allocations: 20.16 kB / 1.132 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6389, allocations: 12 kB / 1.132 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.6389, allocations: 31.86 kB / 1.132 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.6389, allocations: 23.92 kB / 1.132 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.6412, allocations: 0.5851 MB / 1.133 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.6414, allocations: 95.86 kB / 1.133 GB, free: 1.77 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.000204/0.6416, allocations: 180.7 kB / 1.133 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.6417, allocations: 43.52 kB / 1.133 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.05e-05/0.6417, allocations: 38.23 kB / 1.133 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6417, allocations: 12 kB / 1.133 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.6418, allocations: 4 kB / 1.133 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6418, allocations: 5.062 kB / 1.133 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.6421, allocations: 289.8 kB / 1.133 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6421, allocations: 4 kB / 1.133 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.6421, allocations: 23.92 kB / 1.133 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.6421, allocations: 4 kB / 1.133 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.6422, allocations: 15.98 kB / 1.133 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6422, allocations: 7.984 kB / 1.133 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6422, allocations: 6.5 kB / 1.133 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000552/0.6427, allocations: 0.5765 MB / 1.134 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.6428, allocations: 112.6 kB / 1.134 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.6429, allocations: 19.98 kB / 1.134 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.643, allocations: 7.984 kB / 1.134 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.643, allocations: 47.94 kB / 1.134 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.6431, allocations: 32.83 kB / 1.134 GB, free: 148 kB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001272/0.6432, allocations: 175.1 kB / 1.134 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005633/0.6438, allocations: 172 kB / 1.134 GB, free: 15.81 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.0001655/0.644, allocations: 142.2 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.6453, allocations: 1.093 MB / 1.136 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6453, allocations: 0 / 1.136 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.6455, allocations: 169.4 kB / 1.136 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.646, allocations: 101.4 kB / 1.136 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.6468, allocations: 477.8 kB / 1.136 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.6471, allocations: 0.8209 MB / 1.137 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.6471, allocations: 0 / 1.137 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.01345/0.6606, allocations: 9.927 MB / 1.147 GB, free: 3.184 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)