Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.Scatter.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.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.Scatter") [: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.186/2.186, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001633/0.001633, allocations: 177.3 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 1.958/1.958, 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.001834/0.001833, allocations: 91.62 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.04e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6448/0.8446, allocations: 134.9 MB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.8449, allocations: 80.33 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02831/0.8733, allocations: 5.804 MB / 1.026 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.8733, allocations: 4 kB / 1.026 GB, free: 14.63 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009352/0.8743, allocations: 0.5122 MB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8743, allocations: 8.031 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.8745, allocations: 19.81 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.8752, allocations: 259.3 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.8753, allocations: 7.984 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.8753, allocations: 8 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001979/0.8755, allocations: 48.91 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.8758, allocations: 89.83 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8758, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.8758, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.8759, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.8768, allocations: 423.2 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.877, allocations: 70.52 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.8771, allocations: 38.19 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.8772, allocations: 0 / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.8774, allocations: 88.55 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.8774, allocations: 0 / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003161/0.8777, allocations: 97.8 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.8778, allocations: 62.84 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.878, allocations: 170.5 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.8781, allocations: 29.7 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.8782, allocations: 111.3 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.8782, allocations: 26 kB / 1.028 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.8782, allocations: 3.125 kB / 1.028 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8784, allocations: 328.9 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.8785, allocations: 26.45 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.8788, allocations: 122.9 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8789, allocations: 34.67 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8789, allocations: 0 / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000334/0.8792, allocations: 130.3 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.8793, allocations: 16.11 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8793, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8793, allocations: 7.938 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.8795, allocations: 15.94 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8795, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.8799, allocations: 24.08 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.8799, allocations: 11.94 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001272/0.88, allocations: 112.8 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.8801, allocations: 19.8 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.8804, allocations: 101.8 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8804, allocations: 4 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8804, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8805, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.8812, allocations: 418 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8813, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.8813, allocations: 8 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8814, allocations: 0 / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8814, allocations: 0 / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8814, allocations: 3.984 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.8814, allocations: 0 / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002729/0.8817, allocations: 203.3 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.8818, allocations: 96.42 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.8818, allocations: 7.984 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.882, allocations: 8 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.8821, allocations: 11.97 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.8821, allocations: 10.92 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001428/0.8823, allocations: 133.8 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004797/0.8828, allocations: 39.91 kB / 1.029 GB, free: 10.74 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 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004525/0.8833, allocations: 183.2 kB / 1.03 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.8836, allocations: 83.67 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8836, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.8837, allocations: 34.94 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.8842, allocations: 37.97 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.885, allocations: 196.9 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.8855, allocations: 0.7467 MB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/0.8855, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of Templates: time 0.009879/0.8954, allocations: 2.937 MB / 1.033 GB, free: 6.578 MB / 0.6511 GB