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.Pulse.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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [: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.349/1.349, 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.001034/0.001034, allocations: 185.3 kB / 361.1 MB, free: 7.078 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.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007465/0.0007465, allocations: 93.59 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.075e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4056, allocations: 115.3 MB / 0.9637 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.537, allocations: 137.5 MB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.5372, allocations: 74.12 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.04981/0.587, allocations: 17.09 MB / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5871, allocations: 4 kB / 1.115 GB, free: 1.496 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.0008172/0.5879, allocations: 0.9602 MB / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5879, allocations: 8.031 kB / 1.116 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.5881, allocations: 65.69 kB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.5883, allocations: 207.3 kB / 1.116 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.5883, allocations: 4 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5885, allocations: 63.98 kB / 1.116 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001093/0.5886, allocations: 47.97 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.5888, allocations: 202.3 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5888, allocations: 0 / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5888, allocations: 4 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5889, allocations: 7.938 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.5897, allocations: 0.8113 MB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.59, allocations: 311.3 kB / 1.117 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5901, allocations: 124.9 kB / 1.117 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.5902, allocations: 7.938 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.5906, allocations: 346.8 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.5906, allocations: 0 / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006386/0.5912, allocations: 360.8 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.5914, allocations: 431.2 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.5916, allocations: 247.3 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.5917, allocations: 53.7 kB / 1.119 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.5919, allocations: 141.3 kB / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.666e-05/0.592, allocations: 90.91 kB / 1.119 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5921, allocations: 28 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5922, allocations: 353.2 kB / 1.119 GB, free: 12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.5929, allocations: 361.2 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.5938, allocations: 0.638 MB / 1.12 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.5957, allocations: 0.5312 MB / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5957, allocations: 3.906 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003245/0.599, allocations: 1.255 MB / 1.122 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.599, allocations: 8 kB / 1.122 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.599, allocations: 8 kB / 1.122 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.599, allocations: 16 kB / 1.122 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.5991, allocations: 35.8 kB / 1.122 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5991, allocations: 15.94 kB / 1.122 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.6014, allocations: 0.6007 MB / 1.123 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.6016, allocations: 87.92 kB / 1.123 GB, free: 8.301 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.0002157/0.6018, allocations: 176.7 kB / 1.123 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.6019, allocations: 39.53 kB / 1.123 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.602, allocations: 38.23 kB / 1.123 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.602, allocations: 8 kB / 1.123 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.602, allocations: 6.938 kB / 1.123 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.602, allocations: 7.984 kB / 1.123 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.6023, allocations: 293.9 kB / 1.123 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6023, allocations: 4 kB / 1.123 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.6023, allocations: 19.86 kB / 1.123 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.6024, allocations: 11.98 kB / 1.124 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.6024, allocations: 15.98 kB / 1.124 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.6024, allocations: 9.875 kB / 1.124 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6024, allocations: 8 kB / 1.124 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005383/0.603, allocations: 0.5765 MB / 1.124 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.603, allocations: 112.6 kB / 1.124 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.6031, allocations: 11.98 kB / 1.124 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.6032, allocations: 7.984 kB / 1.124 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.6033, allocations: 55.88 kB / 1.124 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.6033, allocations: 31.89 kB / 1.124 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000121/0.6035, allocations: 175.1 kB / 1.124 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005933/0.6041, allocations: 176 kB / 1.125 GB, free: 6.332 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.0001669/0.6042, allocations: 138 kB / 1.125 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.6056, allocations: 1.094 MB / 1.126 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6056, allocations: 0 / 1.126 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.6058, allocations: 163.8 kB / 1.126 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.6063, allocations: 103 kB / 1.126 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.6071, allocations: 489.2 kB / 1.127 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.6074, allocations: 0.8208 MB / 1.127 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.6074, allocations: 4 kB / 1.127 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of Templates: time 0.01338/0.6208, allocations: 9.916 MB / 1.137 GB, free: 9.73 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)