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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.202/2.202, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001632/0.001631, allocations: 183.6 kB / 360.4 MB, free: 7.488 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.636/1.636, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001201/0.0012, allocations: 98.12 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.109e-05, allocations: 4 kB / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5442, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.7422, allocations: 137.4 MB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.7425, allocations: 64.48 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00964/0.7521, allocations: 1.806 MB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7522, allocations: 4 kB / 1.099 GB, free: 1.555 MB / 0.698 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.0006039/0.7528, allocations: 401.3 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.7529, allocations: 8.031 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.753, allocations: 12.8 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7531, allocations: 171 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.7531, allocations: 3.906 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.7532, allocations: 8 kB / 1.099 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.7533, allocations: 15.98 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.7534, allocations: 50.39 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7535, allocations: 7.938 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.7535, allocations: 4 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.7535, allocations: 0.5156 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.7541, allocations: 305.3 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.7542, allocations: 43.44 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.7543, allocations: 23.45 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.7543, allocations: 7.875 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.7544, allocations: 71.36 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.7544, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.7547, allocations: 67.25 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7547, allocations: 55.41 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.7548, allocations: 117.7 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.7549, allocations: 25.7 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.755, allocations: 88.14 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.755, allocations: 19.8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.755, allocations: 0 / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7551, allocations: 322.8 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.7553, allocations: 35.98 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.7555, allocations: 73.11 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.7558, allocations: 39.95 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7558, allocations: 4 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.7563, allocations: 157.5 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7564, allocations: 4.781 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7564, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7564, allocations: 4 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.7566, allocations: 16.67 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7566, allocations: 4 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.757, allocations: 52.05 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.7571, allocations: 9.438 kB / 1.101 GB, free: 15.16 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 0.0001073/0.7572, allocations: 120.6 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.7572, allocations: 9.5 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.7573, allocations: 4.375 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7573, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7573, allocations: 8.781 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7573, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.7577, allocations: 321.3 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7577, allocations: 0 / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.7578, allocations: 15.94 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.7579, allocations: 3.984 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.7579, allocations: 0 / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7579, allocations: 2 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7579, allocations: 4 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002512/0.7582, allocations: 167.4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.7582, allocations: 85.02 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.7583, allocations: 3.984 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.7584, allocations: 8 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.7585, allocations: 12.64 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.7585, allocations: 10.16 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.822e-05/0.7586, allocations: 94.88 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003524/0.7589, allocations: 24 kB / 1.102 GB, free: 14.21 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.0001872/0.7591, allocations: 111.2 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.7595, allocations: 101.6 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7595, allocations: 256 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.7596, allocations: 35.92 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.7598, allocations: 4 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.7602, allocations: 108 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.7605, allocations: 0.7075 MB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 6.42e-07/0.7605, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.004984/0.7655, allocations: 1.295 MB / 1.104 GB, free: 11.85 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)