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.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [: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.296/2.296, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.002251/0.00225, allocations: 193.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.198/2.198, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001265/0.001264, allocations: 100.2 kB / 0.6746 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.233e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7304/1, allocations: 131.8 MB / 1.017 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1, allocations: 66.22 kB / 1.017 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0112/1.012, allocations: 1.819 MB / 1.019 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.532e-05/1.012, allocations: 0 / 1.019 GB, free: 4.863 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001559/1.013, allocations: 0.4931 MB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.013, allocations: 8.031 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/1.013, allocations: 15.81 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.014, allocations: 216.9 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/1.014, allocations: 8 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/1.014, allocations: 4 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002955/1.014, allocations: 68.11 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/1.015, allocations: 133.7 kB / 1.02 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.015, allocations: 3.938 kB / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.015, allocations: 0 / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/1.015, allocations: 4 kB / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/1.016, allocations: 0.7742 MB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.017, allocations: 132.8 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/1.017, allocations: 53.3 kB / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.017, allocations: 15.92 kB / 1.021 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/1.017, allocations: 133.9 kB / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/1.017, allocations: 0 / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004217/1.018, allocations: 115.9 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.018, allocations: 158.2 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/1.018, allocations: 149.3 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/1.018, allocations: 29.7 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/1.018, allocations: 103.8 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/1.018, allocations: 31.02 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.018, allocations: 0 / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.018, allocations: 333.5 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.019, allocations: 40.69 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.019, allocations: 73.69 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.019, allocations: 35.23 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.019, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004436/1.019, allocations: 149.1 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.019, allocations: 4 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.019, allocations: 0 / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.019, allocations: 7.938 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/1.02, allocations: 74.16 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.02, allocations: 4.141 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/1.021, allocations: 63.86 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.021, allocations: 7.938 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000186/1.021, allocations: 112.9 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/1.021, allocations: 15.81 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/1.021, allocations: 19.66 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.021, allocations: 4 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.021, allocations: 3.984 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.021, allocations: 0 / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/1.021, allocations: 203.2 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.022, allocations: 0 / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/1.022, allocations: 59.14 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.022, allocations: 8.094 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/1.022, allocations: 3.984 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.022, allocations: 4 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.022, allocations: 3.984 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004131/1.023, allocations: 208.4 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/1.023, allocations: 92.05 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.023, allocations: 4 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.023, allocations: 59.94 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.023, allocations: 30.64 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/1.023, allocations: 10.91 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001391/1.024, allocations: 125.9 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003771/1.024, allocations: 27.94 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002113/1.024, allocations: 107.2 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004087/1.025, allocations: 93.8 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.025, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/1.025, allocations: 68.3 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/1.025, allocations: 22.92 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/1.026, allocations: 215.3 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.027, allocations: 0.7422 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/1.027, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.007778/1.035, allocations: 2.091 MB / 1.026 GB, free: 13.1 MB / 0.6511 GB