Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.234/4.234, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5423/4.777, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/5.015, allocations: 98.72 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/5.297, allocations: 126.5 MB / 0.7519 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/5.298, allocations: 79.59 kB / 0.7519 GB, free: 11.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.04166/5.34, allocations: 6.876 MB / 0.7586 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/5.34, allocations: 8 kB / 0.7586 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/5.34, allocations: 19.81 kB / 0.7587 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/5.341, allocations: 254.7 kB / 0.7589 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/5.341, allocations: 4 kB / 0.7589 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/5.341, allocations: 15.94 kB / 0.7589 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001797/5.341, allocations: 35.98 kB / 0.759 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/5.341, allocations: 69.67 kB / 0.759 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/5.341, allocations: 0 / 0.759 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/5.341, allocations: 4 kB / 0.759 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/5.341, allocations: 3.906 kB / 0.759 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/5.342, allocations: 393.1 kB / 0.7594 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/5.343, allocations: 58.58 kB / 0.7595 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/5.343, allocations: 28.84 kB / 0.7595 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/5.343, allocations: 3.984 kB / 0.7595 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/5.343, allocations: 83.3 kB / 0.7596 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/5.343, allocations: 0 / 0.7596 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.000322/5.343, allocations: 101.4 kB / 0.7597 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/5.343, allocations: 59.41 kB / 0.7597 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/5.344, allocations: 162.5 kB / 0.7599 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/5.344, allocations: 29.69 kB / 0.7599 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/5.344, allocations: 104 kB / 0.76 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/5.344, allocations: 19.72 kB / 0.76 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/5.344, allocations: 0 / 0.76 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001376/5.344, allocations: 322.8 kB / 0.7603 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/5.344, allocations: 24 kB / 0.7604 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/5.344, allocations: 114.8 kB / 0.7605 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/5.344, allocations: 27.92 kB / 0.7605 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/5.344, allocations: 0 / 0.7605 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003131/5.345, allocations: 117.4 kB / 0.7606 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/5.345, allocations: 4 kB / 0.7606 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.345, allocations: 3.984 kB / 0.7606 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/5.345, allocations: 4 kB / 0.7606 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/5.345, allocations: 11.94 kB / 0.7606 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/5.345, allocations: 7.906 kB / 0.7606 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/5.345, allocations: 24.05 kB / 0.7607 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/5.345, allocations: 8 kB / 0.7607 GB, free: 1.805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001499/5.346, allocations: 116.9 kB / 0.7608 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/5.346, allocations: 19.72 kB / 0.7608 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/5.346, allocations: 21.39 kB / 0.7608 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/5.346, allocations: 0 / 0.7608 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/5.346, allocations: 4 kB / 0.7608 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/5.346, allocations: 0 / 0.7608 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/5.347, allocations: 386.9 kB / 0.7612 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/5.347, allocations: 0 / 0.7612 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/5.347, allocations: 4 kB / 0.7612 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/5.347, allocations: 4 kB / 0.7612 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/5.347, allocations: 8 kB / 0.7612 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/5.347, allocations: 3.906 kB / 0.7612 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.347, allocations: 0 / 0.7612 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002707/5.347, allocations: 187.3 kB / 0.7614 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005985/5.348, allocations: 0.5583 MB / 0.7619 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/5.348, allocations: 96.84 kB / 0.762 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/5.348, allocations: 7.906 kB / 0.762 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/5.348, allocations: 11.98 kB / 0.7621 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/5.348, allocations: 15.98 kB / 0.7621 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/5.348, allocations: 4 kB / 0.7621 GB, free: 272 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002628/5.349, allocations: 133.2 kB / 0.7622 GB, free: 140 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002803/5.352, allocations: 43.94 kB / 0.7622 GB, free: 96 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0008654/5.353, allocations: 167.3 kB / 0.7624 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004839/5.353, allocations: 71.92 kB / 0.7625 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/5.353, allocations: 3.938 kB / 0.7625 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/5.353, allocations: 35.94 kB / 0.7625 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/5.354, allocations: 40.06 kB / 0.7625 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/5.356, allocations: 180.1 kB / 0.7627 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/5.357, allocations: 0.7509 MB / 0.7634 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.713e-06/5.357, allocations: 0 / 0.7634 GB, free: 14.8 MB / 0.6511 GB