Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.147/2.147, allocations: 253.1 MB / 260.4 MB, free: 7.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 92.94 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.106e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2214, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6396/0.861, allocations: 135.6 MB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004442/0.8615, allocations: 80.45 kB / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05422/0.9158, allocations: 7.532 MB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.9159, allocations: 4 kB / 1.028 GB, free: 12.54 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001048/0.9169, allocations: 0.5395 MB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.917, allocations: 9.062 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.609e-05/0.9171, allocations: 23.81 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.9179, allocations: 259.5 kB / 1.029 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.918, allocations: 3.5 kB / 1.029 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.918, allocations: 23.91 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00019/0.9182, allocations: 37.69 kB / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.9185, allocations: 76.59 kB / 1.029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9185, allocations: 4 kB / 1.029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.9185, allocations: 3.562 kB / 1.029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9185, allocations: 0 / 1.029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.9195, allocations: 416.2 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.9198, allocations: 90.31 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.9199, allocations: 30.73 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.9199, allocations: 0 / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.9201, allocations: 104.9 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.9202, allocations: 4 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003474/0.9205, allocations: 103.6 kB / 1.03 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.9206, allocations: 55.39 kB / 1.03 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.9208, allocations: 170.1 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.9209, allocations: 29.7 kB / 1.03 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.921, allocations: 111.6 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.921, allocations: 30.73 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.9211, allocations: 3.938 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.9213, allocations: 329.7 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.9214, allocations: 26.31 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.9217, allocations: 122.7 kB / 1.03 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.9218, allocations: 33.61 kB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9218, allocations: 0 / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003454/0.9221, allocations: 138.9 kB / 1.031 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9222, allocations: 4 kB / 1.031 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.9222, allocations: 4 kB / 1.031 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9222, allocations: 0 / 1.031 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.9224, allocations: 19.55 kB / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9224, allocations: 4.125 kB / 1.031 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.9228, allocations: 31.83 kB / 1.031 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.9228, allocations: 4 kB / 1.031 GB, free: 9.773 MB / 0.6511 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.pulseStart,booPul.pulseStart) * 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.0001463/0.923, allocations: 118.1 kB / 1.031 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.923, allocations: 19.81 kB / 1.031 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.9231, allocations: 20.7 kB / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9231, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9231, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.9232, allocations: 3.906 kB / 1.031 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.9242, allocations: 452.9 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9242, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.9242, allocations: 19.92 kB / 1.031 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.9243, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.9243, allocations: 3.375 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.9243, allocations: 3.906 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9243, allocations: 48 / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003041/0.9246, allocations: 204 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.9247, allocations: 100.8 kB / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.9248, allocations: 3.906 kB / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.925, allocations: 23.73 kB / 1.032 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.9251, allocations: 19.95 kB / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.9252, allocations: 11.56 kB / 1.032 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001521/0.9253, allocations: 130.4 kB / 1.032 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004752/0.9258, allocations: 51.92 kB / 1.032 GB, free: 8.621 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: 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.pulseStart) * 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.0004421/0.9263, allocations: 152.5 kB / 1.032 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.9266, allocations: 88.44 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9266, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.9268, allocations: 53.8 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.9274, allocations: 50.86 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.9282, allocations: 207.6 kB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.9287, allocations: 0.7464 MB / 1.033 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.9287, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of Templates: time 0.01135/0.94, allocations: 3.244 MB / 1.036 GB, free: 4.148 MB / 0.6511 GB