Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") [: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.32/2.32, 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.001565/0.001565, allocations: 181.3 kB / 319.6 MB, free: 3.309 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.806/1.806, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001333/0.001333, allocations: 91.39 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.208e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6687/0.8623, allocations: 135.2 MB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.8627, allocations: 83.62 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.031/0.8937, allocations: 6.387 MB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.8938, allocations: 8 kB / 1.026 GB, free: 13.84 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009721/0.8948, allocations: 0.5198 MB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8949, allocations: 8.031 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.895, allocations: 23.72 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.8958, allocations: 282.3 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.8958, allocations: 7.938 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.8959, allocations: 12 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002337/0.8961, allocations: 52.89 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.8964, allocations: 90.28 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8965, allocations: 0 / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.8965, allocations: 7.922 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.8965, allocations: 4 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.8976, allocations: 434.7 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.898, allocations: 112 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.8981, allocations: 33.89 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.8981, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.8984, allocations: 92.67 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.8984, allocations: 8 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004098/0.8988, allocations: 119.1 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.8989, allocations: 51.41 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.8992, allocations: 178.3 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.8993, allocations: 32.81 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.8994, allocations: 104.3 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.8994, allocations: 38.58 kB / 1.029 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.8995, allocations: 4 kB / 1.029 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8996, allocations: 325.6 kB / 1.029 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.8998, allocations: 62.22 kB / 1.029 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.9001, allocations: 119.5 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.9004, allocations: 68.61 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9004, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006555/0.901, allocations: 207 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9011, allocations: 10.19 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.9011, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.9011, allocations: 8 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.9013, allocations: 19.61 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.9014, allocations: 12.09 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.9017, allocations: 23.83 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.9018, allocations: 15.92 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001523/0.902, allocations: 118.1 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.902, allocations: 19.72 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.9024, allocations: 124.3 kB / 1.03 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.9024, allocations: 8 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9024, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9024, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.9033, allocations: 446.3 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9034, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.9034, allocations: 8 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.9035, allocations: 48 / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.9035, allocations: 7.969 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9035, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9035, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003241/0.9039, allocations: 214.2 kB / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.9039, allocations: 100.7 kB / 1.03 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.904, allocations: 4 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.9042, allocations: 7.984 kB / 1.03 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.9043, allocations: 15.97 kB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.9043, allocations: 11.56 kB / 1.03 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001624/0.9045, allocations: 130.8 kB / 1.031 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000525/0.905, allocations: 52.09 kB / 1.031 GB, free: 9.656 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004783/0.9055, allocations: 168.2 kB / 1.031 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.9061, allocations: 182.9 kB / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9061, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.9062, allocations: 50.3 kB / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.9068, allocations: 48.3 kB / 1.031 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.9077, allocations: 216 kB / 1.031 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.9082, allocations: 0.75 MB / 1.032 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of SimCode: time 7.705e-06/0.9082, allocations: 3.938 kB / 1.032 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.01155/0.9198, allocations: 3.171 MB / 1.035 GB, free: 5.133 MB / 0.6511 GB