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.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [: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.379/2.379, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.00158/0.001579, allocations: 181.2 kB / 319.6 MB, free: 3.34 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.073/2.073, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.00127/0.00127, allocations: 89.84 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.418e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/0.9635, allocations: 131.8 MB / 1.017 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.9639, allocations: 71.14 kB / 1.017 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009668/0.9735, allocations: 1.879 MB / 1.019 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.9736, allocations: 6.625 kB / 1.019 GB, free: 4.992 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001075/0.9747, allocations: 475.6 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9748, allocations: 8.031 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.9749, allocations: 15.81 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.9752, allocations: 229.8 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.9753, allocations: 4 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.9753, allocations: 8 kB / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003271/0.9757, allocations: 97.89 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.9761, allocations: 148.6 kB / 1.02 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9761, allocations: 3.984 kB / 1.02 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.9761, allocations: 0 / 1.02 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.9762, allocations: 4 kB / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.9777, allocations: 0.5621 MB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.9781, allocations: 206.5 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.9783, allocations: 52.91 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.9783, allocations: 0 / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.9786, allocations: 112 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.916e-06/0.9786, allocations: 0 / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004379/0.979, allocations: 144.9 kB / 1.021 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.9791, allocations: 59.41 kB / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.9793, allocations: 155.3 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.9794, allocations: 33.69 kB / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.9795, allocations: 99.33 kB / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.9795, allocations: 38.53 kB / 1.021 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.9796, allocations: 0 / 1.021 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.9798, allocations: 329.8 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.98, allocations: 45.86 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.9802, allocations: 99.12 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.9803, allocations: 35.03 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9803, allocations: 4 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004102/0.9808, allocations: 162 kB / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9808, allocations: 8 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9808, allocations: 0 / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.9808, allocations: 4 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.981, allocations: 23.48 kB / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.981, allocations: 0 / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.9815, allocations: 48.05 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.9815, allocations: 12 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulAnd0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.000144/0.9817, allocations: 122.7 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.9817, allocations: 11.81 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.9818, allocations: 19.19 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.9818, allocations: 7.984 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9818, allocations: 0 / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9819, allocations: 3.938 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.9827, allocations: 448.3 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9827, allocations: 4 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.9828, allocations: 7.922 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.9828, allocations: 4 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.9828, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9828, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.9828, allocations: 3.906 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003863/0.9832, allocations: 240.6 kB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.9833, allocations: 92.91 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.9834, allocations: 4 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.9838, allocations: 42.89 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.9839, allocations: 30.7 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.9839, allocations: 6.562 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001265/0.9841, allocations: 117 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003907/0.9845, allocations: 28 kB / 1.023 GB, free: 0.7617 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: 20 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000199/0.9847, allocations: 105.9 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.9851, allocations: 135.3 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9851, allocations: 0 / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.9853, allocations: 74.19 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.9859, allocations: 38.41 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.9868, allocations: 244.3 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.9874, allocations: 0.7548 MB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.9874, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.008158/0.9955, allocations: 2.257 MB / 1.026 GB, free: 13.23 MB / 0.6511 GB