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.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.431/4.431, allocations: 433 MB / 440.3 MB, free: 24.71 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2592/4.69, allocations: 104.3 MB / 0.5319 GB, free: 4.496 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/5.272, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/5.546, allocations: 127.7 MB / 0.7529 GB, free: 1.496 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004247/5.547, allocations: 75.95 kB / 0.753 GB, free: 1.422 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.04168/5.589, allocations: 8.656 MB / 0.7615 GB, free: 8.68 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/5.589, allocations: 8 kB / 0.7615 GB, free: 8.672 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/5.589, allocations: 23.72 kB / 0.7615 GB, free: 8.648 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/5.59, allocations: 254.6 kB / 0.7617 GB, free: 8.359 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/5.59, allocations: 7.938 kB / 0.7617 GB, free: 8.352 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/5.59, allocations: 15.98 kB / 0.7618 GB, free: 8.336 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002108/5.59, allocations: 39.94 kB / 0.7618 GB, free: 8.297 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/5.59, allocations: 87.55 kB / 0.7619 GB, free: 8.207 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/5.59, allocations: 0 / 0.7619 GB, free: 8.207 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/5.59, allocations: 0 / 0.7619 GB, free: 8.207 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/5.59, allocations: 0 / 0.7619 GB, free: 8.207 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/5.591, allocations: 420.9 kB / 0.7623 GB, free: 7.758 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/5.592, allocations: 86.81 kB / 0.7624 GB, free: 7.664 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/5.592, allocations: 36.84 kB / 0.7624 GB, free: 7.625 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/5.592, allocations: 0 / 0.7624 GB, free: 7.625 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/5.592, allocations: 99.92 kB / 0.7625 GB, free: 7.516 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/5.592, allocations: 0 / 0.7625 GB, free: 7.516 MB / 0.6277 GB Notification: Performance of matching and sorting (n=16): time 0.0003827/5.592, allocations: 105.4 kB / 0.7626 GB, free: 7.406 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/5.592, allocations: 67.33 kB / 0.7627 GB, free: 7.328 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/5.593, allocations: 169.7 kB / 0.7628 GB, free: 7.152 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/5.593, allocations: 29.7 kB / 0.7628 GB, free: 7.117 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/5.593, allocations: 100.5 kB / 0.7629 GB, free: 7.016 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/5.593, allocations: 35.59 kB / 0.763 GB, free: 6.98 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/5.593, allocations: 0 / 0.763 GB, free: 6.98 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0001641/5.593, allocations: 326.8 kB / 0.7633 GB, free: 6.652 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/5.593, allocations: 28.59 kB / 0.7633 GB, free: 6.625 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/5.594, allocations: 121.9 kB / 0.7634 GB, free: 6.48 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/5.594, allocations: 35.83 kB / 0.7635 GB, free: 6.445 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/5.594, allocations: 4 kB / 0.7635 GB, free: 6.441 MB / 0.6277 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004081/5.594, allocations: 136.5 kB / 0.7636 GB, free: 6.305 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/5.594, allocations: 4 kB / 0.7636 GB, free: 6.301 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/5.594, allocations: 4 kB / 0.7636 GB, free: 6.297 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/5.594, allocations: 0 / 0.7636 GB, free: 6.297 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/5.594, allocations: 19.92 kB / 0.7636 GB, free: 6.277 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/5.594, allocations: 4 kB / 0.7636 GB, free: 6.273 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/5.595, allocations: 31.95 kB / 0.7637 GB, free: 6.242 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/5.595, allocations: 8 kB / 0.7637 GB, free: 6.234 MB / 0.6277 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulsStart,booPul.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001893/5.595, allocations: 114.7 kB / 0.7638 GB, free: 6.113 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/5.595, allocations: 15.81 kB / 0.7638 GB, free: 6.098 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.352e-05/5.595, allocations: 21.58 kB / 0.7638 GB, free: 6.074 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/5.595, allocations: 7.906 kB / 0.7638 GB, free: 6.066 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/5.595, allocations: 0 / 0.7638 GB, free: 6.066 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/5.595, allocations: 0 / 0.7638 GB, free: 6.066 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/5.596, allocations: 454.7 kB / 0.7643 GB, free: 5.578 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/5.596, allocations: 0 / 0.7643 GB, free: 5.578 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/5.596, allocations: 11.98 kB / 0.7643 GB, free: 5.566 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/5.596, allocations: 7.906 kB / 0.7643 GB, free: 5.559 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/5.596, allocations: 4 kB / 0.7643 GB, free: 5.555 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/5.596, allocations: 0 / 0.7643 GB, free: 5.555 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/5.596, allocations: 3.938 kB / 0.7643 GB, free: 5.551 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003315/5.597, allocations: 207.3 kB / 0.7645 GB, free: 5.332 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004882/5.597, allocations: 0.5778 MB / 0.765 GB, free: 4.734 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/5.597, allocations: 96.86 kB / 0.7651 GB, free: 4.621 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/5.597, allocations: 7.984 kB / 0.7651 GB, free: 4.613 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/5.598, allocations: 19.89 kB / 0.7652 GB, free: 4.594 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/5.598, allocations: 15.97 kB / 0.7652 GB, free: 4.578 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/5.598, allocations: 15.98 kB / 0.7652 GB, free: 4.562 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0001729/5.598, allocations: 128.5 kB / 0.7653 GB, free: 4.438 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001385/5.6, allocations: 44 kB / 0.7654 GB, free: 4.395 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004916/5.6, allocations: 174 kB / 0.7655 GB, free: 4.223 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0003705/5.6, allocations: 95.86 kB / 0.7656 GB, free: 4.129 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.6, allocations: 0 / 0.7656 GB, free: 4.129 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/5.601, allocations: 47.94 kB / 0.7657 GB, free: 4.082 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/5.601, allocations: 48.23 kB / 0.7657 GB, free: 4.035 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/5.602, allocations: 192.5 kB / 0.7659 GB, free: 3.82 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/5.603, allocations: 0.7474 MB / 0.7666 GB, free: 3.051 MB / 0.6277 GB Notification: Performance of SimCode: time 7.62e-07/5.603, allocations: 8 kB / 0.7666 GB, free: 3.043 MB / 0.6277 GB