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.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [: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.174/2.174, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001612/0.001612, allocations: 173.3 kB / 319.6 MB, free: 3.309 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.267/2.267, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001902/0.001902, allocations: 89.84 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.383e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6781/0.8981, allocations: 131.8 MB / 1.017 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.8986, allocations: 76.19 kB / 1.017 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005477/0.9041, allocations: 0.6505 MB / 1.018 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.9041, allocations: 0 / 1.018 GB, free: 5.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008912/0.905, allocations: 381 kB / 1.018 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.9051, allocations: 12.03 kB / 1.018 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.9052, allocations: 7.906 kB / 1.018 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.9055, allocations: 167 kB / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9056, allocations: 0 / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.9056, allocations: 7.984 kB / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001668/0.9058, allocations: 22.67 kB / 1.018 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.906, allocations: 52.69 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.906, allocations: 0 / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.9061, allocations: 0 / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9061, allocations: 0 / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.9069, allocations: 281.8 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.9073, allocations: 48.88 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.9074, allocations: 15.98 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.9074, allocations: 10.34 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.9076, allocations: 63.38 kB / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.366e-06/0.9076, allocations: 0 / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003294/0.908, allocations: 64.06 kB / 1.019 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.9081, allocations: 55.41 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.9083, allocations: 112 kB / 1.019 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.9083, allocations: 29.7 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.9084, allocations: 80.14 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.9085, allocations: 15.56 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.9085, allocations: 0 / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.9087, allocations: 318.2 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.9088, allocations: 19 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.909, allocations: 42.31 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.9091, allocations: 14.8 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9091, allocations: 0 / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003315/0.9094, allocations: 83.28 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9095, allocations: 4 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9095, allocations: 4 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.9095, allocations: 3.906 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.9098, allocations: 24.02 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.9098, allocations: 0 / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.9101, allocations: 19.92 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.9102, allocations: 8.062 kB / 1.019 GB, free: 3.809 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: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001499/0.9103, allocations: 108.5 kB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.9104, allocations: 11.91 kB / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.9105, allocations: 8.359 kB / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9105, allocations: 0 / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9105, allocations: 0 / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.9105, allocations: 4 kB / 1.02 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.9112, allocations: 308.2 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9113, allocations: 0 / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.9114, allocations: 11.98 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.9115, allocations: 0 / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.9115, allocations: 3.906 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9115, allocations: 0 / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9116, allocations: 4.625 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003289/0.9119, allocations: 166.2 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.912, allocations: 81.02 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.9121, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.9124, allocations: 19.55 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.9126, allocations: 15.92 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.9126, allocations: 4 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000113/0.9127, allocations: 97.77 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006161/0.9134, allocations: 11.94 kB / 1.02 GB, free: 2.926 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0002367/0.9136, allocations: 97.98 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.9139, allocations: 49.86 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.9139, allocations: 0 / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.9141, allocations: 23.56 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.9146, allocations: 11.98 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.9152, allocations: 109.1 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.9158, allocations: 0.7035 MB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/0.9158, allocations: 0 / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of Templates: time 0.006122/0.9219, allocations: 0.826 MB / 1.022 GB, free: 1.102 MB / 0.6355 GB