Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.17/2.17, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 185.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 94.94 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.338e-06, allocations: 0 / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5266, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.7283, allocations: 137.1 MB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.7286, allocations: 69.08 kB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01405/0.7426, allocations: 2.612 MB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.7427, allocations: 4 kB / 1.099 GB, free: 1.07 MB / 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.0004239/0.7431, allocations: 397.7 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7432, allocations: 12.03 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.7432, allocations: 4 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.7434, allocations: 171 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.7434, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.7435, allocations: 24.69 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.306e-05/0.7436, allocations: 9.781 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/0.7437, allocations: 46.94 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7437, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7437, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.7437, allocations: 3.906 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.7444, allocations: 330.1 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.7445, allocations: 34.52 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.7445, allocations: 16.86 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7445, allocations: 3.906 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.7447, allocations: 63.48 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.7447, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002394/0.7449, allocations: 70.25 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.745, allocations: 55.41 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.7451, allocations: 115.6 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.7451, allocations: 33.64 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.7452, allocations: 96.17 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.7453, allocations: 15.8 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.7453, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7454, allocations: 318.8 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.7457, allocations: 55.98 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.7459, allocations: 84.28 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.7464, allocations: 67.92 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7464, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008363/0.7472, allocations: 197.4 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7473, allocations: 9.734 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7473, allocations: 4 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7473, allocations: 0 / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.7473, allocations: 8 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7474, allocations: 0.9375 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.748, allocations: 80.06 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.7481, allocations: 15.92 kB / 1.102 GB, free: 14.55 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 0.0001014/0.7482, allocations: 119.1 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.7482, allocations: 4 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.7483, allocations: 12.8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7483, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7483, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7483, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.7485, allocations: 152.2 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7485, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.7485, allocations: 4 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7485, allocations: 4.703 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.7485, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7485, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7485, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001664/0.7487, allocations: 108.8 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.7488, allocations: 77.11 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.7488, allocations: 1.969 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.7489, allocations: 7.906 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.7489, allocations: 7.984 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.7489, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.463e-05/0.749, allocations: 87.28 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003304/0.7493, allocations: 39.92 kB / 1.102 GB, free: 13.86 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.0001749/0.7495, allocations: 107.2 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.7499, allocations: 155.3 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7499, allocations: 256 / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.75, allocations: 31.94 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.7503, allocations: 16.45 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.7506, allocations: 92.17 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.7509, allocations: 0.6997 MB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.7509, allocations: 4 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.005356/0.7562, allocations: 1.585 MB / 1.105 GB, free: 11.18 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)