Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.19/2.19, allocations: 284.9 MB / 292.2 MB, free: 9.762 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 179 kB / 360.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 0.6188 GB, free: 3.266 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.001229, allocations: 91.31 kB / 0.7318 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.315e-05, allocations: 6.25 kB / 0.8503 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5705/0.7621, allocations: 137.4 MB / 1.097 GB, free: 44.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.7624, allocations: 68.78 kB / 1.097 GB, free: 44.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.08292/0.8454, allocations: 17.08 MB / 1.114 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.8454, allocations: 3.906 kB / 1.114 GB, free: 43.29 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.001022/0.8465, allocations: 0.9555 MB / 1.115 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8465, allocations: 7.812 kB / 1.115 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.8468, allocations: 65.45 kB / 1.115 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.847, allocations: 214.6 kB / 1.115 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.847, allocations: 11.03 kB / 1.115 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.8473, allocations: 65.72 kB / 1.115 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000159/0.8474, allocations: 42.36 kB / 1.115 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.8477, allocations: 200.3 kB / 1.115 GB, free: 42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8477, allocations: 7.781 kB / 1.115 GB, free: 42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.8478, allocations: 11.22 kB / 1.115 GB, free: 42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8478, allocations: 0 / 1.115 GB, free: 42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.8489, allocations: 0.816 MB / 1.116 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.8492, allocations: 306.8 kB / 1.116 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.8494, allocations: 122.8 kB / 1.116 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.8495, allocations: 11.19 kB / 1.116 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.85, allocations: 336 kB / 1.117 GB, free: 41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.85, allocations: 11.81 kB / 1.117 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.001071/0.8511, allocations: 352.2 kB / 1.117 GB, free: 40.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.8512, allocations: 433.4 kB / 1.118 GB, free: 40.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.8515, allocations: 252.8 kB / 1.118 GB, free: 40.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.8517, allocations: 56.02 kB / 1.118 GB, free: 40.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.8519, allocations: 137.8 kB / 1.118 GB, free: 40.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.852, allocations: 87.09 kB / 1.118 GB, free: 40.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.8522, allocations: 30.66 kB / 1.118 GB, free: 40.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.8523, allocations: 349.8 kB / 1.118 GB, free: 39.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.8536, allocations: 362.2 kB / 1.119 GB, free: 39.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8551, allocations: 0.6374 MB / 1.119 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.8583, allocations: 0.5333 MB / 1.12 GB, free: 39.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8583, allocations: 3.906 kB / 1.12 GB, free: 39.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006558/0.8649, allocations: 1.256 MB / 1.121 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8649, allocations: 3.906 kB / 1.121 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.8649, allocations: 11.72 kB / 1.121 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/0.865, allocations: 15.69 kB / 1.121 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.8651, allocations: 29.42 kB / 1.121 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.8651, allocations: 20.05 kB / 1.121 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005854/0.871, allocations: 0.5905 MB / 1.122 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/0.8714, allocations: 93.56 kB / 1.122 GB, free: 39.21 MB / 0.7136 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.0004403/0.8719, allocations: 170.2 kB / 1.122 GB, free: 39.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.872, allocations: 58.55 kB / 1.122 GB, free: 39.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.8722, allocations: 35.11 kB / 1.122 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.8722, allocations: 11.8 kB / 1.122 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.8722, allocations: 3.906 kB / 1.122 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8723, allocations: 7.422 kB / 1.122 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.8729, allocations: 285.6 kB / 1.122 GB, free: 38.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.8729, allocations: 3.906 kB / 1.122 GB, free: 38.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.873, allocations: 30.27 kB / 1.122 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.873, allocations: 3.906 kB / 1.122 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.8731, allocations: 18.62 kB / 1.122 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.8731, allocations: 3.906 kB / 1.122 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.8731, allocations: 7.844 kB / 1.122 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001046/0.8742, allocations: 0.5775 MB / 1.123 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.8743, allocations: 104.5 kB / 1.123 GB, free: 38.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8744, allocations: 14.95 kB / 1.123 GB, free: 38.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.8747, allocations: 10.95 kB / 1.123 GB, free: 38.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8749, allocations: 55.3 kB / 1.123 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.875, allocations: 26.48 kB / 1.123 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002742/0.8752, allocations: 168.8 kB / 1.123 GB, free: 54.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001484/0.8767, allocations: 174.7 kB / 1.124 GB, free: 54.23 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.0002763/0.877, allocations: 142.8 kB / 1.124 GB, free: 54.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.8802, allocations: 1.1 MB / 1.125 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8802, allocations: 0 / 1.125 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.8807, allocations: 167.2 kB / 1.125 GB, free: 53.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.8821, allocations: 102.9 kB / 1.125 GB, free: 53.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.8835, allocations: 476.9 kB / 1.126 GB, free: 53.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.8842, allocations: 0.8224 MB / 1.126 GB, free: 52.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.864e-06/0.8842, allocations: 0 / 1.126 GB, free: 52.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.03034/0.9145, allocations: 9.929 MB / 1.136 GB, free: 51.75 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)