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.TriggeredTrapezoid.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.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") [: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.709/2.709, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001644/0.001644, allocations: 189 kB / 319.6 MB, free: 3.336 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.123/2.123, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001372/0.001371, allocations: 97.89 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.443e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7297/1.027, allocations: 131.7 MB / 1.017 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.027, allocations: 68.58 kB / 1.017 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007748/1.035, allocations: 1.042 MB / 1.018 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.035, allocations: 4 kB / 1.018 GB, free: 5.648 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.0009455/1.036, allocations: 353.9 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/1.036, allocations: 12.03 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/1.036, allocations: 11.66 kB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.037, allocations: 170.9 kB / 1.018 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/1.037, allocations: 4 kB / 1.018 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/1.037, allocations: 4 kB / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002103/1.037, allocations: 31.05 kB / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/1.037, allocations: 64.97 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.037, allocations: 1.031 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.037, allocations: 0 / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.037, allocations: 0 / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/1.038, allocations: 265.6 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/1.039, allocations: 61.69 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/1.039, allocations: 26.23 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/1.039, allocations: 3.984 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/1.039, allocations: 83.94 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.679e-06/1.039, allocations: 4 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004921/1.04, allocations: 95.66 kB / 1.019 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/1.04, allocations: 55.39 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/1.04, allocations: 106.5 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/1.04, allocations: 29.7 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/1.04, allocations: 80.14 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/1.04, allocations: 23.17 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/1.04, allocations: 0 / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.04, allocations: 314.7 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.041, allocations: 27.06 kB / 1.02 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/1.041, allocations: 41.02 kB / 1.02 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/1.041, allocations: 22.88 kB / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.041, allocations: 0 / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009494/1.042, allocations: 143.2 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.042, allocations: 8 kB / 1.02 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.042, allocations: 0 / 1.02 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/1.042, allocations: 30.66 kB / 1.02 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.042, allocations: 8 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.045, allocations: 1.337 MB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/1.045, allocations: 20.06 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.045, allocations: 7.875 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/1.045, allocations: 105 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/1.045, allocations: 4 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/1.046, allocations: 16.05 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.046, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.046, allocations: 7.922 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.046, allocations: 7.906 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.047, allocations: 352.3 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.047, allocations: 0 / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.047, allocations: 15.89 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.047, allocations: 4 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/1.047, allocations: 0 / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.047, allocations: 0.5469 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.047, allocations: 0 / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004877/1.048, allocations: 192.5 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/1.048, allocations: 84.95 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/1.048, allocations: 7.984 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.048, allocations: 16.86 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.048, allocations: 7.984 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.048, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001177/1.049, allocations: 93.52 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007088/1.049, allocations: 16 kB / 1.022 GB, free: 1.207 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002651/1.05, allocations: 108.5 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006878/1.05, allocations: 165.5 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.05, allocations: 0 / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.05, allocations: 35.81 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/1.051, allocations: 19.47 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/1.052, allocations: 112.5 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/1.052, allocations: 0.7075 MB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/1.052, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of Templates: time 0.007845/1.06, allocations: 1.198 MB / 1.024 GB, free: 14.88 MB / 0.6511 GB