Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.367/1.367, allocations: 285.5 MB / 292.8 MB, free: 9.77 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.0009953/0.0009952, allocations: 181.2 kB / 361.1 MB, free: 360 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 205.1 MB / 0.6195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007607/0.0007608, allocations: 97.86 kB / 0.7326 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.069e-05, allocations: 4.469 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1436, allocations: 115.3 MB / 0.9637 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5574, allocations: 137.6 MB / 1.098 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/0.5576, allocations: 70.98 kB / 1.098 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00494/0.5626, allocations: 1.803 MB / 1.1 GB, free: 44.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5626, allocations: 3.75 kB / 1.1 GB, free: 44.32 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.0003156/0.5629, allocations: 394 kB / 1.1 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.5629, allocations: 12 kB / 1.1 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.563, allocations: 7.719 kB / 1.1 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.5631, allocations: 170.3 kB / 1.1 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5631, allocations: 7.812 kB / 1.1 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.5631, allocations: 3.75 kB / 1.1 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.328e-05/0.5632, allocations: 25.8 kB / 1.1 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.895e-05/0.5633, allocations: 53.42 kB / 1.101 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.5633, allocations: 0 / 1.101 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.5633, allocations: 0 / 1.101 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5633, allocations: 4.875 kB / 1.101 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.5636, allocations: 305.7 kB / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.5637, allocations: 43.88 kB / 1.101 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.5637, allocations: 23.08 kB / 1.101 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.5638, allocations: 4 kB / 1.101 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.5638, allocations: 73.23 kB / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5638, allocations: 0 / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001473/0.564, allocations: 72.08 kB / 1.101 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.564, allocations: 53.78 kB / 1.101 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.5641, allocations: 111.3 kB / 1.101 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5641, allocations: 29.33 kB / 1.101 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.5641, allocations: 90.42 kB / 1.101 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.5641, allocations: 14.47 kB / 1.101 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.5641, allocations: 3.875 kB / 1.101 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.5642, allocations: 317.1 kB / 1.102 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.5643, allocations: 45.05 kB / 1.102 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.201e-05/0.5643, allocations: 65.53 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5645, allocations: 49.7 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5645, allocations: 0 / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002963/0.5648, allocations: 142.3 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.5648, allocations: 7.75 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5649, allocations: 4.125 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5649, allocations: 4.5 kB / 1.102 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.565, allocations: 17.98 kB / 1.102 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.565, allocations: 3.875 kB / 1.102 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.5652, allocations: 49.08 kB / 1.102 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.5652, allocations: 15.55 kB / 1.102 GB, free: 42.62 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 5.266e-05/0.5653, allocations: 120.2 kB / 1.102 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.5653, allocations: 10.84 kB / 1.102 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.5653, allocations: 6.812 kB / 1.102 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.5653, allocations: 0 / 1.102 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5653, allocations: 0 / 1.102 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5653, allocations: 0 / 1.102 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.5655, allocations: 323.8 kB / 1.102 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5655, allocations: 0 / 1.102 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.5656, allocations: 9.984 kB / 1.102 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5656, allocations: 11.09 kB / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5656, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5656, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5656, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.796e-05/0.5657, allocations: 176.6 kB / 1.103 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.5658, allocations: 84.23 kB / 1.103 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5658, allocations: 0 / 1.103 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.5659, allocations: 15.38 kB / 1.103 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.5659, allocations: 9.547 kB / 1.103 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5659, allocations: 3.906 kB / 1.103 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.299e-05/0.566, allocations: 91.5 kB / 1.103 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002329/0.5662, allocations: 26.5 kB / 1.103 GB, free: 41.89 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.0001388/0.5663, allocations: 111.5 kB / 1.103 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.5665, allocations: 111.5 kB / 1.103 GB, free: 41.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.5665, allocations: 0 / 1.103 GB, free: 41.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.5666, allocations: 30.36 kB / 1.103 GB, free: 41.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.5668, allocations: 13.73 kB / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.567, allocations: 105 kB / 1.103 GB, free: 41.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5672, allocations: 0.7025 MB / 1.104 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/0.5673, allocations: 0 / 1.104 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.002706/0.57, allocations: 1.294 MB / 1.105 GB, free: 56.86 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)