Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 180.8 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 85.33 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.25e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5905, allocations: 135.4 MB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5907, allocations: 75.89 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01715/0.6079, allocations: 6.385 MB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.6079, allocations: 11.94 kB / 1.023 GB, free: 14.17 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.0005626/0.6085, allocations: 0.5108 MB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6085, allocations: 8.031 kB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.6086, allocations: 27.66 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.6091, allocations: 279.1 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6091, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.6092, allocations: 23.83 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/0.6093, allocations: 54.17 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6095, allocations: 92.08 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6095, allocations: 3.984 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6095, allocations: 3.438 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.6095, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.6102, allocations: 447 kB / 1.025 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.6104, allocations: 93.72 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.6105, allocations: 35.23 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.6105, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.6107, allocations: 100.8 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.6107, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002245/0.6109, allocations: 107.6 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.6109, allocations: 59.39 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.6111, allocations: 177.3 kB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.6111, allocations: 34.45 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.6112, allocations: 111.1 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.6112, allocations: 34.41 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.6113, allocations: 4 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6114, allocations: 330.7 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.6115, allocations: 54.41 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.6116, allocations: 125.8 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.6118, allocations: 60.27 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6118, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003529/0.6121, allocations: 218.6 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6121, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6122, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6122, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.6123, allocations: 19.56 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.6123, allocations: 7.984 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6125, allocations: 20 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6125, allocations: 19.98 kB / 1.026 GB, free: 11.21 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 8.523e-05/0.6126, allocations: 114.5 kB / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.6126, allocations: 19.72 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.6128, allocations: 122.4 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6129, allocations: 4 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6129, allocations: 3.938 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6129, allocations: 3.984 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.6134, allocations: 449.3 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6134, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.6134, allocations: 4 kB / 1.027 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6135, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6135, allocations: 12 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6135, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6135, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001973/0.6137, allocations: 219.9 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.6138, allocations: 96.91 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.6138, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6139, allocations: 15.98 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.614, allocations: 11.92 kB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.614, allocations: 11.98 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.282e-05/0.6141, allocations: 130.6 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002883/0.6144, allocations: 54.89 kB / 1.027 GB, free: 10 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.0003057/0.6147, allocations: 171.4 kB / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.615, allocations: 171.6 kB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.615, allocations: 4.125 kB / 1.028 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.6151, allocations: 56.91 kB / 1.028 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.6154, allocations: 42.81 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.6159, allocations: 215 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.6163, allocations: 0.7657 MB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of SimCode: time 2e-07/0.6163, allocations: 4 kB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of Templates: time 0.006132/0.6224, allocations: 3.145 MB / 1.032 GB, free: 5.496 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)