Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [: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 loadModel(Buildings): time 4.133/4.133, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5754/4.708, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/4.945, allocations: 98.73 MB / 0.6283 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/5.213, allocations: 127.2 MB / 0.7525 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/5.214, allocations: 75.59 kB / 0.7526 GB, free: 10.4 MB / 0.6355 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.03212/5.246, allocations: 6.928 MB / 0.7593 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/5.246, allocations: 12 kB / 0.7593 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/5.246, allocations: 23.72 kB / 0.7594 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/5.247, allocations: 274.5 kB / 0.7596 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/5.247, allocations: 7.906 kB / 0.7596 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/5.247, allocations: 15.98 kB / 0.7596 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002183/5.247, allocations: 48 kB / 0.7597 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/5.248, allocations: 100.8 kB / 0.7598 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/5.248, allocations: 0 / 0.7598 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/5.248, allocations: 0 / 0.7598 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/5.248, allocations: 4 kB / 0.7598 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/5.249, allocations: 440.9 kB / 0.7602 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/5.249, allocations: 98.75 kB / 0.7603 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/5.249, allocations: 28.86 kB / 0.7603 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/5.249, allocations: 4 kB / 0.7603 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/5.249, allocations: 95.28 kB / 0.7604 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 6.622e-06/5.25, allocations: 4 kB / 0.7604 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003867/5.25, allocations: 113.4 kB / 0.7605 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/5.25, allocations: 59.41 kB / 0.7606 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/5.25, allocations: 178.8 kB / 0.7608 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/5.25, allocations: 29.7 kB / 0.7608 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/5.25, allocations: 104.5 kB / 0.7609 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/5.25, allocations: 39.45 kB / 0.7609 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/5.251, allocations: 0 / 0.7609 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001505/5.251, allocations: 330.8 kB / 0.7612 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/5.251, allocations: 59.92 kB / 0.7613 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/5.251, allocations: 115.7 kB / 0.7614 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/5.252, allocations: 71.92 kB / 0.7615 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/5.252, allocations: 0 / 0.7615 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007958/5.252, allocations: 213.4 kB / 0.7617 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/5.252, allocations: 7.125 kB / 0.7617 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/5.252, allocations: 4 kB / 0.7617 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/5.252, allocations: 0 / 0.7617 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/5.253, allocations: 27.92 kB / 0.7617 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/5.253, allocations: 160 / 0.7617 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/5.253, allocations: 27.83 kB / 0.7618 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/5.253, allocations: 15.98 kB / 0.7618 GB, free: 0.6953 MB / 0.6355 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.0001492/5.253, allocations: 123.3 kB / 0.7619 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/5.253, allocations: 19.77 kB / 0.7619 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/5.254, allocations: 119.2 kB / 0.762 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/5.254, allocations: 4 kB / 0.762 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/5.254, allocations: 0 / 0.762 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/5.254, allocations: 0 / 0.762 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/5.255, allocations: 450.9 kB / 0.7625 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/5.255, allocations: 0 / 0.7625 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/5.255, allocations: 7.984 kB / 0.7625 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/5.255, allocations: 0 / 0.7625 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/5.255, allocations: 4 kB / 0.7625 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/5.255, allocations: 0 / 0.7625 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/5.255, allocations: 0 / 0.7625 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00032/5.255, allocations: 223.1 kB / 0.7627 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004521/5.256, allocations: 0.5855 MB / 0.7632 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/5.256, allocations: 92.92 kB / 0.7633 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/5.256, allocations: 0 / 0.7633 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/5.256, allocations: 15.98 kB / 0.7634 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/5.256, allocations: 23.97 kB / 0.7634 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/5.256, allocations: 8 kB / 0.7634 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002223/5.256, allocations: 128.2 kB / 0.7635 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001396/5.258, allocations: 55.84 kB / 0.7636 GB, free: 14.75 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.0005097/5.258, allocations: 172.8 kB / 0.7637 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005557/5.259, allocations: 183.2 kB / 0.7639 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/5.259, allocations: 0 / 0.7639 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/5.259, allocations: 52.25 kB / 0.7639 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/5.26, allocations: 48.34 kB / 0.764 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/5.261, allocations: 215.7 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/5.261, allocations: 0.7624 MB / 0.7649 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/5.261, allocations: 3.938 kB / 0.7649 GB, free: 13.26 MB / 0.6511 GB