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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") [: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.332/2.332, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.003663/0.003661, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.136/2.136, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001335, allocations: 86.52 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.088e-05/1.09e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6719/0.892, allocations: 131.5 MB / 1.016 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.8923, allocations: 66.34 kB / 1.017 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004972/0.8973, allocations: 0.8733 MB / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.8973, allocations: 0 / 1.017 GB, free: 6.059 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007444/0.8981, allocations: 396 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.8981, allocations: 11.97 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.8982, allocations: 12.64 kB / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.8984, allocations: 179.8 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.8984, allocations: 0 / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.8985, allocations: 4 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000141/0.8986, allocations: 33.48 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.8988, allocations: 59.66 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8988, allocations: 0 / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.8988, allocations: 0 / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8989, allocations: 8 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008579/0.8997, allocations: 313.5 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.8999, allocations: 50.08 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.9, allocations: 23.7 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.9, allocations: 7.984 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.9001, allocations: 74.61 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.9002, allocations: 0 / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002659/0.9004, allocations: 75.84 kB / 1.019 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.9005, allocations: 59.16 kB / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.9006, allocations: 111.5 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.9007, allocations: 37.64 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.9007, allocations: 80.14 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.9008, allocations: 23.2 kB / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.9008, allocations: 0 / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.901, allocations: 318.4 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.901, allocations: 13.75 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.9011, allocations: 53.05 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.9012, allocations: 15.5 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9012, allocations: 0 / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002176/0.9015, allocations: 95.67 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9015, allocations: 4 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9015, allocations: 4 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.9015, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.9016, allocations: 8 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9016, allocations: 8.031 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.9019, allocations: 27.88 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.9019, allocations: 7.25 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001133/0.9021, allocations: 112.9 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.9021, allocations: 7.906 kB / 1.02 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.9022, allocations: 11.25 kB / 1.02 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.9022, allocations: 4 kB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9022, allocations: 0 / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.9022, allocations: 0 / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.9025, allocations: 169 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9025, allocations: 2.625 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.9025, allocations: 4 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.9025, allocations: 0 / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.9025, allocations: 4 kB / 1.02 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9026, allocations: 3.938 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9026, allocations: 0 / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002319/0.9028, allocations: 102.3 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.9029, allocations: 88.83 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.903, allocations: 3.906 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.9032, allocations: 27.97 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.9033, allocations: 23.41 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.9033, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.742e-05/0.9034, allocations: 98.16 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002887/0.9037, allocations: 12 kB / 1.02 GB, free: 3.219 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001756/0.9039, allocations: 113.9 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.9041, allocations: 60.56 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9042, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.9043, allocations: 30.62 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.9047, allocations: 23.36 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.9052, allocations: 120.6 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.9058, allocations: 0.7075 MB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.9058, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of Templates: time 0.006271/0.9121, allocations: 1.151 MB / 1.022 GB, free: 1.016 MB / 0.6355 GB