Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") [: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.103/2.103, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001577/0.001577, allocations: 177.3 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 82.81 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.074e-05, allocations: 0 / 0.8503 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5361, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.741, allocations: 137.7 MB / 1.097 GB, free: 3.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.7413, allocations: 68.62 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.03087/0.7722, allocations: 5.81 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.7722, allocations: 4 kB / 1.103 GB, free: 13.34 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002556/0.7748, allocations: 0.7442 MB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7749, allocations: 8.031 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.7751, allocations: 75.44 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.7754, allocations: 206.2 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.7755, allocations: 31.95 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.7757, allocations: 75.95 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007954/0.7765, allocations: 196.9 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.7778, allocations: 425.6 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.7778, allocations: 7.938 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.7779, allocations: 19.95 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7779, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.78, allocations: 0.9074 MB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.7817, allocations: 0.5731 MB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.7825, allocations: 285.7 kB / 1.106 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.7826, allocations: 8 kB / 1.106 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.7842, allocations: 0.6038 MB / 1.107 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=102): time 3.868e-06/0.7842, allocations: 0 / 1.107 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.002542/0.7867, allocations: 0.8163 MB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.7868, allocations: 85.98 kB / 1.108 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.7872, allocations: 228.8 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.7873, allocations: 41.7 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.7875, allocations: 126.2 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.7877, allocations: 197.5 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.7878, allocations: 3.938 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.788, allocations: 370.8 kB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.7888, allocations: 210.6 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.7899, allocations: 0.5733 MB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.7911, allocations: 291.6 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.7911, allocations: 4.938 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002753/0.7939, allocations: 0.8259 MB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7939, allocations: 5.594 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.794, allocations: 12 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.741e-05/0.794, allocations: 25.62 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.7948, allocations: 127.6 kB / 1.111 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-05/0.7949, allocations: 27.92 kB / 1.111 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.7962, allocations: 139.4 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.7964, allocations: 64 kB / 1.111 GB, free: 4.645 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.7969, allocations: 210.5 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7971, allocations: 81.75 kB / 1.111 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.7972, allocations: 43.39 kB / 1.111 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7972, allocations: 8 kB / 1.111 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7973, allocations: 0 / 1.111 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.7973, allocations: 3.984 kB / 1.111 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.8017, allocations: 1.67 MB / 1.113 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.8017, allocations: 0 / 1.113 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.8018, allocations: 27.86 kB / 1.113 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.8019, allocations: 5.562 kB / 1.113 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.802, allocations: 23.95 kB / 1.113 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.802, allocations: 4 kB / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.802, allocations: 0 / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002365/0.8044, allocations: 1.01 MB / 1.114 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.8045, allocations: 124.4 kB / 1.114 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.8047, allocations: 27.95 kB / 1.114 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.8055, allocations: 59.91 kB / 1.114 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.8058, allocations: 80.73 kB / 1.114 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/0.806, allocations: 79.94 kB / 1.114 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001947/0.8062, allocations: 153.2 kB / 1.115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001103/0.8073, allocations: 183.9 kB / 1.115 GB, free: 0.7734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 102 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay77.u,onDelay66.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.y,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay7.u,onDelay6.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0003632/0.8077, allocations: 186.9 kB / 1.115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.81, allocations: 0.8034 MB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.81, allocations: 4.188 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.8114, allocations: 0.5813 MB / 1.116 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.8119, allocations: 42.61 kB / 1.116 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.8145, allocations: 0.7622 MB / 1.117 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.8153, allocations: 0.8955 MB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.8153, allocations: 0 / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.02289/0.8382, allocations: 7.985 MB / 1.126 GB, free: 5.543 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)