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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [: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.13/2.13, allocations: 284.9 MB / 292.2 MB, free: 9.895 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.001572/0.001571, allocations: 179.3 kB / 360.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 0.6188 GB, free: 3.359 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.61 kB / 0.7318 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.849e-06, allocations: 3.5 kB / 0.8503 GB, free: 150 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1891, allocations: 115.2 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/0.7589, allocations: 137.4 MB / 1.097 GB, free: 44.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.7592, allocations: 72.16 kB / 1.097 GB, free: 44.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008766/0.768, allocations: 1.778 MB / 1.099 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.768, allocations: 0 / 1.099 GB, free: 44.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004592/0.7685, allocations: 398.2 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7685, allocations: 11.91 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.7686, allocations: 7.75 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.7687, allocations: 170.8 kB / 1.099 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.7687, allocations: 0 / 1.099 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.7688, allocations: 7.656 kB / 1.099 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.543e-05/0.7689, allocations: 18.22 kB / 1.099 GB, free: 43.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.98e-05/0.769, allocations: 55.94 kB / 1.099 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.769, allocations: 0 / 1.099 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.769, allocations: 0 / 1.099 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.769, allocations: 7.875 kB / 1.099 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.7695, allocations: 296.5 kB / 1.1 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.7696, allocations: 43.48 kB / 1.1 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.7697, allocations: 23.33 kB / 1.1 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.7697, allocations: 4 kB / 1.1 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.7698, allocations: 72.02 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.385e-06/0.7698, allocations: 7.922 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002125/0.7701, allocations: 74.97 kB / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.7701, allocations: 51.41 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.7702, allocations: 107.8 kB / 1.1 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.7702, allocations: 29.58 kB / 1.1 GB, free: 43.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.7703, allocations: 98.3 kB / 1.1 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.7703, allocations: 14.31 kB / 1.1 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.7703, allocations: 3.875 kB / 1.1 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.7704, allocations: 317.2 kB / 1.101 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7705, allocations: 37.88 kB / 1.101 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.7707, allocations: 70.48 kB / 1.101 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.771, allocations: 47.2 kB / 1.101 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.771, allocations: 0 / 1.101 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005116/0.7715, allocations: 149.2 kB / 1.101 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.7715, allocations: 3.875 kB / 1.101 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.7716, allocations: 4.688 kB / 1.101 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7716, allocations: 7.812 kB / 1.101 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.7717, allocations: 16.69 kB / 1.101 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7718, allocations: 6.906 kB / 1.101 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.7722, allocations: 49.84 kB / 1.101 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.7722, allocations: 3.875 kB / 1.101 GB, free: 42.76 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 7.496e-05/0.7723, allocations: 120 kB / 1.101 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.7723, allocations: 7.844 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.7724, allocations: 15.16 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7724, allocations: 0 / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7724, allocations: 0 / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7724, allocations: 3.906 kB / 1.101 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.7727, allocations: 312.7 kB / 1.101 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7727, allocations: 0 / 1.101 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.7728, allocations: 11.22 kB / 1.101 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7728, allocations: 0 / 1.101 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7729, allocations: 18.91 kB / 1.101 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7729, allocations: 0 / 1.101 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7729, allocations: 0 / 1.101 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001575/0.7731, allocations: 169.3 kB / 1.102 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.7731, allocations: 84.86 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.7731, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.7733, allocations: 14.7 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.7733, allocations: 7.25 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.7734, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.762e-05/0.7734, allocations: 91.66 kB / 1.102 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003551/0.7738, allocations: 30.3 kB / 1.102 GB, free: 42.04 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001538/0.7739, allocations: 108 kB / 1.102 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.7742, allocations: 103.7 kB / 1.102 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.7742, allocations: 0 / 1.102 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.7743, allocations: 29.69 kB / 1.102 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.7746, allocations: 20.92 kB / 1.102 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.7749, allocations: 91.36 kB / 1.102 GB, free: 41.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.7752, allocations: 0.7024 MB / 1.103 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.7752, allocations: 0 / 1.103 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.004404/0.7797, allocations: 1.295 MB / 1.104 GB, free: 57.02 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)