Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [: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.267/2.267, allocations: 253.1 MB / 260.4 MB, free: 7.625 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.001818/0.001817, allocations: 181.3 kB / 319.6 MB, free: 3.293 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.177/2.177, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001382/0.001382, allocations: 99.3 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.202e-05/1.218e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7646/1.046, allocations: 132.1 MB / 1.017 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.046, allocations: 73.2 kB / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01448/1.061, allocations: 2.39 MB / 1.02 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.061, allocations: 4 kB / 1.02 GB, free: 3.953 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001833/1.063, allocations: 0.5401 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/1.063, allocations: 12.03 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.063, allocations: 19.72 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/1.063, allocations: 251.9 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/1.064, allocations: 7.062 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/1.064, allocations: 15.91 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005802/1.064, allocations: 167.2 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/1.065, allocations: 195.5 kB / 1.021 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.065, allocations: 0 / 1.021 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/1.065, allocations: 7.984 kB / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.065, allocations: 4 kB / 1.021 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/1.067, allocations: 0.6451 MB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/1.068, allocations: 176.3 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/1.068, allocations: 109.3 kB / 1.022 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/1.068, allocations: 4 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/1.069, allocations: 191.1 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 4.689e-06/1.069, allocations: 7.984 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0008403/1.07, allocations: 258.1 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/1.07, allocations: 59.39 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/1.07, allocations: 159.6 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/1.07, allocations: 29.7 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/1.07, allocations: 107.6 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/1.07, allocations: 73.58 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/1.07, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.07, allocations: 333.4 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/1.071, allocations: 103.2 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/1.071, allocations: 97.28 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.071, allocations: 86.06 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.071, allocations: 7.938 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000872/1.072, allocations: 257.2 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.072, allocations: 8 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.072, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.072, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/1.073, allocations: 103.2 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.073, allocations: 4 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/1.074, allocations: 75.62 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/1.074, allocations: 7.312 kB / 1.023 GB, free: 336 kB / 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: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001979/1.074, allocations: 129.7 kB / 1.024 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/1.074, allocations: 19.72 kB / 1.024 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/1.074, allocations: 19.16 kB / 1.024 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.074, allocations: 4.875 kB / 1.024 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.075, allocations: 0 / 1.024 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/1.075, allocations: 3.984 kB / 1.024 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.076, allocations: 0.5916 MB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.076, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/1.076, allocations: 71.56 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.076, allocations: 4.562 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/1.077, allocations: 3.984 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.077, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.077, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007994/1.077, allocations: 360.3 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/1.077, allocations: 96.86 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/1.078, allocations: 11.45 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.078, allocations: 63.94 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.079, allocations: 35.69 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.079, allocations: 14.86 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001431/1.079, allocations: 123.8 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004877/1.079, allocations: 51.92 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002447/1.079, allocations: 114.6 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008329/1.08, allocations: 268.1 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.08, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.081, allocations: 143.5 kB / 1.026 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/1.081, allocations: 31.31 kB / 1.026 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/1.083, allocations: 341.5 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/1.083, allocations: 0.7661 MB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 3.446e-06/1.084, allocations: 0 / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.01134/1.095, allocations: 3.481 MB / 1.03 GB, free: 9.902 MB / 0.6511 GB