Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [: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.345/1.345, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.0008922/0.0008922, allocations: 181.3 kB / 366.3 MB, free: 2.023 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.025/1.025, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0007736/0.0007736, allocations: 96.41 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.604e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3976, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.5334, allocations: 138.2 MB / 1.108 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.5336, allocations: 71.89 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008021/0.5416, allocations: 2.61 MB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5417, allocations: 4 kB / 1.11 GB, free: 7.609 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003513/0.542, allocations: 409.7 kB / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5421, allocations: 16.78 kB / 1.111 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.5421, allocations: 8 kB / 1.111 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.5422, allocations: 163 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5423, allocations: 4 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.5423, allocations: 8.562 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.139e-05/0.5424, allocations: 11.94 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.5425, allocations: 45.69 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5425, allocations: 3.984 kB / 1.111 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5425, allocations: 0 / 1.111 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5425, allocations: 3.906 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.543, allocations: 330.3 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/0.5431, allocations: 30.56 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.5431, allocations: 16.86 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.5431, allocations: 7.844 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.542e-05/0.5432, allocations: 63.5 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.5432, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001668/0.5434, allocations: 73.58 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.5434, allocations: 59.39 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.5435, allocations: 102.9 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.5436, allocations: 37.64 kB / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.5436, allocations: 92.22 kB / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.5436, allocations: 11.91 kB / 1.112 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.5437, allocations: 4 kB / 1.112 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.5438, allocations: 326.7 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5439, allocations: 55.94 kB / 1.112 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.544, allocations: 80.28 kB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.5443, allocations: 68.58 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5443, allocations: 0 / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004905/0.5448, allocations: 202 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5448, allocations: 4 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5448, allocations: 4.125 kB / 1.112 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5449, allocations: 4.656 kB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.5449, allocations: 4 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5449, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.5452, allocations: 80 kB / 1.112 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.5453, allocations: 19.98 kB / 1.112 GB, free: 5.078 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.685e-05/0.5454, allocations: 113.5 kB / 1.113 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.5454, allocations: 7.984 kB / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.5454, allocations: 13.31 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5454, allocations: 7.984 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5454, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5454, allocations: 0 / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.5456, allocations: 150.2 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5456, allocations: 0 / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.5456, allocations: 4 kB / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5456, allocations: 0 / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5456, allocations: 3.984 kB / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5456, allocations: 0 / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5456, allocations: 0 / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001109/0.5457, allocations: 108.3 kB / 1.113 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.5458, allocations: 77.11 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5458, allocations: 3.984 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.5458, allocations: 7.906 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.5459, allocations: 0 / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.5459, allocations: 7.984 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.578e-05/0.5459, allocations: 92.44 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002185/0.5461, allocations: 24 kB / 1.113 GB, free: 4.387 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001519/0.5463, allocations: 123.2 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.5465, allocations: 151.3 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5465, allocations: 0 / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.5466, allocations: 29.2 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.5468, allocations: 9.953 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.547, allocations: 95.81 kB / 1.113 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5472, allocations: 0.7036 MB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.5472, allocations: 0 / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.003471/0.5507, allocations: 1.584 MB / 1.116 GB, free: 1.684 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)