Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [: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.35/1.35, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.0009741/0.0009741, allocations: 183.6 kB / 366.3 MB, free: 1.969 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/1, allocations: 205.1 MB / 0.6256 GB, free: 188 kB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000767/0.000767, allocations: 93.62 kB / 0.7395 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 4 kB / 0.859 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 116.3 MB / 0.9726 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5823, allocations: 138.5 MB / 1.108 GB, free: 57.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001585/0.5825, allocations: 76.17 kB / 1.108 GB, free: 57.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0054/0.5879, allocations: 1.917 MB / 1.11 GB, free: 56.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5879, allocations: 0 / 1.11 GB, free: 56.21 MB / 0.7448 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.0003806/0.5883, allocations: 427.6 kB / 1.11 GB, free: 55.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.5883, allocations: 8.031 kB / 1.11 GB, free: 55.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.5884, allocations: 10.25 kB / 1.11 GB, free: 55.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.725e-05/0.5885, allocations: 171 kB / 1.11 GB, free: 55.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5885, allocations: 7.906 kB / 1.11 GB, free: 55.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5885, allocations: 4 kB / 1.11 GB, free: 55.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.314e-05/0.5886, allocations: 22.25 kB / 1.11 GB, free: 55.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.5887, allocations: 48.31 kB / 1.11 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5887, allocations: 1.922 kB / 1.11 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.5887, allocations: 4 kB / 1.11 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5887, allocations: 4 kB / 1.11 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.589, allocations: 312.6 kB / 1.111 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.5891, allocations: 28.11 kB / 1.111 GB, free: 55.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.5891, allocations: 19.61 kB / 1.111 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.5892, allocations: 4 kB / 1.111 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.522e-05/0.5892, allocations: 64.72 kB / 1.111 GB, free: 55.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5892, allocations: 1.312 kB / 1.111 GB, free: 55.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001552/0.5894, allocations: 74.64 kB / 1.111 GB, free: 55.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.546e-05/0.5894, allocations: 51.41 kB / 1.111 GB, free: 54.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.5895, allocations: 113.2 kB / 1.111 GB, free: 54.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.5895, allocations: 33.09 kB / 1.111 GB, free: 54.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.5895, allocations: 94.94 kB / 1.111 GB, free: 54.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.5895, allocations: 7.812 kB / 1.111 GB, free: 54.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.5896, allocations: 7.25 kB / 1.111 GB, free: 54.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.5896, allocations: 316.8 kB / 1.111 GB, free: 54.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.5897, allocations: 30.12 kB / 1.112 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.5897, allocations: 59.25 kB / 1.112 GB, free: 54.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5899, allocations: 41.31 kB / 1.112 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5899, allocations: 3.906 kB / 1.112 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000279/0.5902, allocations: 131.5 kB / 1.112 GB, free: 54.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.5902, allocations: 8.688 kB / 1.112 GB, free: 54.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5902, allocations: 0 / 1.112 GB, free: 54.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5902, allocations: 4 kB / 1.112 GB, free: 54.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5904, allocations: 30.66 kB / 1.112 GB, free: 54.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5904, allocations: 1.25 kB / 1.112 GB, free: 54.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.5906, allocations: 68.95 kB / 1.112 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.5907, allocations: 8 kB / 1.112 GB, free: 54.13 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 4.665e-05/0.5907, allocations: 104.3 kB / 1.112 GB, free: 54.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.5907, allocations: 7.906 kB / 1.112 GB, free: 54.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.5908, allocations: 11.75 kB / 1.112 GB, free: 54.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5908, allocations: 3.906 kB / 1.112 GB, free: 54.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5908, allocations: 0 / 1.112 GB, free: 54.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5908, allocations: 0 / 1.112 GB, free: 54.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.929e-05/0.5908, allocations: 160.3 kB / 1.112 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5909, allocations: 7 kB / 1.112 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.591, allocations: 22.56 kB / 1.112 GB, free: 53.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.591, allocations: 0 / 1.112 GB, free: 53.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.591, allocations: 4 kB / 1.112 GB, free: 53.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.591, allocations: 1.875 kB / 1.112 GB, free: 53.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.591, allocations: 7.906 kB / 1.112 GB, free: 53.81 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.601e-05/0.5911, allocations: 97.42 kB / 1.112 GB, free: 53.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.5911, allocations: 88.95 kB / 1.112 GB, free: 53.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5911, allocations: 0 / 1.112 GB, free: 53.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.5912, allocations: 19.38 kB / 1.112 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.5913, allocations: 7.188 kB / 1.112 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.5913, allocations: 6.828 kB / 1.112 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.423e-05/0.5913, allocations: 86.78 kB / 1.112 GB, free: 53.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001975/0.5915, allocations: 28 kB / 1.113 GB, free: 53.48 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001081/0.5916, allocations: 106.5 kB / 1.113 GB, free: 53.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.5918, allocations: 102.8 kB / 1.113 GB, free: 53.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5918, allocations: 0 / 1.113 GB, free: 53.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.5919, allocations: 23.06 kB / 1.113 GB, free: 53.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.592, allocations: 16.14 kB / 1.113 GB, free: 53.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.5922, allocations: 90.08 kB / 1.113 GB, free: 53.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5924, allocations: 0.7176 MB / 1.114 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.5924, allocations: 0 / 1.114 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.002792/0.5952, allocations: 1.363 MB / 1.115 GB, free: 51.71 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)