Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") [: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.468/1.468, 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: 173.3 kB / 361.1 MB, free: 7.094 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.408/1.408, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008949/0.0008949, allocations: 91.42 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.464e-06, allocations: 0 / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7886, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.9712, allocations: 138.7 MB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.9714, allocations: 77.5 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01503/0.9865, allocations: 5.128 MB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.9866, allocations: 15.98 kB / 1.104 GB, free: 12.25 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006965/0.9873, allocations: 0.5353 MB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9873, allocations: 8.031 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.9874, allocations: 35.7 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.9878, allocations: 271.3 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.9879, allocations: 8 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.988, allocations: 28.64 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.9882, allocations: 96.64 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.9884, allocations: 155.8 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.9885, allocations: 0 / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.9885, allocations: 3.984 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.9885, allocations: 4 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.9894, allocations: 0.584 MB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.9896, allocations: 163.4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.9898, allocations: 76.84 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.9898, allocations: 4.562 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.9901, allocations: 190.6 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.9901, allocations: 3.938 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.000465/0.9905, allocations: 241.2 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.9906, allocations: 67.3 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.9907, allocations: 162 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.9908, allocations: 37.7 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.9909, allocations: 127.2 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.991, allocations: 86.95 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.991, allocations: 4 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.9912, allocations: 338.8 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.9914, allocations: 137.1 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.9918, allocations: 250.6 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.9924, allocations: 181.1 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9924, allocations: 3.938 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001035/0.9935, allocations: 472.9 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9935, allocations: 4 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9935, allocations: 4.375 kB / 1.108 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.9935, allocations: 12 kB / 1.108 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.9937, allocations: 47.84 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9937, allocations: 7.906 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.9944, allocations: 135.8 kB / 1.109 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.9944, allocations: 29.67 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001633/0.9946, allocations: 157.1 kB / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.9946, allocations: 23.72 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.9947, allocations: 26.64 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.9947, allocations: 7.906 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.9947, allocations: 0 / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9948, allocations: 0 / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.9955, allocations: 0.5921 MB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9955, allocations: 0 / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.9956, allocations: 21.42 kB / 1.109 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.9956, allocations: 0 / 1.109 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.9956, allocations: 15.98 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9956, allocations: 0 / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.9956, allocations: 4 kB / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000383/0.996, allocations: 340.6 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.9961, allocations: 96.86 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.9962, allocations: 15.89 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9963, allocations: 7.984 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.9964, allocations: 39.69 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.9964, allocations: 16 kB / 1.11 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.747e-05/0.9965, allocations: 119.2 kB / 1.11 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003806/0.9969, allocations: 84 kB / 1.11 GB, free: 5.902 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001847/0.9971, allocations: 139.6 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006007/0.9977, allocations: 413 kB / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9977, allocations: 0 / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.9979, allocations: 140.3 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.9982, allocations: 29.66 kB / 1.111 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.9988, allocations: 298.6 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.9992, allocations: 0.7832 MB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9993, allocations: 0 / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.007941/1.007, allocations: 3.81 MB / 1.116 GB, free: 340 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)