Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,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.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001029/0.001028, allocations: 177.2 kB / 316 MB, free: 3.555 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.104/1.104, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008035/0.0008035, allocations: 70.34 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.929e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5449, allocations: 135.9 MB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5452, allocations: 82 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02933/0.5745, allocations: 11.98 MB / 1.029 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.5745, allocations: 4 kB / 1.029 GB, free: 9.219 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.0006046/0.5752, allocations: 0.5296 MB / 1.03 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5752, allocations: 8.031 kB / 1.03 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5753, allocations: 27.72 kB / 1.03 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.5757, allocations: 254.3 kB / 1.03 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5758, allocations: 4 kB / 1.03 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.5758, allocations: 8 kB / 1.03 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.5759, allocations: 47.67 kB / 1.03 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5761, allocations: 99.7 kB / 1.03 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5761, allocations: 0 / 1.03 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5761, allocations: 4 kB / 1.03 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5761, allocations: 3.906 kB / 1.03 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.5767, allocations: 0.4929 MB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.5769, allocations: 92.39 kB / 1.031 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.5769, allocations: 37.22 kB / 1.031 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.577, allocations: 4 kB / 1.031 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.5771, allocations: 109.3 kB / 1.031 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.5771, allocations: 0 / 1.031 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0002153/0.5773, allocations: 110.6 kB / 1.031 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5774, allocations: 85.02 kB / 1.031 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.5775, allocations: 176 kB / 1.031 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.5775, allocations: 29.73 kB / 1.031 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.5776, allocations: 114 kB / 1.031 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.5776, allocations: 34.23 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.5776, allocations: 3.938 kB / 1.031 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.5777, allocations: 325.5 kB / 1.032 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.5778, allocations: 26.69 kB / 1.032 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5779, allocations: 131.7 kB / 1.032 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.578, allocations: 35.61 kB / 1.032 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.578, allocations: 4 kB / 1.032 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001933/0.5782, allocations: 137 kB / 1.032 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5782, allocations: 4 kB / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5782, allocations: 0 / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5783, allocations: 4 kB / 1.032 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.5783, allocations: 23.73 kB / 1.032 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5784, allocations: 7.906 kB / 1.032 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.5786, allocations: 28.08 kB / 1.032 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5786, allocations: 8 kB / 1.032 GB, free: 6.242 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.354e-05/0.5787, allocations: 117.8 kB / 1.032 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5787, allocations: 19.8 kB / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.5788, allocations: 16.03 kB / 1.032 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5788, allocations: 4.094 kB / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5788, allocations: 4 kB / 1.032 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5788, allocations: 7.969 kB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.5793, allocations: 429.9 kB / 1.032 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5793, allocations: 4 kB / 1.032 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.5793, allocations: 4 kB / 1.033 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5793, allocations: 3.984 kB / 1.033 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5794, allocations: 4 kB / 1.033 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5794, allocations: 0 / 1.033 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5794, allocations: 0 / 1.033 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001974/0.5796, allocations: 227.1 kB / 1.033 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.5796, allocations: 92.91 kB / 1.033 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.5797, allocations: 4 kB / 1.033 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.5798, allocations: 23.86 kB / 1.033 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.5799, allocations: 19.88 kB / 1.033 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.5799, allocations: 7.375 kB / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.689e-05/0.58, allocations: 134.8 kB / 1.033 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002715/0.5803, allocations: 36 kB / 1.033 GB, free: 5.109 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.0002715/0.5806, allocations: 170 kB / 1.033 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5808, allocations: 88.17 kB / 1.033 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5808, allocations: 0 / 1.033 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.5808, allocations: 49.5 kB / 1.033 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5812, allocations: 47.78 kB / 1.033 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.5817, allocations: 207.2 kB / 1.034 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.582, allocations: 0.7471 MB / 1.034 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.582, allocations: 0 / 1.034 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of Templates: time 0.005904/0.5879, allocations: 3.208 MB / 1.037 GB, free: 0.6758 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)