Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.347/1.347, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001052/0.001052, allocations: 185.2 kB / 361.1 MB, free: 7.145 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.02/1.02, allocations: 205.1 MB / 0.6195 GB, free: 10.37 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.0007849/0.0007849, allocations: 94.23 kB / 0.7326 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 0 / 0.8511 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.5305, allocations: 137.3 MB / 1.098 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.5307, allocations: 68.48 kB / 1.098 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008135/0.5388, allocations: 2.611 MB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5388, allocations: 4 kB / 1.1 GB, free: 248 kB / 0.698 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.000334/0.5392, allocations: 406.2 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5392, allocations: 16.02 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.5393, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/0.5394, allocations: 174.7 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5394, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5394, allocations: 8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.476e-05/0.5395, allocations: 12 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.727e-05/0.5396, allocations: 43.06 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5396, allocations: 0.5156 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5396, allocations: 11.98 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5396, allocations: 3.906 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.54, allocations: 325.3 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.5401, allocations: 35.08 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.5401, allocations: 12.86 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.5401, allocations: 7.906 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/0.5402, allocations: 59.5 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.5402, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001627/0.5404, allocations: 76.27 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.5404, allocations: 59.39 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.5405, allocations: 109.1 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.5405, allocations: 29.7 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.5406, allocations: 104.2 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.5406, allocations: 7.906 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.5406, allocations: 8 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.5407, allocations: 318.7 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.5408, allocations: 48 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.5409, allocations: 84.28 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.5412, allocations: 76.8 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5413, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004894/0.5417, allocations: 203.4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5418, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5418, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5418, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.9e-05/0.5418, allocations: 9.25 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.5418, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.5422, allocations: 76 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.5422, allocations: 15.98 kB / 1.103 GB, free: 13.72 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 7.812e-05/0.5423, allocations: 112.9 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.5423, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.5423, allocations: 16.27 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5423, allocations: 0.7031 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5424, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5424, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.5425, allocations: 146.2 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5425, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.5425, allocations: 5.875 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5425, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5425, allocations: 0.8438 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5425, allocations: 3.984 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5425, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/0.5426, allocations: 100.9 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.5427, allocations: 77.77 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.5427, allocations: 3.984 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.5427, allocations: 3.906 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.5428, allocations: 8 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5428, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.122e-05/0.5428, allocations: 89.42 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002314/0.5431, allocations: 39.94 kB / 1.103 GB, free: 13.03 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.0001381/0.5432, allocations: 118.9 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.5435, allocations: 155.3 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5435, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.5435, allocations: 20 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.5437, allocations: 20.75 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.5439, allocations: 98.58 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5441, allocations: 0.6997 MB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/0.5441, allocations: 1.688 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.003419/0.5476, allocations: 1.58 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)