Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [: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.155/2.155, allocations: 253.1 MB / 260.4 MB, free: 7.613 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: 188.5 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.888/1.888, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.00179/0.001789, allocations: 100.2 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.907e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2046, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6045/0.8092, allocations: 135.7 MB / 1.021 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.8095, allocations: 75.45 kB / 1.021 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04389/0.8534, allocations: 8.149 MB / 1.029 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.8535, allocations: 4 kB / 1.029 GB, free: 12.02 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.00141/0.8549, allocations: 0.5225 MB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.855, allocations: 12.03 kB / 1.029 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.8552, allocations: 15.81 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8564, allocations: 263.3 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8564, allocations: 8 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.8565, allocations: 15.94 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002814/0.8568, allocations: 45.73 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.8571, allocations: 75.61 kB / 1.03 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8572, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.8572, allocations: 3.984 kB / 1.03 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.8572, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.8587, allocations: 418.5 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.8592, allocations: 86.25 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.8594, allocations: 35.05 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.8594, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.8597, allocations: 102.7 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 4.498e-06/0.8598, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005749/0.8603, allocations: 108 kB / 1.03 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.8604, allocations: 55.41 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.8608, allocations: 182.4 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.8609, allocations: 25.7 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.8611, allocations: 103.6 kB / 1.031 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.8612, allocations: 34.98 kB / 1.031 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.8612, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.8614, allocations: 332.8 kB / 1.031 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.8616, allocations: 25.69 kB / 1.031 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.862, allocations: 115.8 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.8622, allocations: 40.12 kB / 1.031 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.8623, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006466/0.8629, allocations: 138.1 kB / 1.031 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.863, allocations: 4 kB / 1.031 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.863, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.863, allocations: 4 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.8633, allocations: 12 kB / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.8633, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.864, allocations: 32 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.8641, allocations: 11.06 kB / 1.031 GB, free: 9.262 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.0002088/0.8643, allocations: 114.2 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.8644, allocations: 15.81 kB / 1.031 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.8645, allocations: 19.64 kB / 1.031 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8646, allocations: 4 kB / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8646, allocations: 3.906 kB / 1.031 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.8646, allocations: 4 kB / 1.031 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.8662, allocations: 451.3 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.8663, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.8664, allocations: 7.938 kB / 1.032 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.8664, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.8664, allocations: 7.891 kB / 1.032 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.8665, allocations: 8 kB / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8665, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004941/0.867, allocations: 204.3 kB / 1.032 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.8672, allocations: 104.8 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.8672, allocations: 4 kB / 1.032 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.8677, allocations: 23.92 kB / 1.032 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8678, allocations: 22.78 kB / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.8679, allocations: 8.031 kB / 1.032 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002471/0.8682, allocations: 136.4 kB / 1.032 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008433/0.869, allocations: 40 kB / 1.032 GB, free: 8.125 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.0005906/0.8696, allocations: 163.1 kB / 1.033 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.8702, allocations: 90.11 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8702, allocations: 3.375 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.8704, allocations: 47.5 kB / 1.033 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.8711, allocations: 50.78 kB / 1.033 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.8718, allocations: 191.8 kB / 1.033 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.8723, allocations: 0.7506 MB / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.8723, allocations: 0 / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of Templates: time 0.01131/0.8837, allocations: 3.235 MB / 1.037 GB, free: 3.668 MB / 0.6511 GB