Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [: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.073/2.073, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001637/0.001637, allocations: 185.2 kB / 319.6 MB, free: 3.324 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 1.834/1.834, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00131/0.00131, allocations: 91.38 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.677e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6636/0.8707, allocations: 134.6 MB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.871, allocations: 73.95 kB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02975/0.9008, allocations: 6.37 MB / 1.026 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.9008, allocations: 8 kB / 1.026 GB, free: 14.53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008476/0.9017, allocations: 0.4946 MB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9018, allocations: 12.03 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.9018, allocations: 15.81 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.9027, allocations: 256.7 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.9027, allocations: 7.938 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.9028, allocations: 8 kB / 1.027 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001658/0.903, allocations: 41.05 kB / 1.027 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.9032, allocations: 62.75 kB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9032, allocations: 0 / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.9032, allocations: 7.984 kB / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9032, allocations: 0 / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.9041, allocations: 400.1 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.9043, allocations: 59.27 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.9044, allocations: 24.17 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.9044, allocations: 4 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.9046, allocations: 82.05 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.9046, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002962/0.9049, allocations: 99.67 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.905, allocations: 55.39 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.9052, allocations: 159.5 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.9053, allocations: 28.7 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.9054, allocations: 99.34 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.9054, allocations: 27.3 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.9055, allocations: 3.875 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9056, allocations: 326.5 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.9057, allocations: 26.12 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.9059, allocations: 102.5 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.9061, allocations: 27.84 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9061, allocations: 4 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003106/0.9064, allocations: 117.7 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9064, allocations: 4 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9064, allocations: 7.984 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9065, allocations: 0 / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.9066, allocations: 22.98 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9066, allocations: 4.125 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.907, allocations: 23.83 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.907, allocations: 4 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001312/0.9071, allocations: 116.2 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.9072, allocations: 11.81 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.9073, allocations: 24.17 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9073, allocations: 8 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9073, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9073, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.908, allocations: 393.8 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.9081, allocations: 7.984 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.9081, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.9081, allocations: 4 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.9081, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9081, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9082, allocations: 3.953 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002426/0.9084, allocations: 192.9 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.9085, allocations: 100.4 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.9085, allocations: 3.984 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.9087, allocations: 8 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.9088, allocations: 15.91 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.9088, allocations: 11.5 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001419/0.909, allocations: 123.4 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004413/0.9094, allocations: 47.27 kB / 1.029 GB, free: 10.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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004362/0.9099, allocations: 157 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.9102, allocations: 66.12 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9102, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.9103, allocations: 42.42 kB / 1.03 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.9108, allocations: 35.28 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.9115, allocations: 189 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.912, allocations: 0.7354 MB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/0.912, allocations: 0 / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of Templates: time 0.009827/0.9219, allocations: 2.889 MB / 1.033 GB, free: 6.812 MB / 0.6511 GB