Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") [: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.176/2.176, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001499/0.001498, allocations: 177.3 kB / 360.4 MB, free: 7.535 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.647/1.647, allocations: 205.2 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.001231/0.00123, allocations: 93.81 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.993e-05, allocations: 8 kB / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.5682, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.7708, allocations: 140.6 MB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.7711, allocations: 71.95 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.02718/0.7983, allocations: 6.631 MB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.7984, allocations: 4 kB / 1.107 GB, free: 9.621 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007591/0.7991, allocations: 497.7 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7992, allocations: 8.031 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.7993, allocations: 31.61 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.8001, allocations: 333.9 kB / 1.107 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.8001, allocations: 4 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.8001, allocations: 4 kB / 1.107 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001636/0.8003, allocations: 51.89 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.8005, allocations: 74.77 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8006, allocations: 0 / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.8006, allocations: 9.609 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8006, allocations: 0 / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.8015, allocations: 429.1 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.8018, allocations: 78.62 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.8018, allocations: 28.97 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.8019, allocations: 0.5625 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.802, allocations: 71.39 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.802, allocations: 4 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002943/0.8023, allocations: 95.11 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8024, allocations: 51.41 kB / 1.108 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.803, allocations: 320.8 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.803, allocations: 27.3 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.8031, allocations: 116 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.8031, allocations: 19.75 kB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.8032, allocations: 0 / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8033, allocations: 342.7 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.8035, allocations: 59.98 kB / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.8037, allocations: 86.55 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.804, allocations: 79.03 kB / 1.109 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.804, allocations: 0 / 1.109 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005825/0.8046, allocations: 205.3 kB / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8046, allocations: 9.469 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8046, allocations: 7.984 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8046, allocations: 0 / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.8048, allocations: 16 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8049, allocations: 7.938 kB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.8051, allocations: 19.83 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.8051, allocations: 12 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 9.388e-05/0.8052, allocations: 124.4 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.8053, allocations: 25.83 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.8056, allocations: 103.4 kB / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.8056, allocations: 0 / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8056, allocations: 0 / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8056, allocations: 0 / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.8059, allocations: 230 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8059, allocations: 0 / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.8059, allocations: 4 kB / 1.11 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.8059, allocations: 7.938 kB / 1.11 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.806, allocations: 0 / 1.11 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.806, allocations: 2.188 kB / 1.11 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.806, allocations: 4 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002433/0.8062, allocations: 120.8 kB / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.8064, allocations: 104.8 kB / 1.11 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.8064, allocations: 0 / 1.11 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.8066, allocations: 15.98 kB / 1.11 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.8066, allocations: 17.42 kB / 1.11 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.8067, allocations: 3.984 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003078/0.807, allocations: 213.1 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003687/0.8074, allocations: 51.94 kB / 1.111 GB, free: 5.305 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * 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.0008283/0.8082, allocations: 324.9 kB / 1.111 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.8085, allocations: 96.91 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.8085, allocations: 7.938 kB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.8086, allocations: 24 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.809, allocations: 48.44 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.8099, allocations: 286.3 kB / 1.111 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.8104, allocations: 0.7794 MB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.8104, allocations: 0 / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of Templates: time 0.008503/0.8189, allocations: 2.421 MB / 1.114 GB, free: 1.484 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)