Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 184.3 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008262/0.0008263, allocations: 75.7 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.48e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.563, allocations: 136 MB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.5632, allocations: 82.23 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03161/0.5948, allocations: 12.93 MB / 1.03 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.5949, allocations: 8 kB / 1.03 GB, free: 8.172 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.0006056/0.5955, allocations: 0.5238 MB / 1.031 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5956, allocations: 8.031 kB / 1.031 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.5956, allocations: 31.64 kB / 1.031 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.5961, allocations: 255.8 kB / 1.031 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5961, allocations: 4 kB / 1.031 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.5962, allocations: 11.98 kB / 1.031 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.5963, allocations: 41.81 kB / 1.031 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5964, allocations: 103.4 kB / 1.031 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5964, allocations: 0 / 1.031 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5965, allocations: 7.844 kB / 1.031 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5965, allocations: 4 kB / 1.031 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.5971, allocations: 0.4891 MB / 1.031 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5973, allocations: 101 kB / 1.032 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.5974, allocations: 32.78 kB / 1.032 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.5974, allocations: 8.125 kB / 1.032 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.5975, allocations: 106.3 kB / 1.032 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.5975, allocations: 4 kB / 1.032 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0002358/0.5978, allocations: 113.1 kB / 1.032 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.5978, allocations: 81.11 kB / 1.032 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.598, allocations: 168.9 kB / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.598, allocations: 33.02 kB / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.5981, allocations: 107.9 kB / 1.032 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.5981, allocations: 38.23 kB / 1.032 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5981, allocations: 0 / 1.032 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.5982, allocations: 329.3 kB / 1.033 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.5983, allocations: 26.38 kB / 1.033 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.5984, allocations: 126.6 kB / 1.033 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.5985, allocations: 39.17 kB / 1.033 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5985, allocations: 0 / 1.033 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000198/0.5987, allocations: 141.4 kB / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.5987, allocations: 4 kB / 1.033 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5987, allocations: 160 / 1.033 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5988, allocations: 8 kB / 1.033 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.5988, allocations: 23.83 kB / 1.033 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5989, allocations: 7.938 kB / 1.033 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.5991, allocations: 19.98 kB / 1.033 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.5991, allocations: 7.25 kB / 1.033 GB, free: 5.191 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 8.521e-05/0.5992, allocations: 122.6 kB / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.5992, allocations: 19.19 kB / 1.033 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.5993, allocations: 16.09 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5993, allocations: 7.938 kB / 1.033 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5993, allocations: 96 / 1.033 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5993, allocations: 7.969 kB / 1.033 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.5998, allocations: 421.2 kB / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5998, allocations: 0 / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.5998, allocations: 15.48 kB / 1.034 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5998, allocations: 4 kB / 1.034 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.5998, allocations: 0 / 1.034 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5999, allocations: 4 kB / 1.034 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5999, allocations: 0 / 1.034 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001733/0.6, allocations: 219.1 kB / 1.034 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.6001, allocations: 92.91 kB / 1.034 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.6001, allocations: 8 kB / 1.034 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.6003, allocations: 19.61 kB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.6003, allocations: 23.81 kB / 1.034 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.6004, allocations: 10.67 kB / 1.034 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.711e-05/0.6005, allocations: 133.3 kB / 1.034 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003084/0.6008, allocations: 43.5 kB / 1.034 GB, free: 4.051 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.0003116/0.6011, allocations: 163.5 kB / 1.034 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.6013, allocations: 87.3 kB / 1.034 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6013, allocations: 0 / 1.034 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.6014, allocations: 41.88 kB / 1.034 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.6017, allocations: 46.73 kB / 1.034 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.6021, allocations: 193.4 kB / 1.035 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6024, allocations: 0.747 MB / 1.035 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.6024, allocations: 4 kB / 1.035 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of Templates: time 0.006075/0.6085, allocations: 3.219 MB / 1.038 GB, free: 15.64 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)