Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.44/2.44, allocations: 253.1 MB / 260.4 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001684, allocations: 193.2 kB / 319.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.5704 GB, free: 15.01 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001335/0.001334, allocations: 91.33 kB / 0.6746 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.905e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 106.3 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/0.9585, allocations: 131.4 MB / 1.016 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.9589, allocations: 71.39 kB / 1.016 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003622/0.9625, allocations: 0.6083 MB / 1.017 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.9626, allocations: 0 / 1.017 GB, free: 6.262 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006068/0.9632, allocations: 364.4 kB / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.9633, allocations: 8.031 kB / 1.017 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.9633, allocations: 7.906 kB / 1.017 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.9635, allocations: 170.1 kB / 1.018 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.9636, allocations: 5.594 kB / 1.018 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.9636, allocations: 4 kB / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/0.9637, allocations: 22.98 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.9638, allocations: 49.3 kB / 1.018 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9639, allocations: 0 / 1.018 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.9639, allocations: 0 / 1.018 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.9639, allocations: 4 kB / 1.018 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.9644, allocations: 247.6 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.9645, allocations: 40.08 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.9646, allocations: 20.8 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.9646, allocations: 0 / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.9647, allocations: 62.2 kB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.9647, allocations: 2.625 kB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002286/0.965, allocations: 64.94 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.965, allocations: 55.47 kB / 1.018 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.9652, allocations: 104.2 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.9652, allocations: 29.7 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.9653, allocations: 95.03 kB / 1.018 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.9653, allocations: 7.406 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.9653, allocations: 0 / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.9655, allocations: 318.8 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.9656, allocations: 14.88 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.9656, allocations: 34.25 kB / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.9657, allocations: 11.69 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.9657, allocations: 4 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001703/0.9659, allocations: 69.17 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9659, allocations: 4 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9659, allocations: 0 / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.966, allocations: 4 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.9661, allocations: 11.31 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.9661, allocations: 4.062 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.9663, allocations: 20.73 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.9663, allocations: 7.984 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.681e-05/0.9664, allocations: 101 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.9664, allocations: 7.906 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.9665, allocations: 8.188 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.9665, allocations: 11.94 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9666, allocations: 0 / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9666, allocations: 0 / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.9668, allocations: 160.5 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9668, allocations: 0 / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.9668, allocations: 0 / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.9668, allocations: 4 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.9668, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9668, allocations: 3.938 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9669, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.967, allocations: 91.28 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.9671, allocations: 85 kB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.9671, allocations: 0 / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.9673, allocations: 15.98 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.9674, allocations: 11.42 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.9674, allocations: 8 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.407e-05/0.9675, allocations: 82.34 kB / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002807/0.9678, allocations: 12 kB / 1.019 GB, free: 3.676 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001717/0.968, allocations: 107.6 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.9681, allocations: 35.44 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9681, allocations: 0 / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.9682, allocations: 26.67 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.9685, allocations: 27.64 kB / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.9689, allocations: 94.56 kB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.9693, allocations: 0.6997 MB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.9693, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.004136/0.9734, allocations: 0.8263 MB / 1.021 GB, free: 1.852 MB / 0.6355 GB