Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [: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.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001023/0.001023, allocations: 177.4 kB / 366.3 MB, free: 1.934 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.2 MB / 0.6256 GB, free: 5.785 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.0007955/0.0007955, allocations: 81.56 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.808e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4422, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.5869, allocations: 138.5 MB / 1.108 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.5871, allocations: 71.91 kB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005888/0.5931, allocations: 1.802 MB / 1.11 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5931, allocations: 0 / 1.11 GB, free: 8.055 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004664/0.5936, allocations: 409 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5936, allocations: 8.594 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.5937, allocations: 11.91 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5938, allocations: 171 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5938, allocations: 3.906 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.5939, allocations: 4 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.798e-05/0.594, allocations: 19.98 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.5941, allocations: 54.53 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5941, allocations: 3.938 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5941, allocations: 0 / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5941, allocations: 4 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.5946, allocations: 305.2 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.5947, allocations: 46.64 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.5947, allocations: 19.45 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.5947, allocations: 11.88 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.921e-05/0.5948, allocations: 67.3 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.5948, allocations: 0.6562 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001904/0.595, allocations: 65.69 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5951, allocations: 55.41 kB / 1.111 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.5952, allocations: 115.4 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.5952, allocations: 29.7 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.5952, allocations: 88.14 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.5953, allocations: 19.8 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.5953, allocations: 1.406 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5954, allocations: 318.8 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.5955, allocations: 39.98 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.5956, allocations: 68.23 kB / 1.112 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5958, allocations: 48.02 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5958, allocations: 0 / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003339/0.5961, allocations: 149.5 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5962, allocations: 8 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5962, allocations: 0 / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5962, allocations: 0 / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5963, allocations: 23.92 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5963, allocations: 4 kB / 1.112 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5965, allocations: 48.09 kB / 1.112 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.5966, allocations: 13.78 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.418e-05/0.5967, allocations: 112.8 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.5967, allocations: 8.562 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.5967, allocations: 8.375 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5967, allocations: 0 / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5967, allocations: 4.062 kB / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5967, allocations: 11.98 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.597, allocations: 315 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.597, allocations: 0 / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.5971, allocations: 12.5 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5971, allocations: 7.984 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5971, allocations: 3.984 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5971, allocations: 4 kB / 1.112 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5971, allocations: 0 / 1.112 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001571/0.5973, allocations: 167.4 kB / 1.112 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.5973, allocations: 85.67 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.5974, allocations: 3.984 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.5975, allocations: 12 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.5975, allocations: 7.891 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.5975, allocations: 4 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.379e-05/0.5976, allocations: 95.27 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002394/0.5978, allocations: 24 kB / 1.113 GB, free: 4.699 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001661/0.598, allocations: 111.8 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.5982, allocations: 101.6 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5982, allocations: 4.25 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.5982, allocations: 31.92 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5984, allocations: 12 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.5987, allocations: 95.48 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.5989, allocations: 0.7075 MB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.599, allocations: 0 / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of Templates: time 0.0031/0.6021, allocations: 1.298 MB / 1.115 GB, free: 2.324 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)