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.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") [: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.409/2.409, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.001548/0.001548, allocations: 188.9 kB / 319.6 MB, free: 3.301 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.091/2.091, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001333/0.001332, allocations: 86.95 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.344e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/0.9474, allocations: 131.4 MB / 1.016 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.9478, allocations: 70.7 kB / 1.016 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003654/0.9514, allocations: 0.5625 MB / 1.017 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.9515, allocations: 3.938 kB / 1.017 GB, free: 6.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006407/0.9521, allocations: 373.6 kB / 1.017 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.9522, allocations: 8.031 kB / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.9523, allocations: 11.47 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.9524, allocations: 167.1 kB / 1.018 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9524, allocations: 0 / 1.018 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.9525, allocations: 4 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001168/0.9526, allocations: 11.81 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.9527, allocations: 48.41 kB / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9527, allocations: 0 / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9528, allocations: 0 / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.9528, allocations: 4 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.9535, allocations: 287.2 kB / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.9537, allocations: 30.14 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.9537, allocations: 15.42 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.9538, allocations: 0 / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.9538, allocations: 31.41 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.899e-06/0.9538, allocations: 3.984 kB / 1.018 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000216/0.954, allocations: 55.91 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.9541, allocations: 58.34 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.9542, allocations: 108.9 kB / 1.018 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.9542, allocations: 25.7 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.9543, allocations: 84.08 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.9543, allocations: 7.781 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.9543, allocations: 0 / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9545, allocations: 318.8 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.9545, allocations: 11.31 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.9546, allocations: 11.17 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.9546, allocations: 6.938 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9546, allocations: 0 / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001393/0.9548, allocations: 45.05 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9548, allocations: 4 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.9548, allocations: 4 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.9548, allocations: 3.984 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.9551, allocations: 27.48 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.9551, allocations: 6.562 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.9553, allocations: 23.98 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.9554, allocations: 0 / 1.019 GB, free: 4.477 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 (less1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.11e-05/0.9555, allocations: 104.9 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.9555, allocations: 4 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.9556, allocations: 7.984 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.9556, allocations: 0 / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9556, allocations: 7.844 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.9556, allocations: 0 / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.9558, allocations: 149.6 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9558, allocations: 0 / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.956, allocations: 19.98 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.956, allocations: 0 / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.9561, allocations: 0 / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9561, allocations: 7.984 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9561, allocations: 0 / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002026/0.9563, allocations: 142.8 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.9564, allocations: 88.94 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9564, allocations: 0 / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.9566, allocations: 23.98 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.9567, allocations: 11.48 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.9567, allocations: 3.938 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.478e-05/0.9568, allocations: 83.16 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003047/0.9571, allocations: 8 kB / 1.019 GB, free: 3.77 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 (less1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001816/0.9573, allocations: 101.8 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.9575, allocations: 23.36 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9575, allocations: 0 / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.9576, allocations: 15.56 kB / 1.02 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.9579, allocations: 7.844 kB / 1.02 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.9583, allocations: 87.11 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.9587, allocations: 0.6954 MB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of SimCode: time 1.133e-06/0.9587, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of Templates: time 0.003676/0.9624, allocations: 0.6536 MB / 1.021 GB, free: 2.168 MB / 0.6355 GB