Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") [: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.197/2.197, 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.001906/0.001906, allocations: 185.2 kB / 319.6 MB, free: 3.32 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 1.909/1.909, 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.001292/0.001291, allocations: 90.34 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.229e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6397/0.9183, allocations: 131.4 MB / 1.016 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.9186, allocations: 65.83 kB / 1.016 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002262/0.9208, allocations: 339 kB / 1.017 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.9209, allocations: 4 kB / 1.017 GB, free: 6.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004957/0.9214, allocations: 350.7 kB / 1.017 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9214, allocations: 8.031 kB / 1.017 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.9215, allocations: 4 kB / 1.017 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.9217, allocations: 167 kB / 1.017 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.9217, allocations: 0 / 1.017 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.9217, allocations: 4 kB / 1.017 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.393e-05/0.9218, allocations: 7.5 kB / 1.017 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.9219, allocations: 37.12 kB / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.922, allocations: 3.938 kB / 1.017 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.922, allocations: 4 kB / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.922, allocations: 0 / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.9225, allocations: 244.2 kB / 1.018 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.9226, allocations: 22.08 kB / 1.018 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.9227, allocations: 13.33 kB / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.9227, allocations: 4 kB / 1.018 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.9227, allocations: 34.56 kB / 1.018 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.444e-06/0.9228, allocations: 0 / 1.018 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001909/0.923, allocations: 51.47 kB / 1.018 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.923, allocations: 51.41 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.9231, allocations: 92.56 kB / 1.018 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.9231, allocations: 25.7 kB / 1.018 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.9232, allocations: 84.17 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.9232, allocations: 7.938 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.9232, allocations: 0 / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9234, allocations: 322.3 kB / 1.018 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.9234, allocations: 4 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.9235, allocations: 3.438 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.9235, allocations: 4 kB / 1.018 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9235, allocations: 0 / 1.018 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.774e-05/0.9236, allocations: 40.77 kB / 1.018 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9236, allocations: 10.5 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9237, allocations: 2.562 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9237, allocations: 0 / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.9238, allocations: 15.92 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9239, allocations: 0 / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.924, allocations: 19.92 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.924, allocations: 0 / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.92e-05/0.9241, allocations: 105 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.9242, allocations: 0 / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.9242, allocations: 9.766 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9242, allocations: 7.844 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9242, allocations: 4 kB / 1.018 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.9243, allocations: 11.97 kB / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.9245, allocations: 133.7 kB / 1.019 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9245, allocations: 0 / 1.019 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.9246, allocations: 11.98 kB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9246, allocations: 0 / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.9246, allocations: 0 / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9246, allocations: 0 / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9246, allocations: 0 / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000157/0.9248, allocations: 146.5 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.9249, allocations: 84.95 kB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.9249, allocations: 4.859 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.9251, allocations: 8 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.9251, allocations: 12.02 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.9252, allocations: 0 / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.518e-05/0.9252, allocations: 83.53 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003009/0.9255, allocations: 4 kB / 1.019 GB, free: 4.277 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: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001695/0.9257, allocations: 95.25 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.9258, allocations: 15.56 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9258, allocations: 0 / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.9259, allocations: 8.062 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.9261, allocations: 11.55 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.9264, allocations: 71.2 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.9268, allocations: 0.6841 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.9268, allocations: 4 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.003066/0.9298, allocations: 438.9 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB