Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.482/1.482, allocations: 289.8 MB / 297.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.3 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.2 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.000916, allocations: 98.3 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.465e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5888/0.5888, allocations: 116.3 MB / 0.9725 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.7525, allocations: 141.7 MB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.7528, allocations: 76.91 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01883/0.7717, allocations: 6.393 MB / 1.117 GB, free: 416 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.7717, allocations: 8 kB / 1.117 GB, free: 408 kB / 0.7136 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.0006795/0.7724, allocations: 0.526 MB / 1.118 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7724, allocations: 8.031 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.7725, allocations: 19.81 kB / 1.118 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.773, allocations: 270.5 kB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.773, allocations: 4 kB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.7731, allocations: 15.94 kB / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/0.7732, allocations: 47.98 kB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7734, allocations: 90.34 kB / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7734, allocations: 0 / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7734, allocations: 11.98 kB / 1.118 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7734, allocations: 4 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.7741, allocations: 436.8 kB / 1.119 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.7744, allocations: 97.53 kB / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.7744, allocations: 32.86 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.7745, allocations: 3.984 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.7746, allocations: 107.5 kB / 1.119 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.7746, allocations: 0 / 1.119 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002355/0.7749, allocations: 115.2 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.7749, allocations: 55.41 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.7751, allocations: 178.8 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.7751, allocations: 33.7 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.7752, allocations: 105 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.7752, allocations: 35.55 kB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.7752, allocations: 4 kB / 1.119 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7753, allocations: 334.7 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.7755, allocations: 51.98 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.7756, allocations: 126.2 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.7758, allocations: 63.95 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7758, allocations: 0 / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004054/0.7762, allocations: 201.3 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7762, allocations: 16.17 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7762, allocations: 3.938 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7762, allocations: 4 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.7763, allocations: 15.94 kB / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7763, allocations: 9.938 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.7765, allocations: 19.92 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.7766, allocations: 15.98 kB / 1.12 GB, free: 13.15 MB / 0.7292 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 8.889e-05/0.7767, allocations: 122.8 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7767, allocations: 16.66 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.7769, allocations: 119.2 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7769, allocations: 4 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.777, allocations: 3.906 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.777, allocations: 0 / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.7775, allocations: 438.8 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7775, allocations: 3.984 kB / 1.121 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.7775, allocations: 8 kB / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.7776, allocations: 0 / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.7776, allocations: 4.781 kB / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.7776, allocations: 8 kB / 1.121 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7776, allocations: 7.906 kB / 1.121 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000247/0.7778, allocations: 213.7 kB / 1.121 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.7779, allocations: 96.81 kB / 1.121 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.778, allocations: 4 kB / 1.121 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.7781, allocations: 11.98 kB / 1.121 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.7781, allocations: 15.98 kB / 1.121 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.7782, allocations: 11.98 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.444e-05/0.7783, allocations: 134.3 kB / 1.121 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000313/0.7786, allocations: 51.91 kB / 1.121 GB, free: 11.82 MB / 0.7292 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.0003264/0.7789, allocations: 168.2 kB / 1.122 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.7792, allocations: 175.3 kB / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7792, allocations: 0 / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.7793, allocations: 51.34 kB / 1.122 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7797, allocations: 55.66 kB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.7802, allocations: 215.8 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.7806, allocations: 0.7624 MB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.7806, allocations: 0 / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.006738/0.7873, allocations: 3.171 MB / 1.126 GB, free: 7.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)