Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [: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.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.000931/0.0009312, allocations: 181.3 kB / 366.3 MB, free: 1.934 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.002/1.002, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.000772/0.0007719, allocations: 95.58 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.925e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4059, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.5371, allocations: 138.2 MB / 1.108 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.5373, allocations: 76.56 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004602/0.5419, allocations: 1.465 MB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.5419, allocations: 0 / 1.109 GB, free: 8.707 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002671/0.5422, allocations: 365 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5422, allocations: 12.03 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.5423, allocations: 4.562 kB / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5424, allocations: 167 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5424, allocations: 0 / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.5424, allocations: 4 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.108e-05/0.5425, allocations: 4 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.492e-05/0.5425, allocations: 45.59 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.5426, allocations: 4 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.5426, allocations: 0.6562 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5426, allocations: 0 / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.5429, allocations: 265.4 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.5429, allocations: 26.5 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.5429, allocations: 15.38 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.543, allocations: 4 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.543, allocations: 51.41 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.543, allocations: 0.5625 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001172/0.5432, allocations: 41.7 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.5432, allocations: 55.34 kB / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.5432, allocations: 108.8 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.5433, allocations: 25.7 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.5433, allocations: 88.14 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.5433, allocations: 8.938 kB / 1.11 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.5433, allocations: 4 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.5434, allocations: 314.8 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.5435, allocations: 24 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.5435, allocations: 42.56 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.5437, allocations: 39.97 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5437, allocations: 0 / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002623/0.544, allocations: 113.5 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.544, allocations: 4 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.544, allocations: 0 / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.544, allocations: 0 / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.398e-05/0.5441, allocations: 5.219 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5441, allocations: 5.719 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.5443, allocations: 44.28 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.5443, allocations: 4 kB / 1.111 GB, free: 6.641 MB / 0.7136 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 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.62e-05/0.5443, allocations: 109 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.5444, allocations: 7.844 kB / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.5444, allocations: 7.688 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5444, allocations: 0 / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5444, allocations: 4 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.5444, allocations: 3.984 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.481e-05/0.5445, allocations: 138.1 kB / 1.111 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5445, allocations: 4 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.5445, allocations: 0 / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5445, allocations: 0.8438 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.5445, allocations: 4 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5445, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5445, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.006e-05/0.5446, allocations: 69.03 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.5447, allocations: 81.09 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5447, allocations: 4 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.5447, allocations: 7.938 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.5447, allocations: 4 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5447, allocations: 5.406 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.891e-05/0.5448, allocations: 79.28 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002074/0.545, allocations: 23.98 kB / 1.111 GB, free: 6.012 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001308/0.5451, allocations: 111.1 kB / 1.112 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.5453, allocations: 73.81 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.5453, allocations: 4.062 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.5453, allocations: 12 kB / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.5454, allocations: 7.984 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001544/0.5456, allocations: 67.72 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5458, allocations: 0.6876 MB / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5458, allocations: 0 / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of Templates: time 0.002456/0.5483, allocations: 0.8883 MB / 1.113 GB, free: 4.129 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1)