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.Limiter.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.Limiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") [: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.204/2.204, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.002361/0.00236, allocations: 181.2 kB / 319.6 MB, free: 3.312 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.167/2.167, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001674/0.001674, allocations: 96.31 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.203e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2686, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6974/0.9661, allocations: 131.4 MB / 1.016 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.9665, allocations: 74.02 kB / 1.016 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004414/0.9709, allocations: 0.4938 MB / 1.017 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.971, allocations: 4 kB / 1.017 GB, free: 6.391 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.0005747/0.9716, allocations: 357.8 kB / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.9716, allocations: 8.031 kB / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.9717, allocations: 4 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.9719, allocations: 166.9 kB / 1.017 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9719, allocations: 0 / 1.017 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.9719, allocations: 4 kB / 1.017 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.972, allocations: 16.36 kB / 1.017 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.9722, allocations: 41.19 kB / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9722, allocations: 0 / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.9722, allocations: 4 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.9722, allocations: 0 / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.9729, allocations: 255.7 kB / 1.018 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.9731, allocations: 38.06 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.9732, allocations: 12.3 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.9732, allocations: 2.625 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.9733, allocations: 34.56 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.9733, allocations: 0 / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002536/0.9736, allocations: 43.17 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.9736, allocations: 63.42 kB / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.9737, allocations: 92.94 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.9738, allocations: 25.7 kB / 1.018 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.9738, allocations: 87.2 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.9739, allocations: 3.906 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.9739, allocations: 0 / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.974, allocations: 317.9 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.9741, allocations: 8.219 kB / 1.018 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.9741, allocations: 28.66 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.9742, allocations: 0 / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9742, allocations: 4 kB / 1.019 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001389/0.9743, allocations: 51.91 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.9744, allocations: 91.34 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.9744, allocations: 0 / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.9744, allocations: 128 / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.9747, allocations: 27.8 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.9747, allocations: 3.938 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9749, allocations: 23.92 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.9749, allocations: 4 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9749, allocations: 4 kB / 1.019 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.047e-05/0.975, allocations: 19.23 kB / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/0.975, allocations: 0 / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.975, allocations: 4 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9752, allocations: 16.19 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.9752, allocations: 3.984 kB / 1.019 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.9753, allocations: 12 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.9753, allocations: 4 kB / 1.019 GB, free: 4.406 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: 0 () * 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 9.322e-05/0.9754, allocations: 105 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.9755, allocations: 7.906 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.9755, allocations: 7.578 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9755, allocations: 4 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9756, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.9756, allocations: 3.984 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.9758, allocations: 142 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9758, allocations: 0 / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.976, allocations: 23.98 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.976, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.976, allocations: 3.906 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.976, allocations: 0 / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.976, allocations: 0 / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001862/0.9762, allocations: 139.2 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.9763, allocations: 89.05 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.9763, allocations: 0 / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.9765, allocations: 19.61 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.9766, allocations: 3.984 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.9766, allocations: 0 / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.544e-05/0.9767, allocations: 83.28 kB / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003889/0.9771, allocations: 8 kB / 1.019 GB, free: 3.715 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: 0 () * 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.0002069/0.9773, allocations: 99.25 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.9775, allocations: 34.27 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9775, allocations: 0 / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.9776, allocations: 11.06 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.9779, allocations: 4 kB / 1.02 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.9784, allocations: 83.62 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.9787, allocations: 0.6957 MB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.9788, allocations: 3.938 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of Templates: time 0.003932/0.9827, allocations: 0.6211 MB / 1.021 GB, free: 2.141 MB / 0.6355 GB