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.Scatter.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.Scatter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter",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.383/4.383, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5879/4.971, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/5.257, allocations: 98.73 MB / 0.6283 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/5.569, allocations: 126.9 MB / 0.7522 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004247/5.569, allocations: 79.59 kB / 0.7523 GB, free: 10.72 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.04115/5.61, allocations: 6.328 MB / 0.7584 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/5.61, allocations: 8 kB / 0.7585 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/5.61, allocations: 19.81 kB / 0.7585 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/5.611, allocations: 250.7 kB / 0.7587 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/5.611, allocations: 7.906 kB / 0.7587 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/5.611, allocations: 8 kB / 0.7587 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002151/5.612, allocations: 52.36 kB / 0.7588 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/5.612, allocations: 78.98 kB / 0.7589 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/5.612, allocations: 0 / 0.7589 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/5.612, allocations: 3.938 kB / 0.7589 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/5.612, allocations: 7.984 kB / 0.7589 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/5.613, allocations: 421.5 kB / 0.7593 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/5.613, allocations: 74.5 kB / 0.7593 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/5.613, allocations: 24.86 kB / 0.7594 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/5.613, allocations: 4 kB / 0.7594 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/5.614, allocations: 95.28 kB / 0.7595 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/5.614, allocations: 0 / 0.7595 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003516/5.614, allocations: 97.72 kB / 0.7595 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/5.614, allocations: 55.39 kB / 0.7596 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/5.614, allocations: 169.1 kB / 0.7598 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/5.614, allocations: 33.7 kB / 0.7598 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/5.615, allocations: 108.3 kB / 0.7599 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/5.615, allocations: 31.59 kB / 0.7599 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/5.615, allocations: 0 / 0.7599 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001821/5.615, allocations: 326.8 kB / 0.7602 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/5.615, allocations: 24 kB / 0.7603 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/5.615, allocations: 123.1 kB / 0.7604 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/5.615, allocations: 39.92 kB / 0.7604 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.615, allocations: 0 / 0.7604 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005326/5.616, allocations: 129.3 kB / 0.7605 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/5.616, allocations: 4 kB / 0.7605 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/5.616, allocations: 0 / 0.7605 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/5.616, allocations: 4 kB / 0.7605 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/5.616, allocations: 19.92 kB / 0.7606 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/5.616, allocations: 4.156 kB / 0.7606 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/5.617, allocations: 27.83 kB / 0.7606 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/5.617, allocations: 4 kB / 0.7606 GB, free: 1.906 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0002288/5.617, allocations: 116.9 kB / 0.7607 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/5.617, allocations: 11.81 kB / 0.7607 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/5.618, allocations: 111.1 kB / 0.7608 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/5.618, allocations: 4 kB / 0.7608 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/5.618, allocations: 8.031 kB / 0.7608 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/5.618, allocations: 11.83 kB / 0.7609 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/5.619, allocations: 406.9 kB / 0.7612 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/5.619, allocations: 4 kB / 0.7612 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/5.62, allocations: 7.984 kB / 0.7613 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/5.62, allocations: 0 / 0.7613 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/5.62, allocations: 0 / 0.7613 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/5.62, allocations: 4 kB / 0.7613 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/5.62, allocations: 3.938 kB / 0.7613 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006511/5.62, allocations: 203.8 kB / 0.7615 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007879/5.621, allocations: 0.5701 MB / 0.762 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/5.621, allocations: 92.86 kB / 0.7621 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/5.621, allocations: 11.89 kB / 0.7621 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/5.622, allocations: 4 kB / 0.7621 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/5.622, allocations: 23.97 kB / 0.7621 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/5.622, allocations: 4 kB / 0.7621 GB, free: 212 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002699/5.622, allocations: 132.3 kB / 0.7623 GB, free: 80 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003119/5.625, allocations: 47.94 kB / 0.7623 GB, free: 32 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006951/5.626, allocations: 166.9 kB / 0.7625 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005292/5.627, allocations: 79.92 kB / 0.7625 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/5.627, allocations: 0 / 0.7625 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/5.627, allocations: 40.25 kB / 0.7626 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/5.628, allocations: 48 kB / 0.7626 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/5.629, allocations: 192.2 kB / 0.7628 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/5.63, allocations: 0.7549 MB / 0.7636 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/5.63, allocations: 0 / 0.7636 GB, free: 14.71 MB / 0.6511 GB