Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.316/1.316, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009224/0.0009224, allocations: 177.3 kB / 361.1 MB, free: 7.066 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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007616/0.0007617, allocations: 95.62 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.87e-06/4.949e-06, allocations: 0 / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4262, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5612, allocations: 140.7 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.5614, allocations: 75.95 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01694/0.5784, allocations: 6.388 MB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.5784, allocations: 4 kB / 1.107 GB, free: 8.898 MB / 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.0005964/0.579, allocations: 0.5273 MB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.5791, allocations: 8.031 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.5791, allocations: 25.05 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.5796, allocations: 266.6 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5796, allocations: 11.98 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.5797, allocations: 12 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001221/0.5798, allocations: 51.98 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.5799, allocations: 91.77 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5799, allocations: 0 / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.58, allocations: 4 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.58, allocations: 0 / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.5806, allocations: 445.9 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.5809, allocations: 108.4 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.5809, allocations: 28.86 kB / 1.109 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.581, allocations: 4 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.5811, allocations: 97.62 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.5811, allocations: 0 / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002209/0.5813, allocations: 116.2 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.5814, allocations: 63.34 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.5815, allocations: 174.9 kB / 1.109 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.5816, allocations: 29.7 kB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.5816, allocations: 108.2 kB / 1.109 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.5817, allocations: 31.55 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.5817, allocations: 4 kB / 1.109 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5818, allocations: 334.7 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.5819, allocations: 55.98 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.5821, allocations: 117.7 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.5822, allocations: 67.92 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5822, allocations: 3.938 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000361/0.5826, allocations: 205.6 kB / 1.11 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.5826, allocations: 11.94 kB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5826, allocations: 0 / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5826, allocations: 4 kB / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.5827, allocations: 19.98 kB / 1.11 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5827, allocations: 7.906 kB / 1.11 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5829, allocations: 24.08 kB / 1.11 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.5829, allocations: 15.92 kB / 1.11 GB, free: 5.648 MB / 0.7136 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 9.274e-05/0.583, allocations: 122.9 kB / 1.11 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.5831, allocations: 15.81 kB / 1.11 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5833, allocations: 119.2 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5833, allocations: 8 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5833, allocations: 3.906 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5833, allocations: 0 / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.5838, allocations: 438.8 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5838, allocations: 0 / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.5839, allocations: 11.98 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5839, allocations: 0 / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5839, allocations: 0 / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5839, allocations: 5.5 kB / 1.111 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5839, allocations: 3.906 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002075/0.5841, allocations: 214.8 kB / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.5842, allocations: 92.83 kB / 1.111 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.5842, allocations: 11.98 kB / 1.111 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5843, allocations: 12 kB / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.5844, allocations: 15.91 kB / 1.111 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5844, allocations: 8 kB / 1.111 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001027/0.5845, allocations: 141.5 kB / 1.111 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002892/0.5848, allocations: 47.92 kB / 1.112 GB, free: 4.316 MB / 0.7136 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.0002663/0.5851, allocations: 176.3 kB / 1.112 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.5854, allocations: 180.7 kB / 1.112 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5854, allocations: 0 / 1.112 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.5854, allocations: 47.94 kB / 1.112 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.5857, allocations: 50.77 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.5862, allocations: 212.4 kB / 1.112 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.5865, allocations: 0.7632 MB / 1.113 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5866, allocations: 0 / 1.113 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of Templates: time 0.006078/0.5926, allocations: 3.158 MB / 1.116 GB, free: 15.78 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)