Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") [: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.351/1.351, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009257/0.0009257, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 81.28 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.663e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5743, allocations: 138.6 MB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.5747, allocations: 79.89 kB / 1.108 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01261/0.5873, allocations: 4.186 MB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5873, allocations: 4 kB / 1.112 GB, free: 5.586 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004555/0.5878, allocations: 488.8 kB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5879, allocations: 8.031 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.5879, allocations: 19.81 kB / 1.113 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5881, allocations: 176.5 kB / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.5881, allocations: 15.98 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.5881, allocations: 19.91 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.5883, allocations: 36 kB / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5884, allocations: 69.67 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5884, allocations: 0 / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5884, allocations: 4 kB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.5884, allocations: 7.984 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.5891, allocations: 472.8 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.5893, allocations: 70.48 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.5893, allocations: 28.91 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5894, allocations: 0 / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.5895, allocations: 79.39 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.5895, allocations: 0 / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000233/0.5897, allocations: 122.1 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5898, allocations: 55.41 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.5899, allocations: 144 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.5899, allocations: 29.7 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.59, allocations: 100.5 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.59, allocations: 31.7 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.5901, allocations: 8 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5902, allocations: 327.6 kB / 1.114 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.5904, allocations: 79.98 kB / 1.114 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.5906, allocations: 134 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.591, allocations: 111.9 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5911, allocations: 0 / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007047/0.5918, allocations: 306.5 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5918, allocations: 4 kB / 1.115 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5918, allocations: 4 kB / 1.115 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5918, allocations: 4 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.5919, allocations: 16.48 kB / 1.115 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5919, allocations: 0 / 1.115 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.5924, allocations: 127.9 kB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.5924, allocations: 15.98 kB / 1.115 GB, free: 2.297 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.076e-05/0.5925, allocations: 115.9 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.5926, allocations: 23.69 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.5926, allocations: 17.77 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5926, allocations: 0 / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5926, allocations: 4 kB / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5926, allocations: 0 / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5928, allocations: 182.2 kB / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5928, allocations: 0 / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.5928, allocations: 8 kB / 1.115 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5928, allocations: 0 / 1.115 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5929, allocations: 7.906 kB / 1.115 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5929, allocations: 0 / 1.115 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5929, allocations: 4 kB / 1.115 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001614/0.593, allocations: 140.9 kB / 1.116 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.5931, allocations: 85.02 kB / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.5931, allocations: 9.531 kB / 1.116 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.5932, allocations: 4 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5932, allocations: 7.984 kB / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.5932, allocations: 11.98 kB / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.173e-05/0.5933, allocations: 102.3 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002614/0.5935, allocations: 55.83 kB / 1.116 GB, free: 1.461 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001545/0.5937, allocations: 111.2 kB / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.5941, allocations: 251.2 kB / 1.116 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5941, allocations: 0 / 1.116 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.5941, allocations: 47.94 kB / 1.116 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.5943, allocations: 20.36 kB / 1.116 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.5947, allocations: 158.5 kB / 1.116 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.595, allocations: 0.7231 MB / 1.117 GB, free: 88 kB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.595, allocations: 3.938 kB / 1.117 GB, free: 84 kB / 0.7136 GB Notification: Performance of Templates: time 0.004661/0.5996, allocations: 2.442 MB / 1.119 GB, free: 13.7 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)