Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [: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.212/2.212, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.00165/0.00165, allocations: 181.2 kB / 319.6 MB, free: 3.312 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.871/1.871, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00206/0.00206, allocations: 96.86 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.119e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6493/0.9088, allocations: 135.7 MB / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.9092, allocations: 76.77 kB / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05643/0.9656, allocations: 11.98 MB / 1.032 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.9657, allocations: 12.97 kB / 1.032 GB, free: 8.836 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009997/0.9667, allocations: 0.5276 MB / 1.033 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9668, allocations: 8.031 kB / 1.033 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.9669, allocations: 23.72 kB / 1.033 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.9677, allocations: 256.5 kB / 1.033 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.9677, allocations: 0 / 1.033 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.9678, allocations: 15.98 kB / 1.033 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001992/0.968, allocations: 46.62 kB / 1.033 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.9683, allocations: 103.6 kB / 1.033 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9683, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.9683, allocations: 3.938 kB / 1.033 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.9683, allocations: 7.938 kB / 1.033 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.9695, allocations: 0.4947 MB / 1.034 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.9697, allocations: 86.53 kB / 1.034 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.9698, allocations: 40.28 kB / 1.034 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.9698, allocations: 0 / 1.034 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.9701, allocations: 108.6 kB / 1.034 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.9701, allocations: 4 kB / 1.034 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003688/0.9705, allocations: 112.2 kB / 1.034 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.9705, allocations: 77.11 kB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.9708, allocations: 174 kB / 1.034 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.9709, allocations: 32.45 kB / 1.034 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.971, allocations: 114.5 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.971, allocations: 25.45 kB / 1.034 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.9711, allocations: 0 / 1.034 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9712, allocations: 333.4 kB / 1.035 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.9713, allocations: 31.06 kB / 1.035 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.9716, allocations: 124.2 kB / 1.035 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.9717, allocations: 39.42 kB / 1.035 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9717, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003691/0.9721, allocations: 133.9 kB / 1.035 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9722, allocations: 8 kB / 1.035 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9722, allocations: 0 / 1.035 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.9722, allocations: 8.156 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.9724, allocations: 27.17 kB / 1.035 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.9724, allocations: 4 kB / 1.035 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.9728, allocations: 27.83 kB / 1.035 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.9729, allocations: 4 kB / 1.035 GB, free: 5.863 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001612/0.973, allocations: 126 kB / 1.035 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.9731, allocations: 19.81 kB / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.9732, allocations: 20.14 kB / 1.035 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.9732, allocations: 4 kB / 1.035 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.9732, allocations: 0 / 1.035 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.9732, allocations: 7.922 kB / 1.035 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.9742, allocations: 422.3 kB / 1.036 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.9742, allocations: 4 kB / 1.036 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.9742, allocations: 7.984 kB / 1.036 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.9743, allocations: 4 kB / 1.036 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.9743, allocations: 3.062 kB / 1.036 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9743, allocations: 0 / 1.036 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9743, allocations: 4 kB / 1.036 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003142/0.9746, allocations: 219.2 kB / 1.036 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.9747, allocations: 100.8 kB / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.9748, allocations: 4 kB / 1.036 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.975, allocations: 23.42 kB / 1.036 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.9751, allocations: 11.97 kB / 1.036 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.9752, allocations: 11.5 kB / 1.036 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001653/0.9754, allocations: 144.8 kB / 1.036 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005038/0.9759, allocations: 36 kB / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004459/0.9763, allocations: 161 kB / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.9767, allocations: 98.78 kB / 1.037 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9767, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.9769, allocations: 41.38 kB / 1.037 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.9775, allocations: 56.14 kB / 1.037 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.9783, allocations: 204.6 kB / 1.037 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.9788, allocations: 0.747 MB / 1.038 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.9788, allocations: 4 kB / 1.038 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of Templates: time 0.0114/0.9902, allocations: 3.195 MB / 1.041 GB, free: 276 kB / 0.6511 GB