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.Abs.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.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") [: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.535/2.535, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001855/0.001855, allocations: 185.2 kB / 319.6 MB, free: 3.332 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.074/2.074, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001728/0.001727, allocations: 87.39 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.079e-05, allocations: 8 kB / 0.7843 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 106.3 MB / 0.8881 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6667/0.9102, allocations: 131.4 MB / 1.016 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.9106, allocations: 73.08 kB / 1.016 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004254/0.9149, allocations: 0.7472 MB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.9149, allocations: 0 / 1.017 GB, free: 5.934 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.0005455/0.9155, allocations: 341.9 kB / 1.017 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9155, allocations: 12.03 kB / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.9156, allocations: 0 / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.9157, allocations: 163.1 kB / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.9158, allocations: 7.906 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.9158, allocations: 0 / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.413e-05/0.9159, allocations: 12.5 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.916, allocations: 29.7 kB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.916, allocations: 7.984 kB / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.916, allocations: 0 / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.916, allocations: 0 / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.9166, allocations: 251.9 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.9167, allocations: 18.58 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.9167, allocations: 12.55 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.9167, allocations: 0.8438 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.9168, allocations: 38.56 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.587e-06/0.9168, allocations: 3.984 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/0.917, allocations: 44.88 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.9171, allocations: 51.41 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9172, allocations: 92.12 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.9172, allocations: 25.7 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.9173, allocations: 84.05 kB / 1.018 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.9173, allocations: 3.562 kB / 1.018 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.9173, allocations: 0.8438 kB / 1.018 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9175, allocations: 326.8 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.9175, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.9176, allocations: 7.562 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.9176, allocations: 4 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9176, allocations: 0 / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.9177, allocations: 37.27 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.9178, allocations: 4 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.9178, allocations: 8.625 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9178, allocations: 8.031 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.918, allocations: 11.98 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.918, allocations: 3.938 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.9181, allocations: 15.89 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.9182, allocations: 0.625 kB / 1.019 GB, free: 4.18 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 7.592e-05/0.9183, allocations: 105 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.9183, allocations: 4.562 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.9183, allocations: 10.52 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.9184, allocations: 3.906 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9184, allocations: 0 / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9184, allocations: 0 / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.9186, allocations: 142.6 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9186, allocations: 0 / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.9187, allocations: 12 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.9187, allocations: 4 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.9188, allocations: 3.984 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9188, allocations: 4 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9188, allocations: 0 / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001459/0.9189, allocations: 135.1 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.919, allocations: 81.14 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.919, allocations: 3.906 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.9192, allocations: 15.92 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.9192, allocations: 3.312 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.9192, allocations: 0 / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.421e-05/0.9193, allocations: 83.27 kB / 1.019 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002887/0.9196, allocations: 4 kB / 1.019 GB, free: 3.516 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.0001513/0.9198, allocations: 101.7 kB / 1.019 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.9199, allocations: 11.25 kB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9199, allocations: 0 / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.9199, allocations: 6.5 kB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.9202, allocations: 7.938 kB / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.9204, allocations: 67.02 kB / 1.019 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.9208, allocations: 0.6998 MB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.9208, allocations: 0 / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of Templates: time 0.003005/0.9238, allocations: 393.9 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB